Searched refs:ipad (Results 1 – 2 of 2) sorted by relevance
333 unsigned char *ipad, *opad; in mbedtls_md_hmac_starts() local349 ipad = (unsigned char *) ctx->hmac_ctx; in mbedtls_md_hmac_starts()352 memset( ipad, 0x36, ctx->md_info->block_size ); in mbedtls_md_hmac_starts()357 ipad[i] = (unsigned char)( ipad[i] ^ key[i] ); in mbedtls_md_hmac_starts()364 ctx->md_info->update_func( ctx->md_ctx, ipad, ctx->md_info->block_size ); in mbedtls_md_hmac_starts()400 unsigned char *ipad; in mbedtls_md_hmac_reset() local405 ipad = (unsigned char *) ctx->hmac_ctx; in mbedtls_md_hmac_reset()408 ctx->md_info->update_func( ctx->md_ctx, ipad, ctx->md_info->block_size ); in mbedtls_md_hmac_reset()
1860 required HMAC ipad and opad variables are not cleared.