Searched refs:opad (Results 1 – 2 of 2) sorted by relevance
333 unsigned char *ipad, *opad; in mbedtls_md_hmac_starts() local350 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size; in mbedtls_md_hmac_starts()353 memset( opad, 0x5C, ctx->md_info->block_size ); in mbedtls_md_hmac_starts()358 opad[i] = (unsigned char)( opad[i] ^ key[i] ); in mbedtls_md_hmac_starts()382 unsigned char *opad; in mbedtls_md_hmac_finish() local387 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size; in mbedtls_md_hmac_finish()391 ctx->md_info->update_func( ctx->md_ctx, opad, ctx->md_info->block_size ); in mbedtls_md_hmac_finish()
1860 required HMAC ipad and opad variables are not cleared.