Lines Matching refs:md_data
205 OPENSSL_free(ctx->md_data);
210 ctx->md_data=OPENSSL_malloc(type->ctx_size);
211 if (ctx->md_data == NULL)
237 OPENSSL_free(ctx->md_data);
238 ctx->md_data = NULL;
280 memset(ctx->md_data,0,ctx->digest->ctx_size);
310 tmp_buf = out->md_data;
317 if (in->md_data && out->digest->ctx_size)
320 out->md_data = tmp_buf;
323 out->md_data=OPENSSL_malloc(out->digest->ctx_size);
324 if (!out->md_data)
330 memcpy(out->md_data,in->md_data,out->digest->ctx_size);
380 /* Don't assume ctx->md_data was cleaned in EVP_Digest_Final,
386 if (ctx->digest && ctx->digest->ctx_size && ctx->md_data
389 OPENSSL_cleanse(ctx->md_data,ctx->digest->ctx_size);
390 OPENSSL_free(ctx->md_data);