Searched refs:pt_len (Results 1 – 2 of 2) sorted by relevance
/system/keymaster/include/keymaster/key_blob_utils/ |
D | ae.h | 94 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad,
|
/system/keymaster/key_blob_utils/ |
D | ocb.c | 934 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad, in ae_encrypt() argument 962 i = pt_len / (BPI * 16); in ae_encrypt() 1023 unsigned remaining = ((unsigned)pt_len) % (BPI * 16); in ae_encrypt() 1116 memcpy((char*)ct + pt_len, &offset, OCB_TAG_LEN); in ae_encrypt() 1117 pt_len += OCB_TAG_LEN; in ae_encrypt() 1119 memcpy((char*)ct + pt_len, &offset, ctx->tag_len); in ae_encrypt() 1120 pt_len += ctx->tag_len; in ae_encrypt() 1124 return (int)pt_len; in ae_encrypt()
|