/netbsd/crypto/external/bsd/openssl.old/dist/crypto/evp/ |
H A D | m_sha1.c | 20 static int init(EVP_MD_CTX *ctx) in init() 30 static int final(EVP_MD_CTX *ctx, unsigned char *md) in final() 114 static int init224(EVP_MD_CTX *ctx) in init224() 119 static int init256(EVP_MD_CTX *ctx) in init256() 134 static int final256(EVP_MD_CTX *ctx, unsigned char *md) in final256() 177 static int init512_224(EVP_MD_CTX *ctx) in init512_224() 182 static int init512_256(EVP_MD_CTX *ctx) in init512_256() 187 static int init384(EVP_MD_CTX *ctx) in init384() 197 static int final384(EVP_MD_CTX *ctx, unsigned char *md) in final384() 202 static int init512(EVP_MD_CTX *ctx) in init512() [all …]
|
H A D | evp_lib.c | 428 int (*EVP_MD_meth_get_init(const EVP_MD *md))(EVP_MD_CTX *ctx) in EVP_MD_meth_get_init() 443 int (*EVP_MD_meth_get_copy(const EVP_MD *md))(EVP_MD_CTX *to, in EVP_MD_meth_get_copy() 458 const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx) in EVP_MD_CTX_md() 465 EVP_PKEY_CTX *EVP_MD_CTX_pkey_ctx(const EVP_MD_CTX *ctx) in EVP_MD_CTX_pkey_ctx() 489 void *EVP_MD_CTX_md_data(const EVP_MD_CTX *ctx) in EVP_MD_CTX_md_data() 494 int (*EVP_MD_CTX_update_fn(EVP_MD_CTX *ctx))(EVP_MD_CTX *ctx, in EVP_MD_CTX_update_fn() 500 void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, in EVP_MD_CTX_set_update_fn() 501 int (*update) (EVP_MD_CTX *ctx, in EVP_MD_CTX_set_update_fn() 507 void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags) in EVP_MD_CTX_set_flags() 512 void EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx, int flags) in EVP_MD_CTX_clear_flags() [all …]
|
H A D | digest.c | 19 static void cleanup_old_md_data(EVP_MD_CTX *ctx, int force) in cleanup_old_md_data() 35 int EVP_MD_CTX_reset(EVP_MD_CTX *ctx) in EVP_MD_CTX_reset() 60 EVP_MD_CTX *EVP_MD_CTX_new(void) in EVP_MD_CTX_new() 62 return OPENSSL_zalloc(sizeof(EVP_MD_CTX)); in EVP_MD_CTX_new() 65 void EVP_MD_CTX_free(EVP_MD_CTX *ctx) in EVP_MD_CTX_free() 71 int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type) in EVP_DigestInit() 161 int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data, size_t count) in EVP_DigestUpdate() 216 int EVP_MD_CTX_copy(EVP_MD_CTX *out, const EVP_MD_CTX *in) in EVP_MD_CTX_copy() 222 int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in) in EVP_MD_CTX_copy_ex() 288 EVP_MD_CTX *ctx = EVP_MD_CTX_new(); in EVP_Digest() [all …]
|
H A D | m_sigver.c | 18 static int update(EVP_MD_CTX *ctx, const void *data, size_t datalen) in update() 24 static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, in do_sigver_init() 88 int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, in EVP_DigestSignInit() 94 int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, in EVP_DigestVerifyInit() 100 int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, in EVP_DigestSignFinal() 132 EVP_MD_CTX *tmp_ctx = EVP_MD_CTX_new(); in EVP_DigestSignFinal() 163 int EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen, in EVP_DigestSign() 173 int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sig, in EVP_DigestVerifyFinal() 191 EVP_MD_CTX *tmp_ctx = EVP_MD_CTX_new(); in EVP_DigestVerifyFinal() 210 int EVP_DigestVerify(EVP_MD_CTX *ctx, const unsigned char *sigret, in EVP_DigestVerify()
|
H A D | m_sha3.c | 33 static int init(EVP_MD_CTX *evp_ctx, unsigned char pad) in init() 52 static int sha3_init(EVP_MD_CTX *evp_ctx) in sha3_init() 57 static int shake_init(EVP_MD_CTX *evp_ctx) in shake_init() 62 static int sha3_update(EVP_MD_CTX *evp_ctx, const void *_inp, size_t len) in sha3_update() 105 static int sha3_final(EVP_MD_CTX *evp_ctx, unsigned char *md) in sha3_final() 130 static int shake_ctrl(EVP_MD_CTX *evp_ctx, int cmd, int p1, void *p2) in shake_ctrl() 179 static int s390x_sha3_init(EVP_MD_CTX *evp_ctx) in s390x_sha3_init() 212 static int s390x_shake_init(EVP_MD_CTX *evp_ctx) in s390x_shake_init() 239 static int s390x_sha3_update(EVP_MD_CTX *evp_ctx, const void *_inp, size_t len) in s390x_sha3_update() 274 static int s390x_sha3_final(EVP_MD_CTX *evp_ctx, unsigned char *md) in s390x_sha3_final() [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/engines/ |
H A D | e_ossltest.c | 49 static int digest_md5_init(EVP_MD_CTX *ctx); 50 static int digest_md5_update(EVP_MD_CTX *ctx, const void *data, 78 static int digest_sha1_init(EVP_MD_CTX *ctx); 107 static int digest_sha256_init(EVP_MD_CTX *ctx); 136 static int digest_sha384_init(EVP_MD_CTX *ctx); 137 static int digest_sha512_init(EVP_MD_CTX *ctx); 459 static int digest_md5_init(EVP_MD_CTX *ctx) in digest_md5_init() 486 static int digest_sha1_init(EVP_MD_CTX *ctx) in digest_sha1_init() 513 static int digest_sha256_init(EVP_MD_CTX *ctx) in digest_sha256_init() 540 static int digest_sha384_init(EVP_MD_CTX *ctx) in digest_sha384_init() [all …]
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | evp.h | 114 #define EVP_MD_CTX hc_EVP_MD_CTX macro 138 typedef struct hc_EVP_MD_CTX EVP_MD_CTX; typedef 206 typedef int (*hc_evp_md_init)(EVP_MD_CTX *); 209 typedef int (*hc_evp_md_cleanup)(EVP_MD_CTX *); 284 EVP_MD_CTX_md(EVP_MD_CTX *); 285 size_t EVP_MD_CTX_size(EVP_MD_CTX *); 286 size_t EVP_MD_CTX_block_size(EVP_MD_CTX *); 288 EVP_MD_CTX * 290 void HC_DEPRECATED EVP_MD_CTX_init(EVP_MD_CTX *); 291 void EVP_MD_CTX_destroy(EVP_MD_CTX *); [all …]
|
H A D | evp.c | 140 EVP_MD_CTX * 143 return calloc(1, sizeof(EVP_MD_CTX)); in EVP_MD_CTX_create() 156 EVP_MD_CTX_init(EVP_MD_CTX *ctx) HC_DEPRECATED in EVP_MD_CTX_init() 170 EVP_MD_CTX_destroy(EVP_MD_CTX *ctx) in EVP_MD_CTX_destroy() 187 EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) HC_DEPRECATED in EVP_MD_CTX_cleanup() 214 EVP_MD_CTX_md(EVP_MD_CTX *ctx) in EVP_MD_CTX_md() 230 EVP_MD_CTX_size(EVP_MD_CTX *ctx) in EVP_MD_CTX_size() 246 EVP_MD_CTX_block_size(EVP_MD_CTX *ctx) in EVP_MD_CTX_block_size() 295 EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data, size_t size) in EVP_DigestUpdate() 344 EVP_MD_CTX *ctx; in EVP_Digest() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/engines/ |
H A D | e_ossltest.c | 63 static int digest_md5_init(EVP_MD_CTX *ctx); 64 static int digest_md5_update(EVP_MD_CTX *ctx, const void *data, 92 static int digest_sha1_init(EVP_MD_CTX *ctx); 121 static int digest_sha256_init(EVP_MD_CTX *ctx); 150 static int digest_sha384_init(EVP_MD_CTX *ctx); 155 static int digest_sha512_init(EVP_MD_CTX *ctx); 569 static int digest_md5_init(EVP_MD_CTX *ctx) in digest_md5_init() 593 static int digest_sha1_init(EVP_MD_CTX *ctx) in digest_sha1_init() 617 static int digest_sha256_init(EVP_MD_CTX *ctx) in digest_sha256_init() 641 static int digest_sha384_init(EVP_MD_CTX *ctx) in digest_sha384_init() [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/include/openssl/ |
H A D | evp.h | 451 const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); 452 int (*EVP_MD_CTX_update_fn(EVP_MD_CTX *ctx))(EVP_MD_CTX *ctx, 454 void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, 462 void *EVP_MD_CTX_md_data(const EVP_MD_CTX *ctx); 538 EVP_MD_CTX *EVP_MD_CTX_new(void); 539 int EVP_MD_CTX_reset(EVP_MD_CTX *ctx); 540 void EVP_MD_CTX_free(EVP_MD_CTX *ctx); 544 __owur int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in); 545 void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags); 546 void EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx, int flags); [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/doc/man3/ |
H A D | EVP_DigestInit.pod | 21 EVP_MD_CTX *EVP_MD_CTX_new(void); 22 int EVP_MD_CTX_reset(EVP_MD_CTX *ctx); 23 void EVP_MD_CTX_free(EVP_MD_CTX *ctx); 36 int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in); 41 int EVP_MD_CTX_copy(EVP_MD_CTX *out, EVP_MD_CTX *in); 50 int EVP_MD_CTX_size(const EVP_MD_CTX *ctx); 52 int EVP_MD_CTX_type(const EVP_MD_CTX *ctx); 54 int (*EVP_MD_CTX_update_fn(EVP_MD_CTX *ctx))(EVP_MD_CTX *ctx, 56 void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, 168 B<EVP_MD_CTX> structure. [all …]
|
H A D | EVP_MD_meth_new.pod | 29 int EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx)); 30 int EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx, 33 int EVP_MD_meth_set_final(EVP_MD *md, int (*final)(EVP_MD_CTX *ctx, 35 int EVP_MD_meth_set_copy(EVP_MD *md, int (*copy)(EVP_MD_CTX *to, 45 int (*EVP_MD_meth_get_init(const EVP_MD *md))(EVP_MD_CTX *ctx); 46 int (*EVP_MD_meth_get_update(const EVP_MD *md))(EVP_MD_CTX *ctx, 49 int (*EVP_MD_meth_get_final(const EVP_MD *md))(EVP_MD_CTX *ctx, 51 int (*EVP_MD_meth_get_copy(const EVP_MD *md))(EVP_MD_CTX *to, 53 int (*EVP_MD_meth_get_cleanup(const EVP_MD *md))(EVP_MD_CTX *ctx); 135 from one B<EVP_MD_CTX> to another. If all that's needed is to copy [all …]
|
H A D | EVP_PKEY_meth_new.pod | 82 EVP_MD_CTX *mctx), 86 EVP_MD_CTX *mctx)); 93 EVP_MD_CTX *mctx)); 120 int (*digestsign) (EVP_MD_CTX *ctx, 186 EVP_MD_CTX *mctx)); 311 int (*signctx_init) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx); 313 EVP_MD_CTX *mctx); 319 int (*verifyctx_init) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx); 321 EVP_MD_CTX *mctx); 356 int (*digestverify) (EVP_MD_CTX *ctx, const unsigned char *sig, [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/evp/ |
H A D | legacy_meth.h | 11 static int nm##_init(EVP_MD_CTX *ctx) \ 15 static int nm##_update(EVP_MD_CTX *ctx, const void *data, size_t count) \ 19 static int nm##_final(EVP_MD_CTX *ctx, unsigned char *md) \ 25 static int nm##_init(EVP_MD_CTX *ctx) \ 29 static int nm##_update(EVP_MD_CTX *ctx, const void *data, size_t count) \ 33 static int nm##_final(EVP_MD_CTX *ctx, unsigned char *md) \
|
H A D | evp_lib.c | 983 int (*EVP_MD_meth_get_copy(const EVP_MD *md))(EVP_MD_CTX *to, in EVP_MD_meth_get_copy() 999 const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx) in EVP_MD_CTX_md() 1007 const EVP_MD *EVP_MD_CTX_get0_md(const EVP_MD_CTX *ctx) in EVP_MD_CTX_get0_md() 1014 EVP_MD *EVP_MD_CTX_get1_md(EVP_MD_CTX *ctx) in EVP_MD_CTX_get1_md() 1026 EVP_PKEY_CTX *EVP_MD_CTX_get_pkey_ctx(const EVP_MD_CTX *ctx) in EVP_MD_CTX_get_pkey_ctx() 1052 void *EVP_MD_CTX_get0_md_data(const EVP_MD_CTX *ctx) in EVP_MD_CTX_get0_md_data() 1057 int (*EVP_MD_CTX_update_fn(EVP_MD_CTX *ctx))(EVP_MD_CTX *ctx, in EVP_MD_CTX_update_fn() 1063 void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, in EVP_MD_CTX_set_update_fn() 1070 void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags) in EVP_MD_CTX_set_flags() 1075 void EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx, int flags) in EVP_MD_CTX_clear_flags() [all …]
|
H A D | digest.c | 28 static void cleanup_old_md_data(EVP_MD_CTX *ctx, int force) in cleanup_old_md_data() 99 int EVP_MD_CTX_reset(EVP_MD_CTX *ctx) in EVP_MD_CTX_reset() 108 EVP_MD_CTX *ctx; in evp_md_ctx_new_ex() 130 EVP_MD_CTX *EVP_MD_CTX_new(void) in EVP_MD_CTX_new() 132 return OPENSSL_zalloc(sizeof(EVP_MD_CTX)); in EVP_MD_CTX_new() 135 void EVP_MD_CTX_free(EVP_MD_CTX *ctx) in EVP_MD_CTX_free() 358 int EVP_DigestInit_ex2(EVP_MD_CTX *ctx, const EVP_MD *type, in EVP_DigestInit_ex2() 364 int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type) in EVP_DigestInit() 517 int EVP_MD_CTX_copy(EVP_MD_CTX *out, const EVP_MD_CTX *in) in EVP_MD_CTX_copy() 523 int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in) in EVP_MD_CTX_copy_ex() [all …]
|
H A D | legacy_sha.c | 30 static int nm##_init(EVP_MD_CTX *ctx) \ 34 static int nm##_update(EVP_MD_CTX *ctx, const void *data, size_t count) \ 38 static int nm##_final(EVP_MD_CTX *ctx, unsigned char *md) \ 43 static int nm##_init(EVP_MD_CTX *ctx) \ 66 static int sha1_int_ctrl(EVP_MD_CTX *ctx, int cmd, int p1, void *p2) in IMPLEMENT_LEGACY_EVP_MD_METH() 72 static int shake_ctrl(EVP_MD_CTX *evp_ctx, int cmd, int p1, void *p2) in shake_ctrl()
|
/netbsd/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_openssl_evp_private.h | 34 static inline EVP_MD_CTX *EVP_MD_CTX_new(void) in EVP_MD_CTX_new() 36 EVP_MD_CTX *ctx = (EVP_MD_CTX *)calloc(1, sizeof(EVP_MD_CTX)); in EVP_MD_CTX_new() 40 static inline void EVP_MD_CTX_free(EVP_MD_CTX *ctx) in EVP_MD_CTX_free()
|
/netbsd/crypto/external/bsd/openssl/dist/include/openssl/ |
H A D | evp.h | 552 EVP_MD *EVP_MD_CTX_get1_md(EVP_MD_CTX *ctx); 557 int (*EVP_MD_CTX_update_fn(EVP_MD_CTX *ctx))(EVP_MD_CTX *ctx, 560 void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, 696 EVP_MD_CTX *EVP_MD_CTX_new(void); 697 int EVP_MD_CTX_reset(EVP_MD_CTX *ctx); 698 void EVP_MD_CTX_free(EVP_MD_CTX *ctx); 702 __owur int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in); 721 __owur int EVP_MD_CTX_copy(EVP_MD_CTX *out, const EVP_MD_CTX *in); 2027 EVP_MD_CTX *mctx)); 2032 EVP_MD_CTX *mctx)); [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/doc/man3/ |
H A D | EVP_MD_meth_new.pod | 33 int EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx)); 34 int EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx, 37 int EVP_MD_meth_set_final(EVP_MD *md, int (*final)(EVP_MD_CTX *ctx, 39 int EVP_MD_meth_set_copy(EVP_MD *md, int (*copy)(EVP_MD_CTX *to, 49 int (*EVP_MD_meth_get_init(const EVP_MD *md))(EVP_MD_CTX *ctx); 50 int (*EVP_MD_meth_get_update(const EVP_MD *md))(EVP_MD_CTX *ctx, 53 int (*EVP_MD_meth_get_final(const EVP_MD *md))(EVP_MD_CTX *ctx, 55 int (*EVP_MD_meth_get_copy(const EVP_MD *md))(EVP_MD_CTX *to, 57 int (*EVP_MD_meth_get_cleanup(const EVP_MD *md))(EVP_MD_CTX *ctx); 144 from one B<EVP_MD_CTX> to another. If all that's needed is to copy [all …]
|
H A D | EVP_DigestInit.pod | 40 EVP_MD_CTX *EVP_MD_CTX_new(void); 41 int EVP_MD_CTX_reset(EVP_MD_CTX *ctx); 42 void EVP_MD_CTX_free(EVP_MD_CTX *ctx); 66 int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in); 71 int EVP_MD_CTX_copy(EVP_MD_CTX *out, EVP_MD_CTX *in); 87 EVP_MD *EVP_MD_CTX_get1_md(EVP_MD_CTX *ctx); 126 int (*EVP_MD_CTX_update_fn(EVP_MD_CTX *ctx))(EVP_MD_CTX *ctx, 129 void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, 359 B<EVP_MD_CTX> structure. 384 caller and is from the passed B<EVP_MD_CTX>. [all …]
|
H A D | EVP_PKEY_meth_new.pod | 86 EVP_MD_CTX *mctx), 90 EVP_MD_CTX *mctx)); 97 EVP_MD_CTX *mctx)); 124 int (*digestsign) (EVP_MD_CTX *ctx, 190 EVP_MD_CTX *mctx)); 318 int (*signctx_init) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx); 320 EVP_MD_CTX *mctx); 326 int (*verifyctx_init) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx); 328 EVP_MD_CTX *mctx); 363 int (*digestverify) (EVP_MD_CTX *ctx, const unsigned char *sig, [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/include/crypto/ |
H A D | evp.h | 64 int (*signctx_init) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx); 66 EVP_MD_CTX *mctx); 67 int (*verifyctx_init) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx); 69 EVP_MD_CTX *mctx); 82 int (*digestverify) (EVP_MD_CTX *ctx, const unsigned char *sig, 89 int (*digest_custom) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx); 120 int (*init) (EVP_MD_CTX *ctx); 122 int (*final) (EVP_MD_CTX *ctx, unsigned char *md); 123 int (*copy) (EVP_MD_CTX *to, const EVP_MD_CTX *from); 124 int (*cleanup) (EVP_MD_CTX *ctx); [all …]
|
/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | md-sha256.c | 33 ssh_sha256_init(EVP_MD_CTX *ctxt) in ssh_sha256_init() 40 ssh_sha256_update(EVP_MD_CTX *ctxt, const void *data, size_t len) in ssh_sha256_update() 47 ssh_sha256_final(EVP_MD_CTX *ctxt, unsigned char *digest) in ssh_sha256_final() 54 ssh_sha256_cleanup(EVP_MD_CTX *ctxt) in ssh_sha256_cleanup()
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/hmac/ |
H A D | hmac_local.h | 18 EVP_MD_CTX *md_ctx; 19 EVP_MD_CTX *i_ctx; 20 EVP_MD_CTX *o_ctx;
|