Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/encauth/ocb3/
A Docb3_add_aad.c62 if (ocb->adata_buffer_bytes > 0) { in ocb3_add_aad()
63 l = ocb->block_len - ocb->adata_buffer_bytes; in ocb3_add_aad()
65 XMEMCPY(ocb->adata_buffer+ocb->adata_buffer_bytes, aad, l); in ocb3_add_aad()
66 ocb->adata_buffer_bytes += l; in ocb3_add_aad()
68 if (ocb->adata_buffer_bytes == ocb->block_len) { in ocb3_add_aad()
72 ocb->adata_buffer_bytes = 0; in ocb3_add_aad()
97 ocb->adata_buffer_bytes = last_block_len; in ocb3_add_aad()
A Docb3_done.c46 if (ocb->adata_buffer_bytes>0) { in ocb3_done()
51 ocb3_int_xor_blocks(tmp, ocb->adata_buffer, ocb->aOffset_current, ocb->adata_buffer_bytes); in ocb3_done()
52 for(x=ocb->adata_buffer_bytes; x<ocb->block_len; x++) { in ocb3_done()
53 if (x == ocb->adata_buffer_bytes) { in ocb3_done()
A Docb3_init.c186 ocb->adata_buffer_bytes = 0; in ocb3_init()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_mac.h355 int adata_buffer_bytes; /* bytes in AAD buffer */ member

Completed in 5 milliseconds