Lines Matching defs:type
134 int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type)
137 return EVP_DigestInit_ex(ctx, type, NULL);
140 int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl)
148 if (ctx->engine && ctx->digest && (!type ||
149 (type && (type->type == ctx->digest->type))))
151 if (type)
168 impl = ENGINE_get_digest_engine(type->type);
172 const EVP_MD *d = ENGINE_get_digest(impl, type->type);
180 type = d;
182 * 'type' came from an ENGINE and we need to release
196 if (ctx->digest != type)
200 ctx->digest=type;
201 if (type->ctx_size)
202 ctx->md_data=OPENSSL_malloc(type->ctx_size);
289 unsigned char *md, unsigned int *size, const EVP_MD *type, ENGINE *impl)
296 ret=EVP_DigestInit_ex(&ctx, type, impl)