Home
last modified time | relevance | path

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

/system/keymaster/key_blob_utils/
Docb.c632 AES_KEY encrypt_key; member
716 AES_set_encrypt_key((unsigned char*)key, key_len * 8, &ctx->encrypt_key); in ae_init()
718 AES_set_decrypt_key_fast(&ctx->decrypt_key, &ctx->encrypt_key); in ae_init()
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()
831 AES_ecb_encrypt_blks(ta, BPI, &ctx->encrypt_key); in process_ad()
892 AES_ecb_encrypt_blks(ta, k, &ctx->encrypt_key); in process_ad()
986 AES_ecb_encrypt_blks(ta, BPI, &ctx->encrypt_key); in ae_encrypt()
1058 AES_ecb_encrypt_blks(ta, k + 1, &ctx->encrypt_key); in ae_encrypt()
1261 AES_encrypt((unsigned char*)&offset, tmp.u8, &ctx->encrypt_key); in ae_decrypt()
[all …]