Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 1950) sorted by relevance

12345678910>>...78

/freebsd/contrib/libarchive/libarchive/
H A Darchive_digest.c58 win_crypto_init(Digest_CTX *ctx, const WCHAR *algo) in win_crypto_init() argument
77 win_crypto_init(Digest_CTX *ctx, DWORD prov, ALG_ID algId) in win_crypto_init() argument
104 win_crypto_Update(Digest_CTX * ctx,const unsigned char * buf,size_t len) win_crypto_Update() argument
123 win_crypto_Final(unsigned char * buf,size_t bufsize,Digest_CTX * ctx) win_crypto_Final() argument
152 __archive_md5init(archive_md5_ctx * ctx) __archive_md5init() argument
159 __archive_md5update(archive_md5_ctx * ctx,const void * indata,size_t insize) __archive_md5update() argument
167 __archive_md5final(archive_md5_ctx * ctx,void * md) __archive_md5final() argument
176 __archive_md5init(archive_md5_ctx * ctx) __archive_md5init() argument
183 __archive_md5update(archive_md5_ctx * ctx,const void * indata,size_t insize) __archive_md5update() argument
191 __archive_md5final(archive_md5_ctx * ctx,void * md) __archive_md5final() argument
200 __archive_md5init(archive_md5_ctx * ctx) __archive_md5init() argument
207 __archive_md5update(archive_md5_ctx * ctx,const void * indata,size_t insize) __archive_md5update() argument
215 __archive_md5final(archive_md5_ctx * ctx,void * md) __archive_md5final() argument
224 __archive_md5init(archive_md5_ctx * ctx) __archive_md5init() argument
234 __archive_md5update(archive_md5_ctx * ctx,const void * indata,size_t insize) __archive_md5update() argument
244 __archive_md5final(archive_md5_ctx * ctx,void * md) __archive_md5final() argument
258 __archive_md5init(archive_md5_ctx * ctx) __archive_md5init() argument
265 __archive_md5update(archive_md5_ctx * ctx,const void * indata,size_t insize) __archive_md5update() argument
273 __archive_md5final(archive_md5_ctx * ctx,void * md) __archive_md5final() argument
282 __archive_md5init(archive_md5_ctx * ctx) __archive_md5init() argument
292 __archive_md5update(archive_md5_ctx * ctx,const void * indata,size_t insize) __archive_md5update() argument
300 __archive_md5final(archive_md5_ctx * ctx,void * md) __archive_md5final() argument
317 __archive_md5init(archive_md5_ctx * ctx) __archive_md5init() argument
327 __archive_md5update(archive_md5_ctx * ctx,const void * indata,size_t insize) __archive_md5update() argument
334 __archive_md5final(archive_md5_ctx * ctx,void * md) __archive_md5final() argument
342 __archive_md5init(archive_md5_ctx * ctx) __archive_md5init() argument
349 __archive_md5update(archive_md5_ctx * ctx,const void * indata,size_t insize) __archive_md5update() argument
359 __archive_md5final(archive_md5_ctx * ctx,void * md) __archive_md5final() argument
372 __archive_ripemd160init(archive_rmd160_ctx * ctx) __archive_ripemd160init() argument
379 __archive_ripemd160update(archive_rmd160_ctx * ctx,const void * indata,size_t insize) __archive_ripemd160update() argument
387 __archive_ripemd160final(archive_rmd160_ctx * ctx,void * md) __archive_ripemd160final() argument
396 __archive_ripemd160init(archive_rmd160_ctx * ctx) __archive_ripemd160init() argument
403 __archive_ripemd160update(archive_rmd160_ctx * ctx,const void * indata,size_t insize) __archive_ripemd160update() argument
411 __archive_ripemd160final(archive_rmd160_ctx * ctx,void * md) __archive_ripemd160final() argument
420 __archive_ripemd160init(archive_rmd160_ctx * ctx) __archive_ripemd160init() argument
430 __archive_ripemd160update(archive_rmd160_ctx * ctx,const void * indata,size_t insize) __archive_ripemd160update() argument
440 __archive_ripemd160final(archive_rmd160_ctx * ctx,void * md) __archive_ripemd160final() argument
454 __archive_ripemd160init(archive_rmd160_ctx * ctx) __archive_ripemd160init() argument
461 __archive_ripemd160update(archive_rmd160_ctx * ctx,const void * indata,size_t insize) __archive_ripemd160update() argument
469 __archive_ripemd160final(archive_rmd160_ctx * ctx,void * md) __archive_ripemd160final() argument
478 __archive_ripemd160init(archive_rmd160_ctx * ctx) __archive_ripemd160init() argument
488 __archive_ripemd160update(archive_rmd160_ctx * ctx,const void * indata,size_t insize) __archive_ripemd160update() argument
496 __archive_ripemd160final(archive_rmd160_ctx * ctx,void * md) __archive_ripemd160final() argument
509 __archive_ripemd160init(archive_rmd160_ctx * ctx) __archive_ripemd160init() argument
516 __archive_ripemd160update(archive_rmd160_ctx * ctx,const void * indata,size_t insize) __archive_ripemd160update() argument
526 __archive_ripemd160final(archive_rmd160_ctx * ctx,void * md) __archive_ripemd160final() argument
539 __archive_sha1init(archive_sha1_ctx * ctx) __archive_sha1init() argument
546 __archive_sha1update(archive_sha1_ctx * ctx,const void * indata,size_t insize) __archive_sha1update() argument
554 __archive_sha1final(archive_sha1_ctx * ctx,void * md) __archive_sha1final() argument
563 __archive_sha1init(archive_sha1_ctx * ctx) __archive_sha1init() argument
570 __archive_sha1update(archive_sha1_ctx * ctx,const void * indata,size_t insize) __archive_sha1update() argument
578 __archive_sha1final(archive_sha1_ctx * ctx,void * md) __archive_sha1final() argument
587 __archive_sha1init(archive_sha1_ctx * ctx) __archive_sha1init() argument
594 __archive_sha1update(archive_sha1_ctx * ctx,const void * indata,size_t insize) __archive_sha1update() argument
602 __archive_sha1final(archive_sha1_ctx * ctx,void * md) __archive_sha1final() argument
611 __archive_sha1init(archive_sha1_ctx * ctx) __archive_sha1init() argument
621 __archive_sha1update(archive_sha1_ctx * ctx,const void * indata,size_t insize) __archive_sha1update() argument
631 __archive_sha1final(archive_sha1_ctx * ctx,void * md) __archive_sha1final() argument
645 __archive_sha1init(archive_sha1_ctx * ctx) __archive_sha1init() argument
652 __archive_sha1update(archive_sha1_ctx * ctx,const void * indata,size_t insize) __archive_sha1update() argument
660 __archive_sha1final(archive_sha1_ctx * ctx,void * md) __archive_sha1final() argument
669 __archive_sha1init(archive_sha1_ctx * ctx) __archive_sha1init() argument
679 __archive_sha1update(archive_sha1_ctx * ctx,const void * indata,size_t insize) __archive_sha1update() argument
687 __archive_sha1final(archive_sha1_ctx * ctx,void * md) __archive_sha1final() argument
704 __archive_sha1init(archive_sha1_ctx * ctx) __archive_sha1init() argument
714 __archive_sha1update(archive_sha1_ctx * ctx,const void * indata,size_t insize) __archive_sha1update() argument
721 __archive_sha1final(archive_sha1_ctx * ctx,void * md) __archive_sha1final() argument
729 __archive_sha1init(archive_sha1_ctx * ctx) __archive_sha1init() argument
736 __archive_sha1update(archive_sha1_ctx * ctx,const void * indata,size_t insize) __archive_sha1update() argument
746 __archive_sha1final(archive_sha1_ctx * ctx,void * md) __archive_sha1final() argument
759 __archive_sha256init(archive_sha256_ctx * ctx) __archive_sha256init() argument
766 __archive_sha256update(archive_sha256_ctx * ctx,const void * indata,size_t insize) __archive_sha256update() argument
774 __archive_sha256final(archive_sha256_ctx * ctx,void * md) __archive_sha256final() argument
783 __archive_sha256init(archive_sha256_ctx * ctx) __archive_sha256init() argument
790 __archive_sha256update(archive_sha256_ctx * ctx,const void * indata,size_t insize) __archive_sha256update() argument
798 __archive_sha256final(archive_sha256_ctx * ctx,void * md) __archive_sha256final() argument
807 __archive_sha256init(archive_sha256_ctx * ctx) __archive_sha256init() argument
814 __archive_sha256update(archive_sha256_ctx * ctx,const void * indata,size_t insize) __archive_sha256update() argument
822 __archive_sha256final(archive_sha256_ctx * ctx,void * md) __archive_sha256final() argument
831 __archive_sha256init(archive_sha256_ctx * ctx) __archive_sha256init() argument
838 __archive_sha256update(archive_sha256_ctx * ctx,const void * indata,size_t insize) __archive_sha256update() argument
846 __archive_sha256final(archive_sha256_ctx * ctx,void * md) __archive_sha256final() argument
855 __archive_sha256init(archive_sha256_ctx * ctx) __archive_sha256init() argument
862 __archive_sha256update(archive_sha256_ctx * ctx,const void * indata,size_t insize) __archive_sha256update() argument
870 __archive_sha256final(archive_sha256_ctx * ctx,void * md) __archive_sha256final() argument
879 __archive_sha256init(archive_sha256_ctx * ctx) __archive_sha256init() argument
889 __archive_sha256update(archive_sha256_ctx * ctx,const void * indata,size_t insize) __archive_sha256update() argument
899 __archive_sha256final(archive_sha256_ctx * ctx,void * md) __archive_sha256final() argument
913 __archive_sha256init(archive_sha256_ctx * ctx) __archive_sha256init() argument
920 __archive_sha256update(archive_sha256_ctx * ctx,const void * indata,size_t insize) __archive_sha256update() argument
928 __archive_sha256final(archive_sha256_ctx * ctx,void * md) __archive_sha256final() argument
937 __archive_sha256init(archive_sha256_ctx * ctx) __archive_sha256init() argument
947 __archive_sha256update(archive_sha256_ctx * ctx,const void * indata,size_t insize) __archive_sha256update() argument
955 __archive_sha256final(archive_sha256_ctx * ctx,void * md) __archive_sha256final() argument
968 __archive_sha256init(archive_sha256_ctx * ctx) __archive_sha256init() argument
978 __archive_sha256update(archive_sha256_ctx * ctx,const void * indata,size_t insize) __archive_sha256update() argument
985 __archive_sha256final(archive_sha256_ctx * ctx,void * md) __archive_sha256final() argument
993 __archive_sha256init(archive_sha256_ctx * ctx) __archive_sha256init() argument
1000 __archive_sha256update(archive_sha256_ctx * ctx,const void * indata,size_t insize) __archive_sha256update() argument
1010 __archive_sha256final(archive_sha256_ctx * ctx,void * md) __archive_sha256final() argument
1023 __archive_sha384init(archive_sha384_ctx * ctx) __archive_sha384init() argument
1030 __archive_sha384update(archive_sha384_ctx * ctx,const void * indata,size_t insize) __archive_sha384update() argument
1038 __archive_sha384final(archive_sha384_ctx * ctx,void * md) __archive_sha384final() argument
1047 __archive_sha384init(archive_sha384_ctx * ctx) __archive_sha384init() argument
1054 __archive_sha384update(archive_sha384_ctx * ctx,const void * indata,size_t insize) __archive_sha384update() argument
1062 __archive_sha384final(archive_sha384_ctx * ctx,void * md) __archive_sha384final() argument
1071 __archive_sha384init(archive_sha384_ctx * ctx) __archive_sha384init() argument
1078 __archive_sha384update(archive_sha384_ctx * ctx,const void * indata,size_t insize) __archive_sha384update() argument
1086 __archive_sha384final(archive_sha384_ctx * ctx,void * md) __archive_sha384final() argument
1095 __archive_sha384init(archive_sha384_ctx * ctx) __archive_sha384init() argument
1102 __archive_sha384update(archive_sha384_ctx * ctx,const void * indata,size_t insize) __archive_sha384update() argument
1110 __archive_sha384final(archive_sha384_ctx * ctx,void * md) __archive_sha384final() argument
1119 __archive_sha384init(archive_sha384_ctx * ctx) __archive_sha384init() argument
1129 __archive_sha384update(archive_sha384_ctx * ctx,const void * indata,size_t insize) __archive_sha384update() argument
1139 __archive_sha384final(archive_sha384_ctx * ctx,void * md) __archive_sha384final() argument
1153 __archive_sha384init(archive_sha384_ctx * ctx) __archive_sha384init() argument
1160 __archive_sha384update(archive_sha384_ctx * ctx,const void * indata,size_t insize) __archive_sha384update() argument
1168 __archive_sha384final(archive_sha384_ctx * ctx,void * md) __archive_sha384final() argument
1177 __archive_sha384init(archive_sha384_ctx * ctx) __archive_sha384init() argument
1187 __archive_sha384update(archive_sha384_ctx * ctx,const void * indata,size_t insize) __archive_sha384update() argument
1195 __archive_sha384final(archive_sha384_ctx * ctx,void * md) __archive_sha384final() argument
1208 __archive_sha384init(archive_sha384_ctx * ctx) __archive_sha384init() argument
1218 __archive_sha384update(archive_sha384_ctx * ctx,const void * indata,size_t insize) __archive_sha384update() argument
1225 __archive_sha384final(archive_sha384_ctx * ctx,void * md) __archive_sha384final() argument
1233 __archive_sha384init(archive_sha384_ctx * ctx) __archive_sha384init() argument
1240 __archive_sha384update(archive_sha384_ctx * ctx,const void * indata,size_t insize) __archive_sha384update() argument
1250 __archive_sha384final(archive_sha384_ctx * ctx,void * md) __archive_sha384final() argument
1263 __archive_sha512init(archive_sha512_ctx * ctx) __archive_sha512init() argument
1270 __archive_sha512update(archive_sha512_ctx * ctx,const void * indata,size_t insize) __archive_sha512update() argument
1278 __archive_sha512final(archive_sha512_ctx * ctx,void * md) __archive_sha512final() argument
1287 __archive_sha512init(archive_sha512_ctx * ctx) __archive_sha512init() argument
1294 __archive_sha512update(archive_sha512_ctx * ctx,const void * indata,size_t insize) __archive_sha512update() argument
1302 __archive_sha512final(archive_sha512_ctx * ctx,void * md) __archive_sha512final() argument
1311 __archive_sha512init(archive_sha512_ctx * ctx) __archive_sha512init() argument
1318 __archive_sha512update(archive_sha512_ctx * ctx,const void * indata,size_t insize) __archive_sha512update() argument
1326 __archive_sha512final(archive_sha512_ctx * ctx,void * md) __archive_sha512final() argument
1335 __archive_sha512init(archive_sha512_ctx * ctx) __archive_sha512init() argument
1342 __archive_sha512update(archive_sha512_ctx * ctx,const void * indata,size_t insize) __archive_sha512update() argument
1350 __archive_sha512final(archive_sha512_ctx * ctx,void * md) __archive_sha512final() argument
1359 __archive_sha512init(archive_sha512_ctx * ctx) __archive_sha512init() argument
1366 __archive_sha512update(archive_sha512_ctx * ctx,const void * indata,size_t insize) __archive_sha512update() argument
1374 __archive_sha512final(archive_sha512_ctx * ctx,void * md) __archive_sha512final() argument
1383 __archive_sha512init(archive_sha512_ctx * ctx) __archive_sha512init() argument
1393 __archive_sha512update(archive_sha512_ctx * ctx,const void * indata,size_t insize) __archive_sha512update() argument
1403 __archive_sha512final(archive_sha512_ctx * ctx,void * md) __archive_sha512final() argument
1417 __archive_sha512init(archive_sha512_ctx * ctx) __archive_sha512init() argument
1424 __archive_sha512update(archive_sha512_ctx * ctx,const void * indata,size_t insize) __archive_sha512update() argument
1432 __archive_sha512final(archive_sha512_ctx * ctx,void * md) __archive_sha512final() argument
1441 __archive_sha512init(archive_sha512_ctx * ctx) __archive_sha512init() argument
1451 __archive_sha512update(archive_sha512_ctx * ctx,const void * indata,size_t insize) __archive_sha512update() argument
1459 __archive_sha512final(archive_sha512_ctx * ctx,void * md) __archive_sha512final() argument
1472 __archive_sha512init(archive_sha512_ctx * ctx) __archive_sha512init() argument
1482 __archive_sha512update(archive_sha512_ctx * ctx,const void * indata,size_t insize) __archive_sha512update() argument
1489 __archive_sha512final(archive_sha512_ctx * ctx,void * md) __archive_sha512final() argument
1497 __archive_sha512init(archive_sha512_ctx * ctx) __archive_sha512init() argument
1504 __archive_sha512update(archive_sha512_ctx * ctx,const void * indata,size_t insize) __archive_sha512update() argument
1514 __archive_sha512final(archive_sha512_ctx * ctx,void * md) __archive_sha512final() argument
[all...]
H A Darchive_hmac.c51 __hmac_sha1_init(archive_hmac_sha1_ctx *ctx, const uint8_t *key, size_t key_len) in __hmac_sha1_init()
58 __hmac_sha1_update(archive_hmac_sha1_ctx *ctx, const uint8_t *data, in __hmac_sha1_update()
65 __hmac_sha1_final(archive_hmac_sha1_ctx *ctx, uint8_t *out, size_t *out_len) in __hmac_sha1_final()
72 __hmac_sha1_cleanup(archive_hmac_sha1_ctx *ctx) in __hmac_sha1_cleanup()
84 __hmac_sha1_init(archive_hmac_sha1_ctx *ctx, const uint8_t *key, size_t key_len) in __hmac_sha1_init()
129 __hmac_sha1_update(archive_hmac_sha1_ctx *ctx, const uint8_t *data, in __hmac_sha1_update()
136 __hmac_sha1_final(archive_hmac_sha1_ctx *ctx, uint8_t *out, size_t *out_len) in __hmac_sha1_final()
144 __hmac_sha1_cleanup(archive_hmac_sha1_ctx *ctx) in __hmac_sha1_cleanup()
156 __hmac_sha1_init(archive_hmac_sha1_ctx *ctx, const uint8_t *key, size_t key_len) in __hmac_sha1_init()
181 __hmac_sha1_update(archive_hmac_sha1_ctx *ctx, const uint8_t *data, in __hmac_sha1_update()
[all …]
/freebsd/contrib/arm-optimized-routines/math/test/rtest/
H A Dwrappers.c14 void wrapper_init(wrapperctx *ctx) in wrapper_init()
29 void wrapper_op_real(wrapperctx *ctx, const mpfr_t r, in wrapper_op_real()
39 void wrapper_op_complex(wrapperctx *ctx, const mpc_t c, in wrapper_op_complex()
49 void wrapper_result_real(wrapperctx *ctx, mpfr_t r, in wrapper_result_real()
59 void wrapper_result_complex(wrapperctx *ctx, mpc_t c, in wrapper_result_complex()
69 int wrapper_run(wrapperctx *ctx, wrapperfunc wrappers[MAXWRAPPERS]) in wrapper_run()
78 mpfr_srcptr wrapper_get_mpfr(wrapperctx *ctx, int op) in wrapper_get_mpfr()
89 const uint32 *wrapper_get_ieee(wrapperctx *ctx, int op) in wrapper_get_ieee()
100 int wrapper_get_nops(wrapperctx *ctx) in wrapper_get_nops()
105 int wrapper_get_size(wrapperctx *ctx, int op) in wrapper_get_size()
[all …]
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_ctx.c26 X509_STORE *OSSL_CMP_CTX_get0_trustedStore(const OSSL_CMP_CTX *ctx) in OSSL_CMP_CTX_get0_trustedStore()
40 int OSSL_CMP_CTX_set0_trustedStore(OSSL_CMP_CTX *ctx, X509_STORE *store) in OSSL_CMP_CTX_set0_trustedStore()
65 int OSSL_CMP_CTX_set1_untrusted(OSSL_CMP_CTX *ctx, STACK_OF(X509) *certs) in OSSL_CMP_CTX_set1_untrusted()
84 static int cmp_ctx_set_md(OSSL_CMP_CTX *ctx, EVP_MD **pmd, int nid) in cmp_ctx_set_md()
104 OSSL_CMP_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in OSSL_CMP_CTX_new() local
153 int OSSL_CMP_CTX_reinit(OSSL_CMP_CTX *ctx) in OSSL_CMP_CTX_reinit()
183 void OSSL_CMP_CTX_free(OSSL_CMP_CTX *ctx) in OSSL_CMP_CTX_free()
241 int ossl_cmp_ctx_set_status(OSSL_CMP_CTX *ctx, int status) in ossl_cmp_ctx_set_status()
253 int OSSL_CMP_CTX_get_status(const OSSL_CMP_CTX *ctx) in OSSL_CMP_CTX_get_status()
266 OSSL_CMP_PKIFREETEXT *OSSL_CMP_CTX_get0_statusString(const OSSL_CMP_CTX *ctx) in OSSL_CMP_CTX_get0_statusString()
[all …]
/freebsd/crypto/openssl/crypto/evp/
H A Dpmeth_lib.c160 int evp_pkey_ctx_state(const EVP_PKEY_CTX *ctx) in evp_pkey_ctx_state()
378 void evp_pkey_ctx_free_old_ops(EVP_PKEY_CTX *ctx) in evp_pkey_ctx_free_old_ops()
411 void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx) in EVP_PKEY_CTX_free()
680 int EVP_PKEY_CTX_is_a(EVP_PKEY_CTX *ctx, const char *keytype) in EVP_PKEY_CTX_is_a()
689 int EVP_PKEY_CTX_set_params(EVP_PKEY_CTX *ctx, const OSSL_PARAM *params) in EVP_PKEY_CTX_set_params()
733 int EVP_PKEY_CTX_get_params(EVP_PKEY_CTX *ctx, OSSL_PARAM *params) in EVP_PKEY_CTX_get_params()
772 const OSSL_PARAM *EVP_PKEY_CTX_gettable_params(const EVP_PKEY_CTX *ctx) in EVP_PKEY_CTX_gettable_params()
809 const OSSL_PARAM *EVP_PKEY_CTX_settable_params(const EVP_PKEY_CTX *ctx) in EVP_PKEY_CTX_settable_params()
865 int evp_pkey_ctx_set_params_strict(EVP_PKEY_CTX *ctx, OSSL_PARAM *params) in evp_pkey_ctx_set_params_strict()
890 int evp_pkey_ctx_get_params_strict(EVP_PKEY_CTX *ctx, OSSL_PARAM *params) in evp_pkey_ctx_get_params_strict()
[all …]
H A Ddh_ctrl.c19 static int dh_paramgen_check(EVP_PKEY_CTX *ctx) in dh_paramgen_check()
34 static int dh_param_derive_check(EVP_PKEY_CTX *ctx) in dh_param_derive_check()
49 int EVP_PKEY_CTX_set_dh_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex) in EVP_PKEY_CTX_set_dh_paramgen_gindex()
63 int EVP_PKEY_CTX_set_dh_paramgen_seed(EVP_PKEY_CTX *ctx, in EVP_PKEY_CTX_set_dh_paramgen_seed()
84 int EVP_PKEY_CTX_set_dh_paramgen_type(EVP_PKEY_CTX *ctx, int typ) in EVP_PKEY_CTX_set_dh_paramgen_type()
90 int EVP_PKEY_CTX_set_dh_paramgen_prime_len(EVP_PKEY_CTX *ctx, int pbits) in EVP_PKEY_CTX_set_dh_paramgen_prime_len()
104 int EVP_PKEY_CTX_set_dh_paramgen_subprime_len(EVP_PKEY_CTX *ctx, int qbits) in EVP_PKEY_CTX_set_dh_paramgen_subprime_len()
119 int EVP_PKEY_CTX_set_dh_paramgen_generator(EVP_PKEY_CTX *ctx, int gen) in EVP_PKEY_CTX_set_dh_paramgen_generator()
137 int EVP_PKEY_CTX_set_dh_rfc5114(EVP_PKEY_CTX *ctx, int gen) in EVP_PKEY_CTX_set_dh_rfc5114()
143 int EVP_PKEY_CTX_set_dhx_rfc5114(EVP_PKEY_CTX *ctx, int gen) in EVP_PKEY_CTX_set_dhx_rfc5114()
[all …]
H A Dpmeth_check.c28 static int try_provided_check(EVP_PKEY_CTX *ctx, int selection, int checktype) in try_provided_check()
47 static int evp_pkey_public_check_combined(EVP_PKEY_CTX *ctx, int checktype) in evp_pkey_public_check_combined()
81 int EVP_PKEY_public_check(EVP_PKEY_CTX *ctx) in EVP_PKEY_public_check()
86 int EVP_PKEY_public_check_quick(EVP_PKEY_CTX *ctx) in EVP_PKEY_public_check_quick()
91 static int evp_pkey_param_check_combined(EVP_PKEY_CTX *ctx, int checktype) in evp_pkey_param_check_combined()
126 int EVP_PKEY_param_check(EVP_PKEY_CTX *ctx) in EVP_PKEY_param_check()
131 int EVP_PKEY_param_check_quick(EVP_PKEY_CTX *ctx) in EVP_PKEY_param_check_quick()
136 int EVP_PKEY_private_check(EVP_PKEY_CTX *ctx) in EVP_PKEY_private_check()
155 int EVP_PKEY_check(EVP_PKEY_CTX *ctx) in EVP_PKEY_check()
160 int EVP_PKEY_pairwise_check(EVP_PKEY_CTX *ctx) in EVP_PKEY_pairwise_check()
H A Dec_ctrl.c24 int evp_pkey_ctx_getset_ecdh_param_checks(const EVP_PKEY_CTX *ctx) in evp_pkey_ctx_getset_ecdh_param_checks()
40 int EVP_PKEY_CTX_set_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx, int cofactor_mode) in EVP_PKEY_CTX_set_ecdh_cofactor_mode()
70 int EVP_PKEY_CTX_get_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx) in EVP_PKEY_CTX_get_ecdh_cofactor_mode()
111 int EVP_PKEY_CTX_set_ecdh_kdf_type(EVP_PKEY_CTX *ctx, int kdf) in EVP_PKEY_CTX_set_ecdh_kdf_type()
121 int EVP_PKEY_CTX_get_ecdh_kdf_type(EVP_PKEY_CTX *ctx) in EVP_PKEY_CTX_get_ecdh_kdf_type()
131 int EVP_PKEY_CTX_set_ecdh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) in EVP_PKEY_CTX_set_ecdh_kdf_md()
141 int EVP_PKEY_CTX_get_ecdh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD **pmd) in EVP_PKEY_CTX_get_ecdh_kdf_md()
147 int EVP_PKEY_CTX_set_ecdh_kdf_outlen(EVP_PKEY_CTX *ctx, int outlen) in EVP_PKEY_CTX_set_ecdh_kdf_outlen()
176 int EVP_PKEY_CTX_get_ecdh_kdf_outlen(EVP_PKEY_CTX *ctx, int *plen) in EVP_PKEY_CTX_get_ecdh_kdf_outlen()
210 int EVP_PKEY_CTX_set0_ecdh_kdf_ukm(EVP_PKEY_CTX *ctx, unsigned char *ukm, int len) in EVP_PKEY_CTX_set0_ecdh_kdf_ukm()
[all …]
/freebsd/tests/sys/netmap/
H A Dctrl-api-test.c192 port_info_get(struct TestContext *ctx) in port_info_get()
236 port_register(struct TestContext *ctx) in port_register()
316 niocregif(struct TestContext *ctx, int netmap_api) in niocregif()
393 legacy_regif_default(struct TestContext *ctx) in legacy_regif_default()
399 legacy_regif_all_nic(struct TestContext *ctx) in legacy_regif_all_nic()
406 legacy_regif_12(struct TestContext *ctx) in legacy_regif_12()
413 legacy_regif_sw(struct TestContext *ctx) in legacy_regif_sw()
420 legacy_regif_future(struct TestContext *ctx) in legacy_regif_future()
430 legacy_regif_extra_bufs(struct TestContext *ctx) in legacy_regif_extra_bufs()
438 legacy_regif_extra_bufs_pipe(struct TestContext *ctx) in legacy_regif_extra_bufs_pipe()
[all …]
/freebsd/crypto/openssl/crypto/ts/
H A Dts_rsp_sign.c43 static ASN1_INTEGER *def_serial_cb(struct TS_resp_ctx *ctx, void *data) in def_serial_cb()
63 static int def_time_cb(struct TS_resp_ctx *ctx, void *data, in def_time_cb()
82 static int def_time_cb(struct TS_resp_ctx *ctx, void *data, in def_time_cb()
101 static int def_extension_cb(struct TS_resp_ctx *ctx, X509_EXTENSION *ext, in def_extension_cb()
114 TS_RESP_CTX *ctx; in TS_RESP_CTX_new_ex() local
142 void TS_RESP_CTX_free(TS_RESP_CTX *ctx) in TS_RESP_CTX_free()
160 int TS_RESP_CTX_set_signer_cert(TS_RESP_CTX *ctx, X509 *signer) in TS_RESP_CTX_set_signer_cert()
172 int TS_RESP_CTX_set_signer_key(TS_RESP_CTX *ctx, EVP_PKEY *key) in TS_RESP_CTX_set_signer_key()
181 int TS_RESP_CTX_set_signer_digest(TS_RESP_CTX *ctx, const EVP_MD *md) in TS_RESP_CTX_set_signer_digest()
187 int TS_RESP_CTX_set_def_policy(TS_RESP_CTX *ctx, const ASN1_OBJECT *def_policy) in TS_RESP_CTX_set_def_policy()
[all …]
H A Dts_verify_ctx.c17 TS_VERIFY_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in TS_VERIFY_CTX_new() local
24 void TS_VERIFY_CTX_init(TS_VERIFY_CTX *ctx) in TS_VERIFY_CTX_init()
30 void TS_VERIFY_CTX_free(TS_VERIFY_CTX *ctx) in TS_VERIFY_CTX_free()
39 int TS_VERIFY_CTX_add_flags(TS_VERIFY_CTX *ctx, int f) in TS_VERIFY_CTX_add_flags()
45 int TS_VERIFY_CTX_set_flags(TS_VERIFY_CTX *ctx, int f) in TS_VERIFY_CTX_set_flags()
51 BIO *TS_VERIFY_CTX_set_data(TS_VERIFY_CTX *ctx, BIO *b) in TS_VERIFY_CTX_set_data()
57 X509_STORE *TS_VERIFY_CTX_set_store(TS_VERIFY_CTX *ctx, X509_STORE *s) in TS_VERIFY_CTX_set_store()
70 unsigned char *TS_VERIFY_CTX_set_imprint(TS_VERIFY_CTX *ctx, in TS_VERIFY_CTX_set_imprint()
79 void TS_VERIFY_CTX_cleanup(TS_VERIFY_CTX *ctx) in TS_VERIFY_CTX_cleanup()
101 TS_VERIFY_CTX *TS_REQ_to_TS_VERIFY_CTX(TS_REQ *req, TS_VERIFY_CTX *ctx) in TS_REQ_to_TS_VERIFY_CTX()
/freebsd/contrib/libcbor/src/cbor/internal/
H A Dbuilder_callbacks.c25 struct _cbor_decoder_context *ctx) { in _cbor_builder_append() argument
116 CHECK_RES(ctx,res) global() argument
126 CHECK_LENGTH(ctx,length) global() argument
134 PUSH_CTX_STACK(ctx,res,subitems) global() argument
143 struct _cbor_decoder_context *ctx = context; cbor_builder_uint8_callback() local
152 struct _cbor_decoder_context *ctx = context; cbor_builder_uint16_callback() local
161 struct _cbor_decoder_context *ctx = context; cbor_builder_uint32_callback() local
170 struct _cbor_decoder_context *ctx = context; cbor_builder_uint64_callback() local
179 struct _cbor_decoder_context *ctx = context; cbor_builder_negint8_callback() local
188 struct _cbor_decoder_context *ctx = context; cbor_builder_negint16_callback() local
197 struct _cbor_decoder_context *ctx = context; cbor_builder_negint32_callback() local
206 struct _cbor_decoder_context *ctx = context; cbor_builder_negint64_callback() local
216 struct _cbor_decoder_context *ctx = context; cbor_builder_byte_string_callback() local
249 struct _cbor_decoder_context *ctx = context; cbor_builder_byte_string_start_callback() local
257 struct _cbor_decoder_context *ctx = context; cbor_builder_string_callback() local
300 struct _cbor_decoder_context *ctx = context; cbor_builder_string_start_callback() local
307 struct _cbor_decoder_context *ctx = context; cbor_builder_array_start_callback() local
319 struct _cbor_decoder_context *ctx = context; cbor_builder_indef_array_start_callback() local
326 struct _cbor_decoder_context *ctx = context; cbor_builder_indef_map_start_callback() local
333 struct _cbor_decoder_context *ctx = context; cbor_builder_map_start_callback() local
363 struct _cbor_decoder_context *ctx = context; cbor_builder_indef_break_callback() local
382 struct _cbor_decoder_context *ctx = context; cbor_builder_float2_callback() local
390 struct _cbor_decoder_context *ctx = context; cbor_builder_float4_callback() local
398 struct _cbor_decoder_context *ctx = context; cbor_builder_float8_callback() local
406 struct _cbor_decoder_context *ctx = context; cbor_builder_null_callback() local
413 struct _cbor_decoder_context *ctx = context; cbor_builder_undefined_callback() local
420 struct _cbor_decoder_context *ctx = context; cbor_builder_boolean_callback() local
427 struct _cbor_decoder_context *ctx = context; cbor_builder_tag_callback() local
[all...]
/freebsd/contrib/libder/libder/
H A Dlibder.c18 struct libder_ctx *ctx; in libder_open() local
36 libder_abort(struct libder_ctx *ctx) in libder_abort()
43 libder_get_buffer_size(struct libder_ctx *ctx) in libder_get_buffer_size()
60 libder_get_normalize(struct libder_ctx *ctx) in libder_get_normalize()
70 libder_set_normalize(struct libder_ctx *ctx, uint64_t nmask) in libder_set_normalize()
79 libder_get_strict(struct libder_ctx *ctx) in libder_get_strict()
86 libder_set_strict(struct libder_ctx *ctx, bool strict) in libder_set_strict()
95 libder_get_verbose(struct libder_ctx *ctx) in libder_get_verbose()
102 libder_set_verbose(struct libder_ctx *ctx, int verbose) in libder_set_verbose()
111 libder_close(struct libder_ctx *ctx) in libder_close()
/freebsd/crypto/openssl/crypto/ct/
H A Dct_policy.c31 CT_POLICY_EVAL_CTX *ctx = OPENSSL_zalloc(sizeof(CT_POLICY_EVAL_CTX)); in CT_POLICY_EVAL_CTX_new_ex() local
60 void CT_POLICY_EVAL_CTX_free(CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_free()
70 int CT_POLICY_EVAL_CTX_set1_cert(CT_POLICY_EVAL_CTX *ctx, X509 *cert) in CT_POLICY_EVAL_CTX_set1_cert()
78 int CT_POLICY_EVAL_CTX_set1_issuer(CT_POLICY_EVAL_CTX *ctx, X509 *issuer) in CT_POLICY_EVAL_CTX_set1_issuer()
86 void CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE(CT_POLICY_EVAL_CTX *ctx, in CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE()
92 void CT_POLICY_EVAL_CTX_set_time(CT_POLICY_EVAL_CTX *ctx, uint64_t time_in_ms) in CT_POLICY_EVAL_CTX_set_time()
97 X509* CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_get0_cert()
102 X509* CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_get0_issuer()
107 const CTLOG_STORE *CT_POLICY_EVAL_CTX_get0_log_store(const CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_get0_log_store()
112 uint64_t CT_POLICY_EVAL_CTX_get_time(const CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_get_time()
/freebsd/sbin/ifconfig/
H A Difbridge.c83 do_cmd(if_ctx *ctx, u_long op, void *arg, size_t argsize, int set) in do_cmd()
96 do_bridgeflag(if_ctx *ctx, const char *ifs, int flag, int set) in do_bridgeflag()
115 bridge_addresses(if_ctx *ctx, const char *prefix) in bridge_addresses()
150 bridge_status(if_ctx *ctx) in bridge_status()
221 setbridge_add(if_ctx *ctx, const char *val, int dummy __unused) in setbridge_add()
232 setbridge_delete(if_ctx *ctx, const char *val, int dummy __unused) in setbridge_delete()
243 setbridge_discover(if_ctx *ctx, const char *val, int dummy __unused) in setbridge_discover()
250 unsetbridge_discover(if_ctx *ctx, const char *val, int dummy __unused) in unsetbridge_discover()
257 setbridge_learn(if_ctx *ctx, const char *val, int dummy __unused) in setbridge_learn()
264 unsetbridge_learn(if_ctx *ctx, const char *val, int dummy __unused) in unsetbridge_learn()
[all …]
H A Difieee80211.c207 gethtconf(if_ctx *ctx) in gethtconf()
221 getvhtconf(if_ctx *ctx) in getvhtconf()
235 getchaninfo(if_ctx *ctx) in getchaninfo()
393 getcurchan(if_ctx *ctx) in getcurchan()
442 getroam(if_ctx *ctx) in getroam()
453 setroam_cb(if_ctx *ctx, void *arg) in setroam_cb()
460 gettxparams(if_ctx *ctx) in gettxparams()
471 settxparams_cb(if_ctx *ctx, void *arg) in settxparams_cb()
478 getregdomain(if_ctx *ctx) in getregdomain()
489 getdevcaps(if_ctx *ctx, struct ieee80211_devcaps_req *dc) in getdevcaps()
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dx509_vfy.c114 static int lookup_cert_match(X509 **result, X509_STORE_CTX *ctx, X509 *x) in lookup_cert_match()
154 static int verify_cb_cert(X509_STORE_CTX *ctx, X509 *x, int depth, int err) in verify_cb_cert()
166 #define CB_FAIL_IF(cond, ctx, cert, depth, err) \ argument
177 static int verify_cb_crl(X509_STORE_CTX *ctx, int err) in verify_cb_crl()
183 static int check_auth_level(X509_STORE_CTX *ctx) in check_auth_level()
211 static int verify_chain(X509_STORE_CTX *ctx) in verify_chain()
250 int X509_STORE_CTX_verify(X509_STORE_CTX *ctx) in X509_STORE_CTX_verify()
261 int X509_verify_cert(X509_STORE_CTX *ctx) in X509_verify_cert()
323 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x) in find_issuer()
344 static int check_issued(ossl_unused X509_STORE_CTX *ctx, X509 *x, X509 *issuer) in check_issued()
[all …]
H A Dx509_lu.c35 void X509_LOOKUP_free(X509_LOOKUP *ctx) in X509_LOOKUP_free()
54 int X509_LOOKUP_init(X509_LOOKUP *ctx) in X509_LOOKUP_init()
64 int X509_LOOKUP_shutdown(X509_LOOKUP *ctx) in X509_LOOKUP_shutdown()
74 int X509_LOOKUP_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argc, long argl, in X509_LOOKUP_ctrl_ex()
86 int X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, long argl, in X509_LOOKUP_ctrl()
92 int X509_LOOKUP_by_subject_ex(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, in X509_LOOKUP_by_subject_ex()
108 int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, in X509_LOOKUP_by_subject()
114 int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, in X509_LOOKUP_by_issuer_serial()
124 int X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, in X509_LOOKUP_by_fingerprint()
133 int X509_LOOKUP_by_alias(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, in X509_LOOKUP_by_alias()
[all …]
/freebsd/contrib/wpa/src/utils/
H A Dxml_libxml2.c20 void *ctx; member
53 int xml_validate(struct xml_node_ctx *ctx, xml_node_t *node, in xml_validate()
115 int xml_validate_dtd(struct xml_node_ctx *ctx, xml_node_t *node, in xml_validate_dtd()
167 void xml_node_free(struct xml_node_ctx *ctx, xml_node_t *node) in xml_node_free()
173 xml_node_t * xml_node_get_parent(struct xml_node_ctx *ctx, xml_node_t *node) in xml_node_get_parent()
179 xml_node_t * xml_node_from_buf(struct xml_node_ctx *ctx, const char *buf) in xml_node_from_buf()
195 const char * xml_node_get_localname(struct xml_node_ctx *ctx, in xml_node_get_localname()
202 char * xml_node_to_str(struct xml_node_ctx *ctx, xml_node_t *node) in xml_node_to_str()
245 void xml_node_detach(struct xml_node_ctx *ctx, xml_node_t *node) in xml_node_detach()
251 void xml_node_add_child(struct xml_node_ctx *ctx, xml_node_t *parent, in xml_node_add_child()
[all …]
/freebsd/sys/crypto/skein/
H A Dskein.c39 int Skein_256_Init(Skein_256_Ctxt_t *ctx, size_t hashBitLen) in Skein_256_Init()
83 int Skein_256_InitExt(Skein_256_Ctxt_t *ctx,size_t hashBitLen,u64b_t treeInfo, const u08b_t *key, s… in Skein_256_InitExt()
141 int Skein_256_Update(Skein_256_Ctxt_t *ctx, const u08b_t *msg, size_t msgByteCnt) in Skein_256_Update()
189 int Skein_256_Final(Skein_256_Ctxt_t *ctx, u08b_t *hashVal) in Skein_256_Final()
236 int Skein_512_Init(Skein_512_Ctxt_t *ctx, size_t hashBitLen) in Skein_512_Init()
281 int Skein_512_InitExt(Skein_512_Ctxt_t *ctx,size_t hashBitLen,u64b_t treeInfo, const u08b_t *key, s… in Skein_512_InitExt()
339 int Skein_512_Update(Skein_512_Ctxt_t *ctx, const u08b_t *msg, size_t msgByteCnt) in Skein_512_Update()
387 int Skein_512_Final(Skein_512_Ctxt_t *ctx, u08b_t *hashVal) in Skein_512_Final()
434 int Skein1024_Init(Skein1024_Ctxt_t *ctx, size_t hashBitLen) in Skein1024_Init()
478 int Skein1024_InitExt(Skein1024_Ctxt_t *ctx,size_t hashBitLen,u64b_t treeInfo, const u08b_t *key, s… in Skein1024_InitExt()
[all …]
/freebsd/contrib/unbound/libunbound/
H A Dlibunbound.c92 struct ub_ctx* ctx; in ub_ctx_create_nopipe() local
184 struct ub_ctx* ctx = ub_ctx_create_nopipe(); in ub_ctx_create() local
224 struct ub_ctx* ctx = ub_ctx_create_nopipe(); in ub_ctx_create_ub_event() local
238 struct ub_ctx* ctx = ub_ctx_create_nopipe(); in ub_ctx_create_event() local
263 static void ub_stop_bg(struct ub_ctx* ctx) in ub_stop_bg()
309 ub_ctx_delete(struct ub_ctx* ctx) in ub_ctx_delete()
413 ub_ctx_set_option(struct ub_ctx* ctx, const char* opt, const char* val) in ub_ctx_set_option()
429 ub_ctx_get_option(struct ub_ctx* ctx, const char* opt, char** str) in ub_ctx_get_option()
442 ub_ctx_config(struct ub_ctx* ctx, const char* fname) in ub_ctx_config()
458 ub_ctx_add_ta(struct ub_ctx* ctx, const char* ta) in ub_ctx_add_ta()
[all …]
/freebsd/crypto/openssl/providers/common/
H A Dprovider_ctx.c19 void ossl_prov_ctx_free(PROV_CTX *ctx) in ossl_prov_ctx_free()
24 void ossl_prov_ctx_set0_libctx(PROV_CTX *ctx, OSSL_LIB_CTX *libctx) in ossl_prov_ctx_set0_libctx()
30 void ossl_prov_ctx_set0_handle(PROV_CTX *ctx, const OSSL_CORE_HANDLE *handle) in ossl_prov_ctx_set0_handle()
36 void ossl_prov_ctx_set0_core_bio_method(PROV_CTX *ctx, BIO_METHOD *corebiometh) in ossl_prov_ctx_set0_core_bio_method()
42 OSSL_LIB_CTX *ossl_prov_ctx_get0_libctx(PROV_CTX *ctx) in ossl_prov_ctx_get0_libctx()
49 const OSSL_CORE_HANDLE *ossl_prov_ctx_get0_handle(PROV_CTX *ctx) in ossl_prov_ctx_get0_handle()
56 BIO_METHOD *ossl_prov_ctx_get0_core_bio_method(PROV_CTX *ctx) in ossl_prov_ctx_get0_core_bio_method()
/freebsd/contrib/bearssl/src/x509/
H A Dx509_knownkey.c29 br_x509_knownkey_init_rsa(br_x509_knownkey_context *ctx, in br_x509_knownkey_init_rsa()
40 br_x509_knownkey_init_ec(br_x509_knownkey_context *ctx, in br_x509_knownkey_init_ec()
50 kk_start_chain(const br_x509_class **ctx, const char *server_name) in kk_start_chain()
57 kk_start_cert(const br_x509_class **ctx, uint32_t length) in kk_start_cert()
64 kk_append(const br_x509_class **ctx, const unsigned char *buf, size_t len) in kk_append()
72 kk_end_cert(const br_x509_class **ctx) in kk_end_cert()
78 kk_end_chain(const br_x509_class **ctx) in kk_end_chain()
85 kk_get_pkey(const br_x509_class *const *ctx, unsigned *usages) in kk_get_pkey()
/freebsd/lib/libnetmap/
H A Dnmctx.c46 nmctx_default_error(struct nmctx *ctx, const char *errmsg) in nmctx_default_error()
53 nmctx_default_malloc(struct nmctx *ctx, size_t sz) in nmctx_default_malloc()
60 nmctx_default_free(struct nmctx *ctx, void *p) in nmctx_default_free()
83 nmctx_set_default(struct nmctx *ctx) in nmctx_set_default()
92 nmctx_ferror(struct nmctx *ctx, const char *fmt, ...) in nmctx_ferror()
117 nmctx_malloc(struct nmctx *ctx, size_t sz) in nmctx_malloc()
123 nmctx_free(struct nmctx *ctx, void *p) in nmctx_free()
129 nmctx_lock(struct nmctx *ctx) in nmctx_lock()
136 nmctx_unlock(struct nmctx *ctx) in nmctx_unlock()
/freebsd/contrib/bearssl/src/aead/
H A Deax.c63 omac_start(br_eax_context *ctx, unsigned val) in omac_start()
96 do_pad(br_eax_context *ctx) in do_pad()
128 do_cbcmac_chunk(br_eax_context *ctx, const void *data, size_t len) in do_cbcmac_chunk()
153 br_eax_init(br_eax_context *ctx, const br_block_ctrcbc_class **bctx) in br_eax_init()
172 br_eax_capture(const br_eax_context *ctx, br_eax_state *st) in br_eax_capture()
193 br_eax_reset(br_eax_context *ctx, const void *nonce, size_t len) in br_eax_reset()
217 br_eax_reset_pre_aad(br_eax_context *ctx, const br_eax_state *st, in br_eax_reset_pre_aad()
245 br_eax_reset_post_aad(br_eax_context *ctx, const br_eax_state *st, in br_eax_reset_post_aad()
267 br_eax_aad_inject(br_eax_context *ctx, const void *data, size_t len) in br_eax_aad_inject()
299 br_eax_flip(br_eax_context *ctx) in br_eax_flip()
[all …]

12345678910>>...78