Home
last modified time | relevance | path

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

/mbedtls-latest/library/
Dpsa_crypto_mac.c27 mbedtls_platform_zeroize(hmac->opad, sizeof(hmac->opad)); in psa_hmac_abort_internal()
54 if (block_size > sizeof(hmac->opad)) { in psa_hmac_setup_internal()
86 hmac->opad[i] = ipad[i] ^ 0x36 ^ 0x5C; in psa_hmac_setup_internal()
88 memset(hmac->opad + key_length, 0x5C, block_size - key_length); in psa_hmac_setup_internal()
133 status = psa_hash_update(&hmac->hash_ctx, hmac->opad, block_size); in psa_hmac_finish_internal()
Dmd.c973 unsigned char *ipad, *opad; in mbedtls_md_hmac_starts() local
995 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size; in mbedtls_md_hmac_starts()
998 memset(opad, 0x5C, ctx->md_info->block_size); in mbedtls_md_hmac_starts()
1001 mbedtls_xor(opad, opad, key, keylen); in mbedtls_md_hmac_starts()
1030 unsigned char *opad; in mbedtls_md_hmac_finish() local
1036 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size; in mbedtls_md_hmac_finish()
1044 if ((ret = mbedtls_md_update(ctx, opad, in mbedtls_md_hmac_finish()
/mbedtls-latest/include/psa/
Dcrypto_builtin_composites.h51 uint8_t MBEDTLS_PRIVATE(opad)[PSA_HMAC_MAX_HASH_BLOCK_SIZE];
/mbedtls-latest/
DChangeLog6087 required HMAC ipad and opad variables are not cleared.