Home
last modified time | relevance | path

Searched refs:EVP_MD_CTX (Results 1 – 25 of 96) sorted by relevance

1234

/openbsd/lib/libcrypto/evp/
H A Devp_digest.c212 EVP_MD_CTX ctx; in EVP_Digest()
226 EVP_MD_CTX *
234 EVP_MD_CTX_free(EVP_MD_CTX *ctx) in EVP_MD_CTX_free()
245 EVP_MD_CTX *
253 EVP_MD_CTX_destroy(EVP_MD_CTX *ctx) in EVP_MD_CTX_destroy()
266 EVP_MD_CTX_init(EVP_MD_CTX *ctx) in EVP_MD_CTX_init()
273 EVP_MD_CTX_reset(EVP_MD_CTX *ctx) in EVP_MD_CTX_reset()
280 EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) in EVP_MD_CTX_cleanup()
308 EVP_MD_CTX_copy(EVP_MD_CTX *out, const EVP_MD_CTX *in) in EVP_MD_CTX_copy()
316 EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in) in EVP_MD_CTX_copy_ex()
[all …]
H A Dm_sha1.c77 sha1_init(EVP_MD_CTX *ctx) in sha1_init()
89 sha1_final(EVP_MD_CTX *ctx, unsigned char *md) in sha1_final()
118 sha224_init(EVP_MD_CTX *ctx) in sha224_init()
135 sha224_final(EVP_MD_CTX *ctx, unsigned char *md) in sha224_final()
162 sha256_init(EVP_MD_CTX *ctx) in sha256_init()
174 sha256_final(EVP_MD_CTX *ctx, unsigned char *md) in sha256_final()
203 sha384_init(EVP_MD_CTX *ctx) in sha384_init()
216 sha384_final(EVP_MD_CTX *ctx, unsigned char *md) in sha384_final()
243 sha512_init(EVP_MD_CTX *ctx) in sha512_init()
282 sha512_224_init(EVP_MD_CTX *ctx) in sha512_224_init()
[all …]
H A Dm_sha3.c24 sha3_224_init(EVP_MD_CTX *ctx) in sha3_224_init()
30 sha3_224_update(EVP_MD_CTX *ctx, const void *data, size_t count) in sha3_224_update()
36 sha3_224_final(EVP_MD_CTX *ctx, unsigned char *md) in sha3_224_final()
63 sha3_256_init(EVP_MD_CTX *ctx) in sha3_256_init()
69 sha3_256_update(EVP_MD_CTX *ctx, const void *data, size_t count) in sha3_256_update()
75 sha3_256_final(EVP_MD_CTX *ctx, unsigned char *md) in sha3_256_final()
102 sha3_384_init(EVP_MD_CTX *ctx) in sha3_384_init()
108 sha3_384_update(EVP_MD_CTX *ctx, const void *data, size_t count) in sha3_384_update()
114 sha3_384_final(EVP_MD_CTX *ctx, unsigned char *md) in sha3_384_final()
141 sha3_512_init(EVP_MD_CTX *ctx) in sha3_512_init()
[all …]
H A Devp_local.h184 int (*init)(EVP_MD_CTX *ctx);
185 int (*update)(EVP_MD_CTX *ctx, const void *data, size_t count);
186 int (*final)(EVP_MD_CTX *ctx, unsigned char *md);
187 int (*copy)(EVP_MD_CTX *to, const EVP_MD_CTX *from);
188 int (*cleanup)(EVP_MD_CTX *ctx);
193 int (*md_ctrl)(EVP_MD_CTX *ctx, int cmd, int p1, void *p2);
203 int (*update)(EVP_MD_CTX *ctx, const void *data, size_t count);
301 int (*signctx_init)(EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx);
303 EVP_MD_CTX *mctx);
319 int (*digestverify) (EVP_MD_CTX *ctx, const unsigned char *sig,
[all …]
H A Dm_sigver.c69 update_oneshot_only(EVP_MD_CTX *ctx, const void *data, size_t datalen) in update_oneshot_only()
76 do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, in do_sigver_init()
126 EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, in EVP_DigestSignInit()
134 EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, in EVP_DigestVerifyInit()
142 evp_digestsignfinal_sigctx_custom(EVP_MD_CTX *ctx, unsigned char *sigret, in evp_digestsignfinal_sigctx_custom()
168 EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen) in EVP_DigestSignFinal()
171 EVP_MD_CTX *md_ctx = NULL; in EVP_DigestSignFinal()
223 EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen, in EVP_DigestSign()
240 EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sig, size_t siglen) in EVP_DigestVerifyFinal()
242 EVP_MD_CTX tmp_ctx; in EVP_DigestVerifyFinal()
[all …]
H A Devp.h348 const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
349 void *EVP_MD_CTX_md_data(const EVP_MD_CTX *ctx);
439 EVP_MD_CTX *EVP_MD_CTX_new(void);
440 void EVP_MD_CTX_free(EVP_MD_CTX *ctx);
441 int EVP_MD_CTX_init(EVP_MD_CTX *ctx);
442 int EVP_MD_CTX_reset(EVP_MD_CTX *ctx);
443 EVP_MD_CTX *EVP_MD_CTX_create(void);
444 void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
445 int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx);
446 int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in);
[all …]
H A Dm_null.c68 init(EVP_MD_CTX *ctx) in init()
74 update(EVP_MD_CTX *ctx, const void *data, size_t count) in update()
80 final(EVP_MD_CTX *ctx, unsigned char *md) in final()
H A Dm_md4.c77 init(EVP_MD_CTX *ctx) in init()
83 update(EVP_MD_CTX *ctx, const void *data, size_t count) in update()
89 final(EVP_MD_CTX *ctx, unsigned char *md) in final()
H A Dm_md5.c77 init(EVP_MD_CTX *ctx) in init()
83 update(EVP_MD_CTX *ctx, const void *data, size_t count) in update()
89 final(EVP_MD_CTX *ctx, unsigned char *md) in final()
H A Dm_ripemd.c77 init(EVP_MD_CTX *ctx) in init()
83 update(EVP_MD_CTX *ctx, const void *data, size_t count) in update()
89 final(EVP_MD_CTX *ctx, unsigned char *md) in final()
H A Dm_sm3.c31 sm3_init(EVP_MD_CTX *ctx) in sm3_init()
37 sm3_update(EVP_MD_CTX *ctx, const void *data, size_t count) in sm3_update()
43 sm3_final(EVP_MD_CTX *ctx, unsigned char *md) in sm3_final()
H A Dbio_md.c102 EVP_MD_CTX *ctx; in md_new()
130 EVP_MD_CTX *ctx; in md_read()
156 EVP_MD_CTX *ctx; in md_write()
183 EVP_MD_CTX *ctx, *dctx, **pctx; in md_ctrl()
262 EVP_MD_CTX *ctx; in md_gets()
H A Dm_md5_sha1.c35 md5_sha1_init(EVP_MD_CTX *ctx) in md5_sha1_init()
48 md5_sha1_update(EVP_MD_CTX *ctx, const void *data, size_t count) in md5_sha1_update()
61 md5_sha1_final(EVP_MD_CTX *ctx, unsigned char *out) in md5_sha1_final()
H A Dp_verify.c69 EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, in EVP_VerifyFinal()
74 EVP_MD_CTX *md_ctx; in EVP_VerifyFinal()
H A Dp_sign.c69 EVP_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, unsigned int *siglen, in EVP_SignFinal()
74 EVP_MD_CTX *md_ctx; in EVP_SignFinal()
/openbsd/usr.bin/dig/lib/isc/
H A Dsha2.c82 REQUIRE(context->ctx != (EVP_MD_CTX *)0); in isc_sha224_update()
93 REQUIRE(context->ctx != (EVP_MD_CTX *)0); in isc_sha224_final()
124 REQUIRE(context->ctx != (EVP_MD_CTX *)0); in isc_sha256_update()
135 REQUIRE(context->ctx != (EVP_MD_CTX *)0); in isc_sha256_final()
165 REQUIRE(context->ctx != (EVP_MD_CTX *)0); in isc_sha512_update()
175 REQUIRE(context->ctx != (EVP_MD_CTX *)0); in isc_sha512_final()
206 REQUIRE(context->ctx != (EVP_MD_CTX *)0); in isc_sha384_update()
217 REQUIRE(context->ctx != (EVP_MD_CTX *)0); in isc_sha384_final()
/openbsd/lib/libcrypto/hmac/
H A Dhmac_local.h71 EVP_MD_CTX md_ctx;
72 EVP_MD_CTX i_ctx;
73 EVP_MD_CTX o_ctx;
H A Dhm_pmeth.c153 int_update(EVP_MD_CTX *ctx, const void *data, size_t count) in int_update()
163 hmac_signctx_init(EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx) in hmac_signctx_init()
175 EVP_MD_CTX *mctx) in hmac_signctx()
/openbsd/lib/libcrypto/pem/
H A Dpem_sign.c68 PEM_SignInit(EVP_MD_CTX *ctx, EVP_MD *type) in PEM_SignInit()
75 PEM_SignUpdate(EVP_MD_CTX *ctx, unsigned char *data, in PEM_SignUpdate()
83 PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, unsigned int *siglen, in PEM_SignFinal()
/openbsd/usr.sbin/npppd/npppd/
H A Dchap_ms.c137 EVP_MD_CTX *ctx; in mschap_ntpassword_hash()
151 EVP_MD_CTX *ctx; in mschap_challenge_hash()
192 EVP_MD_CTX *ctx; in mschap_auth_response()
256 EVP_MD_CTX *ctx; in mschap_masterkey()
278 EVP_MD_CTX *ctx; in mschap_asymetric_startkey()
349 EVP_MD_CTX *ctx; in mschap_radiuskey()
/openbsd/sbin/iked/
H A Dchap_ms.c140 EVP_MD_CTX *ctx; in mschap_ntpassword_hash()
156 EVP_MD_CTX *ctx; in mschap_challenge_hash()
199 EVP_MD_CTX *ctx; in mschap_auth_response()
265 EVP_MD_CTX *ctx; in mschap_masterkey()
289 EVP_MD_CTX *ctx; in mschap_asymetric_startkey()
362 EVP_MD_CTX *ctx; in mschap_radiuskey()
/openbsd/usr.sbin/radiusctl/
H A Dchap_ms.c137 EVP_MD_CTX *ctx; in mschap_ntpassword_hash()
151 EVP_MD_CTX *ctx; in mschap_challenge_hash()
192 EVP_MD_CTX *ctx; in mschap_auth_response()
256 EVP_MD_CTX *ctx; in mschap_masterkey()
278 EVP_MD_CTX *ctx; in mschap_asymetric_startkey()
349 EVP_MD_CTX *ctx; in mschap_radiuskey()
/openbsd/usr.sbin/radiusd/
H A Dchap_ms.c137 EVP_MD_CTX *ctx; in mschap_ntpassword_hash()
151 EVP_MD_CTX *ctx; in mschap_challenge_hash()
192 EVP_MD_CTX *ctx; in mschap_auth_response()
256 EVP_MD_CTX *ctx; in mschap_masterkey()
278 EVP_MD_CTX *ctx; in mschap_asymetric_startkey()
349 EVP_MD_CTX *ctx; in mschap_radiuskey()
/openbsd/lib/libcrypto/cmac/
H A Dcm_pmeth.c115 int_update(EVP_MD_CTX *ctx, const void *data, size_t count) in int_update()
123 cmac_signctx_init(EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx) in cmac_signctx_init()
132 EVP_MD_CTX *mctx) in cmac_signctx()
/openbsd/regress/lib/libcrypto/sm2/
H A Dsm2evptest.c68 EVP_MD_CTX *md_ctx_verify = NULL; in test_EVP_SM2_verify()
112 EVP_MD_CTX *md_ctx = NULL; in test_EVP_SM2()
113 EVP_MD_CTX *md_ctx_verify = NULL; in test_EVP_SM2()

1234