Searched refs:adatalen (Results 1 – 7 of 7) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ccm/ |
A D | ccm_add_aad.c | 15 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 D | gcm_add_aad.c | 20 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 D | gcm_memory.c | 32 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 D | ocb3_encrypt_authenticate_memory.c | 31 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 D | ocb3_decrypt_verify_memory.c | 32 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 D | tomcrypt_mac.h | 386 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 D | tomcrypt_cipher.h | 543 const unsigned char *adata, unsigned long adatalen,
|
Completed in 9 milliseconds