Home
last modified time | relevance | path

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

/AliOS-Things-master/components/mbedtls/library/
A Dmd.c323 unsigned char *ipad, *opad; in mbedtls_md_hmac_starts() local
343 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size; in mbedtls_md_hmac_starts()
346 memset( opad, 0x5C, ctx->md_info->block_size ); in mbedtls_md_hmac_starts()
351 opad[i] = (unsigned char)( opad[i] ^ key[i] ); in mbedtls_md_hmac_starts()
378 unsigned char *opad; in mbedtls_md_hmac_finish() local
383 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size; in mbedtls_md_hmac_finish()
389 if( ( ret = ctx->md_info->update_func( ctx->md_ctx, opad, in mbedtls_md_hmac_finish()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/crypto/
A Drtl8721dhp_crypto_ram.c656 pIE->opad = (u8 *)(&(pIE->g_IOPAD[CRYPTO_PADSIZE])); in CRYPTO_SetSecurityModeAD()
659 _memset(pIE->opad, 0x5c, CRYPTO_PADSIZE); in CRYPTO_SetSecurityModeAD()
663 pIE->opad[i] ^= ((u8*) pIE->pAuthKey)[i]; in CRYPTO_SetSecurityModeAD()
667 pIE->opad = 0; in CRYPTO_SetSecurityModeAD()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/
A Drtl8721d_crypto.h257 u8 *opad; /*HMAC opad */ member
/AliOS-Things-master/components/mbedtls/
A DChangeLog2951 required HMAC ipad and opad variables are not cleared.

Completed in 15 milliseconds