Home
last modified time | relevance | path

Searched refs:opad (Results 1 – 4 of 4) sorted by relevance

/openthread-3.4.0/third_party/mbedtls/repo/library/
Dpsa_crypto_mac.c37 mbedtls_platform_zeroize( hmac->opad, sizeof( hmac->opad ) ); in psa_hmac_abort_internal()
63 if( block_size > sizeof( hmac->opad ) ) in psa_hmac_setup_internal()
91 hmac->opad[i] = ipad[i] ^ 0x36 ^ 0x5C; in psa_hmac_setup_internal()
92 memset( hmac->opad + key_length, 0x5C, block_size - key_length ); in psa_hmac_setup_internal()
134 status = psa_hash_update( &hmac->hash_ctx, hmac->opad, block_size ); in psa_hmac_finish_internal()
Dmd.c703 unsigned char *ipad, *opad; in mbedtls_md_hmac_starts() local
723 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size; in mbedtls_md_hmac_starts()
726 memset( opad, 0x5C, ctx->md_info->block_size ); in mbedtls_md_hmac_starts()
731 opad[i] = (unsigned char)( opad[i] ^ key[i] ); in mbedtls_md_hmac_starts()
758 unsigned char *opad; in mbedtls_md_hmac_finish() local
763 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size; in mbedtls_md_hmac_finish()
769 if( ( ret = mbedtls_md_update( ctx, opad, in mbedtls_md_hmac_finish()
/openthread-3.4.0/third_party/mbedtls/repo/include/psa/
Dcrypto_builtin_composites.h54 uint8_t opad[PSA_HMAC_MAX_HASH_BLOCK_SIZE]; member
/openthread-3.4.0/third_party/mbedtls/repo/
DChangeLog4297 required HMAC ipad and opad variables are not cleared.