Home
last modified time | relevance | path

Searched refs:cbarg (Results 1 – 25 of 61) sorted by relevance

123

/openssl/crypto/
H A Dself_test_core.c18 void *cbarg; member
53 void *cbarg) in OSSL_SELF_TEST_set_callback() argument
59 stcb->cbarg = cbarg; in OSSL_SELF_TEST_set_callback()
64 void **cbarg) in OSSL_SELF_TEST_get_callback() argument
70 if (cbarg != NULL) in OSSL_SELF_TEST_get_callback()
71 *cbarg = (stcb != NULL ? stcb->cbarg : NULL); in OSSL_SELF_TEST_get_callback()
93 OSSL_SELF_TEST *OSSL_SELF_TEST_new(OSSL_CALLBACK *cb, void *cbarg) in OSSL_SELF_TEST_new() argument
101 ret->cb_arg = cbarg; in OSSL_SELF_TEST_new()
H A Dpassphrase.c53 pem_password_cb *cb, void *cbarg) in ossl_pw_set_pem_password_cb() argument
62 data->_.pem_password.password_cbarg = cbarg; in ossl_pw_set_pem_password_cb()
67 OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg) in ossl_pw_set_ossl_passphrase_cb() argument
76 data->_.ossl_passphrase.passphrase_cbarg = cbarg; in ossl_pw_set_ossl_passphrase_cb()
239 void *cbarg = data->_.ossl_passphrase.passphrase_cbarg; in ossl_pw_get_passphrase() local
241 ret = cb(pass, pass_size, pass_len, params, cbarg); in ossl_pw_get_passphrase()
/openssl/crypto/dsa/
H A Ddsa_key.c76 OSSL_CALLBACK *cb, void *cbarg) in dsa_keygen_knownanswer_test() argument
86 st = OSSL_SELF_TEST_new(cb, cbarg); in dsa_keygen_knownanswer_test()
114 static int dsa_keygen_pairwise_test(DSA *dsa, OSSL_CALLBACK *cb, void *cbarg) in dsa_keygen_pairwise_test() argument
122 st = OSSL_SELF_TEST_new(cb, cbarg); in dsa_keygen_pairwise_test()
195 void *cbarg = NULL; in dsa_keygen() local
197 OSSL_SELF_TEST_get_callback(dsa->libctx, &cb, &cbarg); in dsa_keygen()
198 ok = dsa_keygen_pairwise_test(dsa, cb, cbarg) in dsa_keygen()
199 && dsa_keygen_knownanswer_test(dsa, ctx, cb, cbarg); in dsa_keygen()
/openssl/include/openssl/
H A Dself_test.h83 void *cbarg);
85 void **cbarg);
87 OSSL_SELF_TEST *OSSL_SELF_TEST_new(OSSL_CALLBACK *cb, void *cbarg);
H A Dencoder.h59 pem_password_cb *cb, void *cbarg);
62 void *cbarg);
H A Ddecoder.h59 pem_password_cb *cb, void *cbarg);
62 void *cbarg);
/openssl/ssl/record/
H A Drecord.h186 OSSL_CORE_MAKE_FUNC(int, rlayer_skip_early_data, (void *cbarg))
191 void *cbarg))
193 OSSL_CORE_MAKE_FUNC(int, rlayer_security, (void *cbarg, int op, int bits,
196 OSSL_CORE_MAKE_FUNC(size_t, rlayer_padding, (void *cbarg, int type, size_t len))
/openssl/test/helpers/
H A Dquictestlib.h117 void *cbarg);
226 void *cbarg);
238 void *cbarg);
/openssl/include/internal/
H A Dpassphrase.h94 pem_password_cb *cb, void *cbarg);
96 OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg);
/openssl/providers/implementations/encode_decode/
H A Ddecode_pem2der.c76 void *cbarg; member
86 || !pass_data->cb(buf, num, &plen, NULL, pass_data->cbarg)) in pem2der_pass_helper()
162 pass_data.cbarg = pw_cbarg; in pem2der_decode()
H A Dencode_key2ms.c201 void *cbarg) \
209 cb, cbarg); \
/openssl/ssl/quic/
H A Dquic_tls.c84 void *cbarg; member
102 const OSSL_DISPATCH *fns, void *cbarg, void *rlarg, in quic_new_record_layer() argument
121 rl->cbarg = cbarg; in quic_new_record_layer()
278 SSL3_RT_HEADER_LENGTH, rl->cbarg); in quic_write_records()
282 &template->type, 1, rl->cbarg); in quic_write_records()
407 SSL3_RT_HEADER_LENGTH, rl->cbarg); in quic_read_record()
409 rl->cbarg); in quic_read_record()
/openssl/crypto/store/
H A Dstore_result.c261 OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg, in try_key_value() argument
292 (void)OSSL_DECODER_CTX_set_passphrase_cb(decoderctx, cb, cbarg); in try_key_value()
307 OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg, in try_key_value_legacy() argument
340 if (!cb(pbuf, sizeof(pbuf), &plen, NULL, cbarg)) { in try_key_value_legacy()
410 void *cbarg = &ctx->pwdata; in try_key() local
412 pk = try_key_value(data, ctx, cb, cbarg, libctx, propq); in try_key()
423 cb, cbarg, libctx, propq); in try_key()
/openssl/providers/implementations/keymgmt/
H A Drsa_kmgmt.c204 OSSL_CALLBACK *param_callback, void *cbarg) in rsa_export() argument
237 ok = param_callback(params, cbarg); in rsa_export()
432 void *cbarg; member
447 return gctx->cb(params, gctx->cbarg); in rsa_gencb()
577 static void *rsa_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in rsa_gen() argument
607 gctx->cbarg = cbarg; in rsa_gen()
H A Ddsa_kmgmt.c72 void *cbarg; member
219 void *cbarg) in dsa_export() argument
250 ok = param_cb(params, cbarg); in dsa_export()
591 return gctx->cb(params, gctx->cbarg); in dsa_gencb()
594 static void *dsa_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in dsa_gen() argument
638 gctx->cbarg = cbarg; in dsa_gen()
H A Decx_kmgmt.c236 void *cbarg) in ecx_export() argument
264 ret = param_cb(params, cbarg); in ecx_export()
626 void *cbarg = NULL; in ecd_fips140_pairwise_test() local
640 OSSL_SELF_TEST_get_callback(ecx->libctx, &cb, &cbarg); in ecd_fips140_pairwise_test()
642 st = OSSL_SELF_TEST_new(cb, cbarg); in ecd_fips140_pairwise_test()
747 static void *x25519_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in x25519_gen() argument
761 static void *x448_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in x448_gen() argument
775 static void *ed25519_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in ed25519_gen() argument
809 static void *ed448_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in ed448_gen() argument
H A Dtemplate_kmgmt.c147 void *cbarg) in template_export() argument
175 ret = param_cb(params, cbarg); in template_export()
366 static void *template_gen(void *vctx, OSSL_CALLBACK *osslcb, void *cbarg) in template_gen() argument
H A Ddh_kmgmt.c76 void *cbarg; member
216 void *cbarg) in dh_export() argument
248 ok = param_cb(params, cbarg); in dh_export()
693 return gctx->cb(params, gctx->cbarg); in dh_gencb()
696 static void *dh_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in dh_gen() argument
763 gctx->cbarg = cbarg; in dh_gen()
/openssl/crypto/encode_decode/
H A Dencoder_pkey.c57 pem_password_cb *cb, void *cbarg) in OSSL_ENCODER_CTX_set_pem_password_cb() argument
59 return ossl_pw_set_pem_password_cb(&ctx->pwdata, cb, cbarg); in OSSL_ENCODER_CTX_set_pem_password_cb()
64 void *cbarg) in OSSL_ENCODER_CTX_set_passphrase_cb() argument
66 return ossl_pw_set_ossl_passphrase_cb(&ctx->pwdata, cb, cbarg); in OSSL_ENCODER_CTX_set_passphrase_cb()
/openssl/crypto/ec/
H A Dec_key.c31 void *cbarg);
254 OSSL_CALLBACK *cb, void *cbarg) in ecdsa_keygen_knownanswer_test() argument
264 st = OSSL_SELF_TEST_new(cb, cbarg); in ecdsa_keygen_knownanswer_test()
383 void *cbarg = NULL; in ec_generate_key() local
385 OSSL_SELF_TEST_get_callback(eckey->libctx, &cb, &cbarg); in ec_generate_key()
386 ok = ecdsa_keygen_pairwise_test(eckey, cb, cbarg) in ec_generate_key()
387 && ecdsa_keygen_knownanswer_test(eckey, ctx, cb, cbarg); in ec_generate_key()
1100 void *cbarg) in ecdsa_keygen_pairwise_test() argument
1108 st = OSSL_SELF_TEST_new(cb, cbarg); in ecdsa_keygen_pairwise_test()
/openssl/doc/man3/
H A DOSSL_SELF_TEST_set_callback.pod12 void OSSL_SELF_TEST_set_callback(OSSL_LIB_CTX *ctx, OSSL_CALLBACK *cb, void *cbarg);
13 void OSSL_SELF_TEST_get_callback(OSSL_LIB_CTX *ctx, OSSL_CALLBACK **cb, void **cbarg);
/openssl/crypto/pkcs12/
H A Dp12_crt.c39 PKCS12_create_cb *cb, void *cbarg) in PKCS12_create_ex2() argument
86 cbret = cb(bag, cbarg); in PKCS12_create_ex2()
101 cbret = cb(bag, cbarg); in PKCS12_create_ex2()
135 cbret = cb(bag, cbarg); in PKCS12_create_ex2()
/openssl/test/
H A Dquicfaultstest.c71 unsigned char *buf, size_t len, void *cbarg) in add_unknown_frame_cb() argument
231 unsigned char *buf, size_t len, void *cbarg) in on_packet_cipher_cb() argument
243 void *cbarg) in on_datagram_cb() argument
/openssl/crypto/evp/
H A Dkeymgmt_meth.c442 OSSL_CALLBACK *cb, void *cbarg) in evp_keymgmt_gen() argument
446 return keymgmt->gen(genctx, cb, cbarg); in evp_keymgmt_gen()
548 int selection, OSSL_CALLBACK *param_cb, void *cbarg) in evp_keymgmt_export() argument
552 return keymgmt->export(keydata, selection, param_cb, cbarg); in evp_keymgmt_export()
/openssl/ssl/record/methods/
H A Dtls_common.c119 || rl->security(rl->cbarg, SSL_SECOP_COMPRESSION, 0, 0, NULL); in tls_allow_compression()
638 rl->msg_callback(0, 0, SSL3_RT_HEADER, p, 5, rl->cbarg); in tls_get_more_records()
757 thisrr->data, 1, rl->cbarg); in tls_get_more_records()
839 && rl->skip_early_data(rl->cbarg)) { in tls_get_more_records()
1098 1, rl->cbarg); in tls13_common_post_process_record()
1257 const OSSL_DISPATCH *fns, void *cbarg, in tls_int_new_record_layer() argument
1340 rl->cbarg = cbarg; in tls_int_new_record_layer()
1397 const OSSL_DISPATCH *fns, void *cbarg, void *rlarg, in tls_new_record_layer() argument
1405 options, fns, cbarg, retrl); in tls_new_record_layer()
1727 headerlen, rl->cbarg); in tls_post_encryption_processing_default()
[all …]

Completed in 97 milliseconds

123