Home
last modified time | relevance | path

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

/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
30 LTC_ARGCHK(adata != NULL); in gcm_add_aad()
89 *(LTC_FAST_TYPE_PTR_CAST(&gcm->X[y])) ^= *(LTC_FAST_TYPE_PTR_CAST(&adata[x + y])); in gcm_add_aad()
94 adata += x; in gcm_add_aad()
101 gcm->X[gcm->buflen++] ^= *adata++; 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/encauth/ccm/
A Dccm_add_aad.c15 const unsigned char *adata, unsigned long adatalen) in ccm_add_aad() argument
21 LTC_ARGCHK(adata != NULL); in ccm_add_aad()
37 ccm->PAD[ccm->x++] ^= adata[y]; in ccm_add_aad()
/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 10 milliseconds