Home
last modified time | relevance | path

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

/system/keymaster/include/keymaster/key_blob_utils/
Dae.h124 int ae_decrypt(ae_ctx* ctx, const void* nonce, const void* ct, int ct_len, const void* ad,
/system/keymaster/key_blob_utils/
Docb.c1155 int ae_decrypt(ae_ctx* ctx, const void* nonce, const void* ct, int ct_len, const void* ad, in ae_decrypt() argument
1170 ct_len -= OCB_TAG_LEN; in ae_decrypt()
1172 ct_len -= ctx->tag_len; in ae_decrypt()
1191 i = ct_len / (BPI * 16); in ae_decrypt()
1251 unsigned remaining = ((unsigned)ct_len) % (BPI * 16); in ae_decrypt()
1336 ct_len = AE_INVALID; in ae_decrypt()
1345 ct_len = AE_INVALID; in ae_decrypt()
1347 if (constant_time_memcmp((char*)ct + ct_len, tmp.u8, len) != 0) in ae_decrypt()
1348 ct_len = AE_INVALID; in ae_decrypt()
1352 return ct_len; in ae_decrypt()