Lines Matching refs:EVP_MD_CTX

28 static void cleanup_old_md_data(EVP_MD_CTX *ctx, int force)
43 void evp_md_ctx_clear_digest(EVP_MD_CTX *ctx, int force, int keep_fetched)
75 static int evp_md_ctx_reset_ex(EVP_MD_CTX *ctx, int keep_fetched)
82 * pctx should be freed by the user of EVP_MD_CTX
99 int EVP_MD_CTX_reset(EVP_MD_CTX *ctx)
105 EVP_MD_CTX *evp_md_ctx_new_ex(EVP_PKEY *pkey, const ASN1_OCTET_STRING *id,
108 EVP_MD_CTX *ctx;
130 EVP_MD_CTX *EVP_MD_CTX_new(void)
132 return OPENSSL_zalloc(sizeof(EVP_MD_CTX));
135 void EVP_MD_CTX_free(EVP_MD_CTX *ctx)
144 static int evp_md_init_internal(EVP_MD_CTX *ctx, const EVP_MD *type,
358 int EVP_DigestInit_ex2(EVP_MD_CTX *ctx, const EVP_MD *type,
364 int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type)
370 int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl)
375 int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data, size_t count)
416 int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *size)
425 int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *isize)
473 int EVP_DigestFinalXOF(EVP_MD_CTX *ctx, unsigned char *md, size_t size)
517 int EVP_MD_CTX_copy(EVP_MD_CTX *out, const EVP_MD_CTX *in)
523 int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in)
572 /* copied EVP_MD_CTX should free the copied EVP_PKEY_CTX */
605 /* copied EVP_MD_CTX should free the copied EVP_PKEY_CTX */
650 EVP_MD_CTX *ctx = EVP_MD_CTX_new();
696 int EVP_MD_CTX_set_params(EVP_MD_CTX *ctx, const OSSL_PARAM params[])
726 const OSSL_PARAM *EVP_MD_CTX_settable_params(EVP_MD_CTX *ctx)
752 int EVP_MD_CTX_get_params(EVP_MD_CTX *ctx, OSSL_PARAM params[])
782 const OSSL_PARAM *EVP_MD_CTX_gettable_params(EVP_MD_CTX *ctx)
807 int EVP_MD_CTX_ctrl(EVP_MD_CTX *ctx, int cmd, int p1, void *p2)