Searched refs:encrypt_key (Results 1 – 1 of 1) sorted by relevance
/system/keymaster/ |
D | ocb.c | 632 AES_KEY encrypt_key; member 714 AES_set_encrypt_key((unsigned char*)key, key_len * 8, &ctx->encrypt_key); in ae_init() 716 AES_set_decrypt_key_fast(&ctx->decrypt_key, &ctx->encrypt_key); in ae_init() 726 AES_encrypt((unsigned char*)&ctx->cached_Top, (unsigned char*)&ctx->Lstar, &ctx->encrypt_key); in ae_init() 779 AES_encrypt(tmp.u8, (unsigned char*)&ctx->KtopStr, &ctx->encrypt_key); in gen_offset_from_nonce() 829 AES_ecb_encrypt_blks(ta, BPI, &ctx->encrypt_key); in process_ad() 890 AES_ecb_encrypt_blks(ta, k, &ctx->encrypt_key); in process_ad() 984 AES_ecb_encrypt_blks(ta, BPI, &ctx->encrypt_key); in ae_encrypt() 1056 AES_ecb_encrypt_blks(ta, k + 1, &ctx->encrypt_key); in ae_encrypt() 1259 AES_encrypt((unsigned char*)&offset, tmp.u8, &ctx->encrypt_key); in ae_decrypt() [all …]
|