Lines Matching refs:hmac_ctx
325 if (ctx->hmac_ctx != NULL) {
326 mbedtls_zeroize_and_free(ctx->hmac_ctx,
432 ctx->hmac_ctx = NULL;
498 ctx->hmac_ctx = mbedtls_calloc(2, md_info->block_size);
499 if (ctx->hmac_ctx == NULL) {
975 if (ctx == NULL || ctx->md_info == NULL || ctx->hmac_ctx == NULL) {
994 ipad = (unsigned char *) ctx->hmac_ctx;
995 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size;
1019 if (ctx == NULL || ctx->md_info == NULL || ctx->hmac_ctx == NULL) {
1032 if (ctx == NULL || ctx->md_info == NULL || ctx->hmac_ctx == NULL) {
1036 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size;
1060 if (ctx == NULL || ctx->md_info == NULL || ctx->hmac_ctx == NULL) {
1064 ipad = (unsigned char *) ctx->hmac_ctx;