Home
last modified time | relevance | path

Searched refs:adata_buffer_bytes (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb3/
A Docb3_add_aad.c55 if (ocb->adata_buffer_bytes > 0) { in ocb3_add_aad()
56 l = ocb->block_len - ocb->adata_buffer_bytes; in ocb3_add_aad()
58 XMEMCPY(ocb->adata_buffer+ocb->adata_buffer_bytes, aad, l); in ocb3_add_aad()
59 ocb->adata_buffer_bytes += l; in ocb3_add_aad()
61 if (ocb->adata_buffer_bytes == ocb->block_len) { in ocb3_add_aad()
65 ocb->adata_buffer_bytes = 0; in ocb3_add_aad()
90 ocb->adata_buffer_bytes = last_block_len; in ocb3_add_aad()
A Docb3_done.c39 if (ocb->adata_buffer_bytes>0) { in ocb3_done()
44 ocb3_int_xor_blocks(tmp, ocb->adata_buffer, ocb->aOffset_current, ocb->adata_buffer_bytes); in ocb3_done()
45 for(x=ocb->adata_buffer_bytes; x<ocb->block_len; x++) { in ocb3_done()
46 if (x == ocb->adata_buffer_bytes) { in ocb3_done()
A Docb3_init.c179 ocb->adata_buffer_bytes = 0; in ocb3_init()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_mac.h361 int adata_buffer_bytes; /* bytes in AAD buffer */ member

Completed in 5 milliseconds