Home
last modified time | relevance | path

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

/system/keymaster/key_blob_utils/
Docb.c360 static inline void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_encrypt_blks()
367 static inline void AES_ecb_decrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_decrypt_blks()
385 } AES_KEY; typedef
398 typedef struct { uint32_t rd_key[OCB_KEY_LEN + 28]; } AES_KEY; typedef
406 static void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_encrypt_blks()
413 void AES_ecb_decrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_decrypt_blks()
432 } AES_KEY; typedef
435 typedef struct { __m128i rd_key[7 + OCB_KEY_LEN / 4]; } AES_KEY; typedef
532 static int AES_set_encrypt_key(const unsigned char* userKey, const int bits, AES_KEY* key) { in AES_set_encrypt_key()
546 static void AES_set_decrypt_key_fast(AES_KEY* dkey, const AES_KEY* ekey) { in AES_set_decrypt_key_fast()
[all …]
Docb_utils.cpp94 AES_KEY aes_key; in InitializeKeyWrappingContext()
95 Eraser aes_key_eraser(AES_KEY); in InitializeKeyWrappingContext()
/system/security/keystore2/src/legacy_blob/test_utils/
Dlegacy_blob_test_vectors.rs199 pub static AES_KEY: &[u8] = &[ variable
/system/security/keystore2/test_utils/
Dkey_generations.rs798 static AES_KEY: &[u8] = &[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; in import_aes_key() variable
799 let key_size = AES_KEY.len() * 8; in import_aes_key()
815 AES_KEY, in import_aes_key()
/system/security/keystore2/src/
Dlegacy_blob.rs1762 aes_gcm_decrypt(d, iv, tag, AES_KEY).context("Trying to decrypt blob.") in read_aes_gcm_encrypted_key_blob_test()