Home
last modified time | relevance | path

Searched refs:AES_encrypt (Results 1 – 2 of 2) sorted by relevance

/system/keymaster/key_blob_utils/
Docb_utils.cpp106 AES_encrypt(hash_buf.get(), derived_key.get(), &aes_key); in InitializeKeyWrappingContext()
Docb.c352 AES_encrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_encrypt_blks()
392 #define AES_encrypt(x, y, z) rijndaelEncrypt((z)->rd_key, ROUNDS(z), x, y) macro
398 AES_encrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_encrypt_blks()
554 static inline void AES_encrypt(const unsigned char* in, unsigned char* out, const AES_KEY* key) { in AES_encrypt() function
728 AES_encrypt((unsigned char*)&ctx->cached_Top, (unsigned char*)&ctx->Lstar, &ctx->encrypt_key); in ae_init()
781 AES_encrypt(tmp.u8, (unsigned char*)&ctx->KtopStr, &ctx->encrypt_key); in gen_offset_from_nonce()
1261 AES_encrypt((unsigned char*)&offset, tmp.u8, &ctx->encrypt_key); in ae_decrypt()
1300 AES_encrypt(tmp.u8, tmp.u8, &ctx->encrypt_key); in ae_decrypt()