Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/library/
Dmd.c333 unsigned char *ipad, *opad; in mbedtls_md_hmac_starts() local
350 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() local
387 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()
/net-tools-latest/mbedtls-2.4.0/
DChangeLog1860 required HMAC ipad and opad variables are not cleared.