Home
last modified time | relevance | path

Searched refs:adatalen (Results 1 – 7 of 7) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ccm/
A Dccm_add_aad.c15 const unsigned char *adata, unsigned long adatalen) in ccm_add_aad() argument
23 if (ccm->aadlen < ccm->current_aadlen + adatalen) { in ccm_add_aad()
26 ccm->current_aadlen += adatalen; in ccm_add_aad()
29 for (y = 0; y < adatalen; y++) { in ccm_add_aad()
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/gcm/
A Dgcm_add_aad.c20 const unsigned char *adata, unsigned long adatalen) in gcm_add_aad() argument
29 if (adatalen > 0) { in gcm_add_aad()
86 if (gcm->buflen == 0 && adatalen > 15) { in gcm_add_aad()
87 for (x = 0; x < (adatalen & ~15); x += 16) { in gcm_add_aad()
100 for (; x < adatalen; x++) { in gcm_add_aad()
A Dgcm_memory.c32 const unsigned char *adata, unsigned long adatalen, in gcm_memory() argument
50 adata, adatalen, in gcm_memory()
84 if ((err = gcm_add_aad(gcm, adata, adatalen)) != CRYPT_OK) { in gcm_memory()
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb3/
A Docb3_encrypt_authenticate_memory.c31 const unsigned char *adata, unsigned long adatalen, in ocb3_encrypt_authenticate_memory() argument
51 if (adata != NULL || adatalen != 0) { in ocb3_encrypt_authenticate_memory()
52 if ((err = ocb3_add_aad(ocb, adata, adatalen)) != CRYPT_OK) { in ocb3_encrypt_authenticate_memory()
A Docb3_decrypt_verify_memory.c32 const unsigned char *adata, unsigned long adatalen, in ocb3_decrypt_verify_memory() argument
68 if (adata != NULL || adatalen != 0) { in ocb3_decrypt_verify_memory()
69 if ((err = ocb3_add_aad(ocb, adata, adatalen)) != CRYPT_OK) { in ocb3_decrypt_verify_memory()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_mac.h386 const unsigned char *adata, unsigned long adatalen,
394 const unsigned char *adata, unsigned long adatalen,
437 const unsigned char *adata, unsigned long adatalen);
516 const unsigned char *adata, unsigned long adatalen);
529 const unsigned char *adata, unsigned long adatalen,
A Dtomcrypt_cipher.h543 const unsigned char *adata, unsigned long adatalen,

Completed in 9 milliseconds