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.c1131 int ae_decrypt(ae_ctx* ctx, const void* nonce, const void* ct, int ct_len, const void* ad, in ae_decrypt() argument
1146 ct_len -= OCB_TAG_LEN; in ae_decrypt()
1148 ct_len -= ctx->tag_len; in ae_decrypt()
1167 i = ct_len / (BPI * 16); in ae_decrypt()
1227 unsigned remaining = ((unsigned)ct_len) % (BPI * 16); in ae_decrypt()
1306 ct_len = AE_INVALID; in ae_decrypt()
1315 ct_len = AE_INVALID; in ae_decrypt()
1317 if (constant_time_memcmp((char*)ct + ct_len, tmp.u8, len) != 0) in ae_decrypt()
1318 ct_len = AE_INVALID; in ae_decrypt()
1322 return ct_len; in ae_decrypt()