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.cpp105 AES_encrypt(hash_buf.get(), derived_key.get(), &aes_key); in InitializeKeyWrappingContext()
Docb.c363 AES_encrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_encrypt_blks()
403 #define AES_encrypt(x, y, z) rijndaelEncrypt((z)->rd_key, ROUNDS(z), x, y) macro
409 AES_encrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_encrypt_blks()
565 static inline void AES_encrypt(const unsigned char* in, unsigned char* out, const AES_KEY* key) { in AES_encrypt() function
739 AES_encrypt((unsigned char*)&ctx->cached_Top, (unsigned char*)&ctx->Lstar, &ctx->encrypt_key); in ae_init()
792 AES_encrypt(tmp.u8, (unsigned char*)&ctx->KtopStr, &ctx->encrypt_key); in gen_offset_from_nonce()
1285 AES_encrypt((unsigned char*)&offset, tmp.u8, &ctx->encrypt_key); in ae_decrypt()
1330 AES_encrypt(tmp.u8, tmp.u8, &ctx->encrypt_key); in ae_decrypt()