Home
last modified time | relevance | path

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

/mbedtls-development/library/
A Dmd.c629 unsigned char *ipad, *opad; in mbedtls_md_hmac_starts() local
649 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size; in mbedtls_md_hmac_starts()
652 memset( opad, 0x5C, ctx->md_info->block_size ); in mbedtls_md_hmac_starts()
657 opad[i] = (unsigned char)( opad[i] ^ key[i] ); in mbedtls_md_hmac_starts()
684 unsigned char *opad; in mbedtls_md_hmac_finish() local
689 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size; in mbedtls_md_hmac_finish()
695 if( ( ret = mbedtls_md_update( ctx, opad, in mbedtls_md_hmac_finish()
A Dpsa_crypto_mac.c48 mbedtls_platform_zeroize( hmac->opad, sizeof( hmac->opad ) ); in psa_hmac_abort_internal()
74 if( block_size > sizeof( hmac->opad ) ) in psa_hmac_setup_internal()
102 hmac->opad[i] = ipad[i] ^ 0x36 ^ 0x5C; in psa_hmac_setup_internal()
103 memset( hmac->opad + key_length, 0x5C, block_size - key_length ); in psa_hmac_setup_internal()
145 status = psa_hash_update( &hmac->hash_ctx, hmac->opad, block_size ); in psa_hmac_finish_internal()
/mbedtls-development/include/psa/
A Dcrypto_builtin_composites.h55 uint8_t MBEDTLS_PRIVATE(opad)[PSA_HMAC_MAX_HASH_BLOCK_SIZE];
/mbedtls-development/
A DChangeLog4441 required HMAC ipad and opad variables are not cleared.

Completed in 11 milliseconds