Lines Matching refs:md_data
91 if (ctx->digest && ctx->digest->ctx_size && ctx->md_data) {
92 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size);
93 OPENSSL_free(ctx->md_data);
124 /* |md_data| will be the correct size in this case so it's removed from
127 tmp_buf = out->md_data;
128 out->md_data = NULL;
134 if (in->md_data && in->digest->ctx_size) {
136 out->md_data = tmp_buf;
138 out->md_data = OPENSSL_malloc(in->digest->ctx_size);
139 if (!out->md_data) {
144 memcpy(out->md_data, in->md_data, in->digest->ctx_size);
168 OPENSSL_free(ctx->md_data);
172 ctx->md_data = OPENSSL_malloc(type->ctx_size);
173 if (ctx->md_data == NULL) {
202 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size);