Home
last modified time | relevance | path

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

/system/keymaster/
Dae.h94 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad,
Docb.c918 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad, in ae_encrypt() argument
946 i = pt_len / (BPI * 16); in ae_encrypt()
1007 unsigned remaining = ((unsigned)pt_len) % (BPI * 16); in ae_encrypt()
1094 memcpy((char*)ct + pt_len, &offset, OCB_TAG_LEN); in ae_encrypt()
1095 pt_len += OCB_TAG_LEN; in ae_encrypt()
1097 memcpy((char*)ct + pt_len, &offset, ctx->tag_len); in ae_encrypt()
1098 pt_len += ctx->tag_len; in ae_encrypt()
1102 return (int)pt_len; in ae_encrypt()