Searched refs:hmac (Results 1 – 6 of 6) sorted by relevance
/mbedtls-development/library/ |
A D | psa_crypto_mac.c | 46 mbedtls_psa_hmac_operation_t *hmac ) in psa_hmac_abort_internal() argument 48 mbedtls_platform_zeroize( hmac->opad, sizeof( hmac->opad ) ); in psa_hmac_abort_internal() 49 return( psa_hash_abort( &hmac->hash_ctx ) ); in psa_hmac_abort_internal() 53 mbedtls_psa_hmac_operation_t *hmac, in psa_hmac_setup_internal() argument 64 hmac->alg = hash_alg; in psa_hmac_setup_internal() 74 if( block_size > sizeof( hmac->opad ) ) in psa_hmac_setup_internal() 118 mbedtls_psa_hmac_operation_t *hmac, in psa_hmac_update_internal() argument 126 mbedtls_psa_hmac_operation_t *hmac, in psa_hmac_finish_internal() argument 131 psa_algorithm_t hash_alg = hmac->alg; in psa_hmac_finish_internal() 145 status = psa_hash_update( &hmac->hash_ctx, hmac->opad, block_size ); in psa_hmac_finish_internal() [all …]
|
A D | psa_crypto.c | 4418 status = psa_mac_update( &hkdf->hmac, in psa_key_derivation_hkdf_read() 4424 status = psa_mac_update( &hkdf->hmac, in psa_key_derivation_hkdf_read() 4429 status = psa_mac_update( &hkdf->hmac, in psa_key_derivation_hkdf_read() 4433 status = psa_mac_sign_finish( &hkdf->hmac, in psa_key_derivation_hkdf_read() 4486 status = psa_key_derivation_start_hmac( &hmac, in psa_key_derivation_tls12_prf_generate_next_block() 4499 status = psa_mac_update( &hmac, in psa_key_derivation_tls12_prf_generate_next_block() 4504 status = psa_mac_update( &hmac, in psa_key_derivation_tls12_prf_generate_next_block() 4518 status = psa_mac_sign_finish( &hmac, in psa_key_derivation_tls12_prf_generate_next_block() 4542 status = psa_mac_sign_finish( &hmac, in psa_key_derivation_tls12_prf_generate_next_block() 4550 cleanup_status = psa_mac_abort( &hmac ); in psa_key_derivation_tls12_prf_generate_next_block() [all …]
|
A D | md.c | 359 int mbedtls_md_setup( mbedtls_md_context_t *ctx, const mbedtls_md_info_t *md_info, int hmac ) in mbedtls_md_setup() argument 409 if( hmac != 0 ) in mbedtls_md_setup()
|
/mbedtls-development/include/psa/ |
A D | crypto_builtin_composites.h | 70 mbedtls_psa_hmac_operation_t MBEDTLS_PRIVATE(hmac);
|
A D | crypto_struct.h | 189 psa_mac_operation_t MBEDTLS_PRIVATE(hmac);
|
/mbedtls-development/include/mbedtls/ |
A D | md.h | 184 int mbedtls_md_setup( mbedtls_md_context_t *ctx, const mbedtls_md_info_t *md_info, int hmac );
|
Completed in 16 milliseconds