Searched refs:opad (Results 1 – 4 of 4) sorted by relevance
706 unsigned char *ipad, *opad; in mbedtls_md_hmac_starts() local726 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size; in mbedtls_md_hmac_starts()729 memset( opad, 0x5C, ctx->md_info->block_size ); in mbedtls_md_hmac_starts()734 opad[i] = (unsigned char)( opad[i] ^ key[i] ); in mbedtls_md_hmac_starts()761 unsigned char *opad; in mbedtls_md_hmac_finish() local766 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size; in mbedtls_md_hmac_finish()772 if( ( ret = mbedtls_md_update( ctx, opad, in mbedtls_md_hmac_finish()
23 uint8_t opad[64]; /* HMAC: outer padding */ member
249 memset(ctx->opad, 0x5C, 64); in sm3_hmac_init()253 ctx->opad[i] ^= key[i]; in sm3_hmac_init()273 sm3_update(ctx, ctx->opad, 64); in sm3_hmac_final()
4176 required HMAC ipad and opad variables are not cleared.
Completed in 10 milliseconds