Home
last modified time | relevance | path

Searched refs:aad (Results 1 – 5 of 5) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Dchachapoly_alt.c71 const unsigned char *aad, in mbedtls_chachapoly_update_aad() argument
75 CC_UNUSED_PARAM(aad); in mbedtls_chachapoly_update_aad()
106 const unsigned char *aad, in chachapoly_crypt_and_tag() argument
149 rc = PolyMacCalc(polyKey, aad, aad_len, pCipherData, length, polyMac, true); in chachapoly_crypt_and_tag()
176 const unsigned char *aad, in mbedtls_chachapoly_encrypt_and_tag() argument
187 if ( aad_len != 0 && aad == NULL ) { in mbedtls_chachapoly_encrypt_and_tag()
198 length, nonce, ctx->key, aad, aad_len, in mbedtls_chachapoly_encrypt_and_tag()
205 const unsigned char *aad, in mbedtls_chachapoly_auth_decrypt() argument
220 if ( aad_len != 0 && aad == NULL ) { in mbedtls_chachapoly_auth_decrypt()
231 length, nonce, ctx->key, aad, aad_len, in mbedtls_chachapoly_auth_decrypt()
Dgcm_alt.c466 const unsigned char *aad, in gcm_crypt_and_tag() argument
484 aad, aad_len, in gcm_crypt_and_tag()
499 rc = gcm_process_aad(ctx, aad); in gcm_crypt_and_tag()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/
Dcc3xx_internal_gcm.h89 const uint8_t *aad,
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_internal_chacha20_poly1305.c30 size_t nonce_size, const uint8_t *aad, size_t aad_len, const uint8_t *input, in chacha20_poly1305_crypt_and_tag() argument
93 rc = PolyMacCalc(polyKey, aad, aad_len, in chacha20_poly1305_crypt_and_tag()
Dcc3xx_internal_gcm.c707 const uint8_t *aad, in cc3xx_gcm_update_ad() argument
712 if (NULL == ctx || NULL == aad) { in cc3xx_gcm_update_ad()
717 ret = gcm_process_aad(ctx, aad, aad_size); in cc3xx_gcm_update_ad()