Searched refs:encrypt_key (Results 1 – 1 of 1) sorted by relevance
/system/keymaster/key_blob_utils/ |
D | ocb.c | 643 AES_KEY encrypt_key; member 727 AES_set_encrypt_key((unsigned char*)key, key_len * 8, &ctx->encrypt_key); in ae_init() 729 AES_set_decrypt_key_fast(&ctx->decrypt_key, &ctx->encrypt_key); in ae_init() 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() 842 AES_ecb_encrypt_blks(ta, BPI, &ctx->encrypt_key); in process_ad() 903 AES_ecb_encrypt_blks(ta, k, &ctx->encrypt_key); in process_ad() 1004 AES_ecb_encrypt_blks(ta, BPI, &ctx->encrypt_key); in ae_encrypt() 1076 AES_ecb_encrypt_blks(ta, k + 1, &ctx->encrypt_key); in ae_encrypt() 1285 AES_encrypt((unsigned char*)&offset, tmp.u8, &ctx->encrypt_key); in ae_decrypt() [all …]
|