Home
last modified time | relevance | path

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

/system/keymaster/
Docb.c631 AES_KEY encrypt_key; member
713 AES_set_encrypt_key((unsigned char*)key, key_len * 8, &ctx->encrypt_key); in ae_init()
715 AES_set_decrypt_key_fast(&ctx->decrypt_key, &ctx->encrypt_key); in ae_init()
725 AES_encrypt((unsigned char*)&ctx->cached_Top, (unsigned char*)&ctx->Lstar, &ctx->encrypt_key); in ae_init()
778 AES_encrypt(tmp.u8, (unsigned char*)&ctx->KtopStr, &ctx->encrypt_key); in gen_offset_from_nonce()
828 AES_ecb_encrypt_blks(ta, BPI, &ctx->encrypt_key); in process_ad()
889 AES_ecb_encrypt_blks(ta, k, &ctx->encrypt_key); in process_ad()
983 AES_ecb_encrypt_blks(ta, BPI, &ctx->encrypt_key); in ae_encrypt()
1055 AES_ecb_encrypt_blks(ta, k + 1, &ctx->encrypt_key); in ae_encrypt()
1258 AES_encrypt((unsigned char*)&offset, tmp.u8, &ctx->encrypt_key); in ae_decrypt()
[all …]