Home
last modified time | relevance | path

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

/aosp12/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c192 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockFile_DeriveKeys()
199 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockFile_DeriveKeys()
252 AES_encrypt(counter, pSession->keyStream, &pSession->encryptionRoundKeys); in FwdLockFile_DecryptByte()
/aosp12/system/keymaster/key_blob_utils/
H A 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()
H A Docb_utils.cpp100 AES_encrypt(hash_buf.get(), derived_key.get(), &aes_key); in InitializeKeyWrappingContext()
/aosp12/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c261 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockConv_DeriveKeys()
268 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockConv_DeriveKeys()
850 AES_encrypt(pSession->counter, pSession->keyStream, &pSession->encryptionRoundKeys); in FwdLockConv_WriteEncryptedChar()