Home
last modified time | relevance | path

Searched refs:evp_md_ctx (Results 1 – 25 of 31) sorted by relevance

12

/dports/net-p2p/libswift/libswift-dc0cbcc/
H A Dlivesig.cpp549 EVP_MD_CTX *evp_md_ctx=NULL; in opensslrsa_createctx() local
551 evp_md_ctx = EVP_MD_CTX_create(); in opensslrsa_createctx()
552 if (evp_md_ctx == NULL) in opensslrsa_createctx()
556 EVP_MD_CTX_destroy(evp_md_ctx); in opensslrsa_createctx()
559 return evp_md_ctx; in opensslrsa_createctx()
564 if (evp_md_ctx != NULL) { in opensslrsa_destroyctx()
830 EVP_MD_CTX *evp_md_ctx; local
833 evp_md_ctx = EVP_MD_CTX_create();
834 if (evp_md_ctx == NULL)
846 return evp_md_ctx;
[all …]
/dports/security/py-cryptography/stage/usr/local/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/
H A Ded25519.py53 evp_md_ctx = self._backend._lib.EVP_MD_CTX_new()
54 self._backend.openssl_assert(evp_md_ctx != self._backend._ffi.NULL)
55 evp_md_ctx = self._backend._ffi.gc(
56 evp_md_ctx, self._backend._lib.EVP_MD_CTX_free
59 evp_md_ctx,
67 evp_md_ctx, signature, len(signature), data, len(data)
92 evp_md_ctx = self._backend._lib.EVP_MD_CTX_new()
94 evp_md_ctx = self._backend._ffi.gc(
95 evp_md_ctx, self._backend._lib.EVP_MD_CTX_free
98 evp_md_ctx,
[all …]
H A Ded448.py54 evp_md_ctx = self._backend._lib.EVP_MD_CTX_new()
55 self._backend.openssl_assert(evp_md_ctx != self._backend._ffi.NULL)
56 evp_md_ctx = self._backend._ffi.gc(
57 evp_md_ctx, self._backend._lib.EVP_MD_CTX_free
60 evp_md_ctx,
68 evp_md_ctx, signature, len(signature), data, len(data)
93 evp_md_ctx = self._backend._lib.EVP_MD_CTX_new()
95 evp_md_ctx = self._backend._ffi.gc(
96 evp_md_ctx, self._backend._lib.EVP_MD_CTX_free
99 evp_md_ctx,
[all …]
/dports/security/py-cryptography/cryptography-3.3.2/build/lib.dragonfly-6.3-DEVELOPMENT-x86_64-3.8/cryptography/hazmat/backends/openssl/
H A Ded448.py54 evp_md_ctx = self._backend._lib.EVP_MD_CTX_new()
55 self._backend.openssl_assert(evp_md_ctx != self._backend._ffi.NULL)
56 evp_md_ctx = self._backend._ffi.gc(
57 evp_md_ctx, self._backend._lib.EVP_MD_CTX_free
60 evp_md_ctx,
68 evp_md_ctx, signature, len(signature), data, len(data)
93 evp_md_ctx = self._backend._lib.EVP_MD_CTX_new()
95 evp_md_ctx = self._backend._ffi.gc(
96 evp_md_ctx, self._backend._lib.EVP_MD_CTX_free
99 evp_md_ctx,
[all …]
H A Ded25519.py53 evp_md_ctx = self._backend._lib.EVP_MD_CTX_new()
54 self._backend.openssl_assert(evp_md_ctx != self._backend._ffi.NULL)
55 evp_md_ctx = self._backend._ffi.gc(
56 evp_md_ctx, self._backend._lib.EVP_MD_CTX_free
59 evp_md_ctx,
67 evp_md_ctx, signature, len(signature), data, len(data)
92 evp_md_ctx = self._backend._lib.EVP_MD_CTX_new()
94 evp_md_ctx = self._backend._ffi.gc(
95 evp_md_ctx, self._backend._lib.EVP_MD_CTX_free
98 evp_md_ctx,
[all …]
/dports/security/py-cryptography/cryptography-3.3.2/src/cryptography/hazmat/backends/openssl/
H A Ded25519.py53 evp_md_ctx = self._backend._lib.EVP_MD_CTX_new()
54 self._backend.openssl_assert(evp_md_ctx != self._backend._ffi.NULL)
55 evp_md_ctx = self._backend._ffi.gc(
56 evp_md_ctx, self._backend._lib.EVP_MD_CTX_free
59 evp_md_ctx,
67 evp_md_ctx, signature, len(signature), data, len(data)
92 evp_md_ctx = self._backend._lib.EVP_MD_CTX_new()
94 evp_md_ctx = self._backend._ffi.gc(
95 evp_md_ctx, self._backend._lib.EVP_MD_CTX_free
98 evp_md_ctx,
[all …]
H A Ded448.py54 evp_md_ctx = self._backend._lib.EVP_MD_CTX_new()
55 self._backend.openssl_assert(evp_md_ctx != self._backend._ffi.NULL)
56 evp_md_ctx = self._backend._ffi.gc(
57 evp_md_ctx, self._backend._lib.EVP_MD_CTX_free
60 evp_md_ctx,
68 evp_md_ctx, signature, len(signature), data, len(data)
93 evp_md_ctx = self._backend._lib.EVP_MD_CTX_new()
95 evp_md_ctx = self._backend._ffi.gc(
96 evp_md_ctx, self._backend._lib.EVP_MD_CTX_free
99 evp_md_ctx,
[all …]
/dports/dns/bind911/bind-9.11.37/lib/dns/
H A Dopensslgost_link.c117 EVP_MD_CTX *evp_md_ctx; in opensslgost_createctx() local
125 evp_md_ctx = EVP_MD_CTX_create(); in opensslgost_createctx()
126 if (evp_md_ctx == NULL) in opensslgost_createctx()
130 EVP_MD_CTX_destroy(evp_md_ctx); in opensslgost_createctx()
133 dctx->ctxdata.evp_md_ctx = evp_md_ctx; in opensslgost_createctx()
140 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslgost_destroyctx() local
142 if (evp_md_ctx != NULL) { in opensslgost_destroyctx()
143 EVP_MD_CTX_destroy(evp_md_ctx); in opensslgost_destroyctx()
150 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslgost_adddata() local
163 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslgost_sign() local
[all …]
H A Dopensslecdsa_link.c83 EVP_MD_CTX *evp_md_ctx; in opensslecdsa_createctx() local
90 evp_md_ctx = EVP_MD_CTX_create(); in opensslecdsa_createctx()
91 if (evp_md_ctx == NULL) in opensslecdsa_createctx()
99 EVP_MD_CTX_destroy(evp_md_ctx); in opensslecdsa_createctx()
105 dctx->ctxdata.evp_md_ctx = evp_md_ctx; in opensslecdsa_createctx()
112 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslecdsa_destroyctx() local
117 if (evp_md_ctx != NULL) { in opensslecdsa_destroyctx()
118 EVP_MD_CTX_destroy(evp_md_ctx); in opensslecdsa_destroyctx()
125 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslecdsa_adddata() local
154 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslecdsa_sign() local
[all …]
H A Dopenssldsa_link.c132 EVP_MD_CTX *evp_md_ctx; in openssldsa_createctx() local
136 evp_md_ctx = EVP_MD_CTX_create(); in openssldsa_createctx()
137 if (evp_md_ctx == NULL) in openssldsa_createctx()
141 EVP_MD_CTX_destroy(evp_md_ctx); in openssldsa_createctx()
145 dctx->ctxdata.evp_md_ctx = evp_md_ctx; in openssldsa_createctx()
165 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in openssldsa_destroyctx() local
167 if (evp_md_ctx != NULL) { in openssldsa_destroyctx()
168 EVP_MD_CTX_destroy(evp_md_ctx); in openssldsa_destroyctx()
185 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in openssldsa_adddata() local
216 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in openssldsa_sign() local
[all …]
H A Dopensslrsa_link.c258 EVP_MD_CTX *evp_md_ctx; in opensslrsa_createctx() local
305 evp_md_ctx = EVP_MD_CTX_create(); in opensslrsa_createctx()
306 if (evp_md_ctx == NULL) in opensslrsa_createctx()
335 EVP_MD_CTX_destroy(evp_md_ctx); in opensslrsa_createctx()
340 dctx->ctxdata.evp_md_ctx = evp_md_ctx; in opensslrsa_createctx()
404 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslrsa_destroyctx() local
421 if (evp_md_ctx != NULL) { in opensslrsa_destroyctx()
422 EVP_MD_CTX_destroy(evp_md_ctx); in opensslrsa_destroyctx()
488 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslrsa_adddata() local
572 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslrsa_sign() local
[all …]
/dports/dns/bind-tools/bind-9.16.27/lib/dns/
H A Dopensslecdsa_link.c83 EVP_MD_CTX *evp_md_ctx; in opensslecdsa_createctx() local
90 evp_md_ctx = EVP_MD_CTX_create(); in opensslecdsa_createctx()
91 if (evp_md_ctx == NULL) { in opensslecdsa_createctx()
101 EVP_MD_CTX_destroy(evp_md_ctx); in opensslecdsa_createctx()
106 dctx->ctxdata.evp_md_ctx = evp_md_ctx; in opensslecdsa_createctx()
113 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslecdsa_destroyctx() local
118 if (evp_md_ctx != NULL) { in opensslecdsa_destroyctx()
119 EVP_MD_CTX_destroy(evp_md_ctx); in opensslecdsa_destroyctx()
126 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslecdsa_adddata() local
156 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslecdsa_sign() local
[all …]
H A Dopensslrsa_link.c188 EVP_MD_CTX *evp_md_ctx; in opensslrsa_createctx() local
227 evp_md_ctx = EVP_MD_CTX_create(); in opensslrsa_createctx()
228 if (evp_md_ctx == NULL) { in opensslrsa_createctx()
249 EVP_MD_CTX_destroy(evp_md_ctx); in opensslrsa_createctx()
253 dctx->ctxdata.evp_md_ctx = evp_md_ctx; in opensslrsa_createctx()
260 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslrsa_destroyctx() local
267 if (evp_md_ctx != NULL) { in opensslrsa_destroyctx()
268 EVP_MD_CTX_destroy(evp_md_ctx); in opensslrsa_destroyctx()
275 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslrsa_adddata() local
294 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslrsa_sign() local
[all …]
/dports/dns/bind916/bind-9.16.27/lib/dns/
H A Dopensslecdsa_link.c83 EVP_MD_CTX *evp_md_ctx; in opensslecdsa_createctx() local
90 evp_md_ctx = EVP_MD_CTX_create(); in opensslecdsa_createctx()
91 if (evp_md_ctx == NULL) { in opensslecdsa_createctx()
101 EVP_MD_CTX_destroy(evp_md_ctx); in opensslecdsa_createctx()
106 dctx->ctxdata.evp_md_ctx = evp_md_ctx; in opensslecdsa_createctx()
113 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslecdsa_destroyctx() local
118 if (evp_md_ctx != NULL) { in opensslecdsa_destroyctx()
119 EVP_MD_CTX_destroy(evp_md_ctx); in opensslecdsa_destroyctx()
126 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslecdsa_adddata() local
156 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslecdsa_sign() local
[all …]
H A Dopensslrsa_link.c188 EVP_MD_CTX *evp_md_ctx; in opensslrsa_createctx() local
227 evp_md_ctx = EVP_MD_CTX_create(); in opensslrsa_createctx()
228 if (evp_md_ctx == NULL) { in opensslrsa_createctx()
249 EVP_MD_CTX_destroy(evp_md_ctx); in opensslrsa_createctx()
253 dctx->ctxdata.evp_md_ctx = evp_md_ctx; in opensslrsa_createctx()
260 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslrsa_destroyctx() local
267 if (evp_md_ctx != NULL) { in opensslrsa_destroyctx()
268 EVP_MD_CTX_destroy(evp_md_ctx); in opensslrsa_destroyctx()
275 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslrsa_adddata() local
294 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslrsa_sign() local
[all …]
/dports/dns/samba-nsupdate/bind-9.16.5/lib/dns/
H A Dopensslecdsa_link.c81 EVP_MD_CTX *evp_md_ctx; in opensslecdsa_createctx() local
88 evp_md_ctx = EVP_MD_CTX_create(); in opensslecdsa_createctx()
89 if (evp_md_ctx == NULL) { in opensslecdsa_createctx()
99 EVP_MD_CTX_destroy(evp_md_ctx); in opensslecdsa_createctx()
104 dctx->ctxdata.evp_md_ctx = evp_md_ctx; in opensslecdsa_createctx()
111 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslecdsa_destroyctx() local
116 if (evp_md_ctx != NULL) { in opensslecdsa_destroyctx()
117 EVP_MD_CTX_destroy(evp_md_ctx); in opensslecdsa_destroyctx()
124 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslecdsa_adddata() local
154 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslecdsa_sign() local
[all …]
H A Dopensslrsa_link.c186 EVP_MD_CTX *evp_md_ctx; in opensslrsa_createctx() local
225 evp_md_ctx = EVP_MD_CTX_create(); in opensslrsa_createctx()
226 if (evp_md_ctx == NULL) { in opensslrsa_createctx()
247 EVP_MD_CTX_destroy(evp_md_ctx); in opensslrsa_createctx()
251 dctx->ctxdata.evp_md_ctx = evp_md_ctx; in opensslrsa_createctx()
258 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslrsa_destroyctx() local
265 if (evp_md_ctx != NULL) { in opensslrsa_destroyctx()
266 EVP_MD_CTX_destroy(evp_md_ctx); in opensslrsa_destroyctx()
273 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslrsa_adddata() local
292 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslrsa_sign() local
[all …]
/dports/dns/bind9-devel/bind9-e112afa15668bd3b1baed59df2d21e01b46da15e/lib/dns/
H A Dopensslecdsa_link.c78 EVP_MD_CTX *evp_md_ctx; in opensslecdsa_createctx() local
85 evp_md_ctx = EVP_MD_CTX_create(); in opensslecdsa_createctx()
86 if (evp_md_ctx == NULL) { in opensslecdsa_createctx()
96 EVP_MD_CTX_destroy(evp_md_ctx); in opensslecdsa_createctx()
101 dctx->ctxdata.evp_md_ctx = evp_md_ctx; in opensslecdsa_createctx()
108 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslecdsa_destroyctx() local
113 if (evp_md_ctx != NULL) { in opensslecdsa_destroyctx()
114 EVP_MD_CTX_destroy(evp_md_ctx); in opensslecdsa_destroyctx()
121 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslecdsa_adddata() local
151 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslecdsa_sign() local
[all …]
H A Dopensslrsa_link.c175 EVP_MD_CTX *evp_md_ctx; in opensslrsa_createctx() local
214 evp_md_ctx = EVP_MD_CTX_create(); in opensslrsa_createctx()
215 if (evp_md_ctx == NULL) { in opensslrsa_createctx()
236 EVP_MD_CTX_destroy(evp_md_ctx); in opensslrsa_createctx()
240 dctx->ctxdata.evp_md_ctx = evp_md_ctx; in opensslrsa_createctx()
247 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslrsa_destroyctx() local
254 if (evp_md_ctx != NULL) { in opensslrsa_destroyctx()
255 EVP_MD_CTX_destroy(evp_md_ctx); in opensslrsa_destroyctx()
262 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslrsa_adddata() local
281 EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx; in opensslrsa_sign() local
[all …]
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/crypto/c_src/
H A Dhash.c35 struct evp_md_ctx { struct
42 static void evp_md_ctx_dtor(ErlNifEnv* env, struct evp_md_ctx *ctx) { in evp_md_ctx_dtor() argument
140 struct evp_md_ctx *ctx = NULL; in hash_init_nif()
150 if ((ctx = enif_alloc_resource(evp_md_ctx_rtype, sizeof(struct evp_md_ctx))) == NULL) in hash_init_nif()
174 struct evp_md_ctx *ctx, *new_ctx = NULL; in hash_update_nif()
185 if ((new_ctx = enif_alloc_resource(evp_md_ctx_rtype, sizeof(struct evp_md_ctx))) == NULL) in hash_update_nif()
212 struct evp_md_ctx *ctx; in hash_final_nif()
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/crypto/c_src/
H A Dhash.c35 struct evp_md_ctx { struct
42 static void evp_md_ctx_dtor(ErlNifEnv* env, struct evp_md_ctx *ctx) { in evp_md_ctx_dtor() argument
140 struct evp_md_ctx *ctx = NULL; in hash_init_nif()
150 if ((ctx = enif_alloc_resource(evp_md_ctx_rtype, sizeof(struct evp_md_ctx))) == NULL) in hash_init_nif()
174 struct evp_md_ctx *ctx, *new_ctx = NULL; in hash_update_nif()
185 if ((new_ctx = enif_alloc_resource(evp_md_ctx_rtype, sizeof(struct evp_md_ctx))) == NULL) in hash_update_nif()
212 struct evp_md_ctx *ctx; in hash_final_nif()
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/crypto/c_src/
H A Dhash.c35 struct evp_md_ctx { struct
42 static void evp_md_ctx_dtor(ErlNifEnv* env, struct evp_md_ctx *ctx) { in evp_md_ctx_dtor() argument
140 struct evp_md_ctx *ctx = NULL; in hash_init_nif()
150 if ((ctx = enif_alloc_resource(evp_md_ctx_rtype, sizeof(struct evp_md_ctx))) == NULL) in hash_init_nif()
174 struct evp_md_ctx *ctx, *new_ctx = NULL; in hash_update_nif()
185 if ((new_ctx = enif_alloc_resource(evp_md_ctx_rtype, sizeof(struct evp_md_ctx))) == NULL) in hash_update_nif()
212 struct evp_md_ctx *ctx; in hash_final_nif()
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/crypto/c_src/
H A Dhash.c35 struct evp_md_ctx { struct
42 static void evp_md_ctx_dtor(ErlNifEnv* env, struct evp_md_ctx *ctx) { in evp_md_ctx_dtor() argument
140 struct evp_md_ctx *ctx = NULL; in hash_init_nif()
150 if ((ctx = enif_alloc_resource(evp_md_ctx_rtype, sizeof(struct evp_md_ctx))) == NULL) in hash_init_nif()
174 struct evp_md_ctx *ctx, *new_ctx = NULL; in hash_update_nif()
185 if ((new_ctx = enif_alloc_resource(evp_md_ctx_rtype, sizeof(struct evp_md_ctx))) == NULL) in hash_update_nif()
212 struct evp_md_ctx *ctx; in hash_final_nif()
/dports/lang/erlang/otp-OTP-24.1.7/lib/crypto/c_src/
H A Dhash.c35 struct evp_md_ctx { struct
42 static void evp_md_ctx_dtor(ErlNifEnv* env, struct evp_md_ctx *ctx) { in evp_md_ctx_dtor() argument
140 struct evp_md_ctx *ctx = NULL; in hash_init_nif()
150 if ((ctx = enif_alloc_resource(evp_md_ctx_rtype, sizeof(struct evp_md_ctx))) == NULL) in hash_init_nif()
174 struct evp_md_ctx *ctx, *new_ctx = NULL; in hash_update_nif()
185 if ((new_ctx = enif_alloc_resource(evp_md_ctx_rtype, sizeof(struct evp_md_ctx))) == NULL) in hash_update_nif()
212 struct evp_md_ctx *ctx; in hash_final_nif()
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/crypto/c_src/
H A Dhash.c35 struct evp_md_ctx { struct
42 static void evp_md_ctx_dtor(ErlNifEnv* env, struct evp_md_ctx *ctx) { in evp_md_ctx_dtor() argument
140 struct evp_md_ctx *ctx = NULL; in hash_init_nif()
150 if ((ctx = enif_alloc_resource(evp_md_ctx_rtype, sizeof(struct evp_md_ctx))) == NULL) in hash_init_nif()
174 struct evp_md_ctx *ctx, *new_ctx = NULL; in hash_update_nif()
185 if ((new_ctx = enif_alloc_resource(evp_md_ctx_rtype, sizeof(struct evp_md_ctx))) == NULL) in hash_update_nif()
212 struct evp_md_ctx *ctx; in hash_final_nif()

12