Searched refs:ct_len (Results 1 – 2 of 2) sorted by relevance
/system/keymaster/ |
D | ae.h | 124 int ae_decrypt(ae_ctx* ctx, const void* nonce, const void* ct, int ct_len, const void* ad,
|
D | ocb.c | 1129 int ae_decrypt(ae_ctx* ctx, const void* nonce, const void* ct, int ct_len, const void* ad, in ae_decrypt() argument 1144 ct_len -= OCB_TAG_LEN; in ae_decrypt() 1146 ct_len -= ctx->tag_len; in ae_decrypt() 1165 i = ct_len / (BPI * 16); in ae_decrypt() 1225 unsigned remaining = ((unsigned)ct_len) % (BPI * 16); in ae_decrypt() 1304 ct_len = AE_INVALID; in ae_decrypt() 1313 ct_len = AE_INVALID; in ae_decrypt() 1315 if (constant_time_memcmp((char*)ct + ct_len, tmp.u8, len) != 0) in ae_decrypt() 1316 ct_len = AE_INVALID; in ae_decrypt() 1320 return ct_len; in ae_decrypt()
|