Home
last modified time | relevance | path

Searched refs:aes_gcm_decrypt (Results 1 – 5 of 5) sorted by relevance

/system/security/keystore2/src/
Dec_crypto.rs19 aes_gcm_decrypt, aes_gcm_encrypt, ec_key_generate_key, ec_key_get0_public_key,
115 aes_gcm_decrypt(ciphertext, iv, tag, &aes_key) in decrypt_message()
Dsuper_key.rs46 aes_gcm_decrypt, aes_gcm_encrypt, generate_aes256_key, generate_salt, Password, ZVec,
163 pub fn aes_gcm_decrypt(&self, data: &[u8], iv: &[u8], tag: &[u8]) -> Result<ZVec> { in aes_gcm_decrypt() method
165 aes_gcm_decrypt(data, iv, tag, &self.key) in aes_gcm_decrypt()
460 .aes_gcm_decrypt(blob, iv, tag) in unwrap_key_with_key()
630 aes_gcm_decrypt(blob, iv, tag, &key).context( in extract_super_key_from_key_entry()
Dlegacy_blob.rs27 use keystore2_crypto::{aes_gcm_decrypt, Password, ZVec};
1021 Some(key) => key.aes_gcm_decrypt(data, iv, tag).context( in load_by_uid_alias()
1103 let blob = aes_gcm_decrypt(&data, &iv, &tag, &key).context( in load_super_key()
1144 use keystore2_crypto::aes_gcm_decrypt;
1249 aes_gcm_decrypt(d, iv, tag, AES_KEY).context("Trying to decrypt blob.") in read_aes_gcm_encrypted_key_blob_test()
Ddatabase.rs5493 loaded_super_key.aes_gcm_decrypt(&encrypted_secret, &iv, &tag)?; in test_store_super_key()
/system/security/keystore2/src/crypto/
Dlib.rs82 pub fn aes_gcm_decrypt(data: &[u8], iv: &[u8], tag: &[u8], key: &[u8]) -> Result<ZVec, Error> { in aes_gcm_decrypt() function
473 let message2 = aes_gcm_decrypt(&cipher_text, &iv, &tag, &key).unwrap(); in test_wrapper_roundtrip()