Home
last modified time | relevance | path

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

12

/openssl/crypto/
H A Dself_test_core.c19 void *cbarg; member
55 void *cbarg) in OSSL_SELF_TEST_set_callback() argument
61 stcb->cbarg = cbarg; in OSSL_SELF_TEST_set_callback()
66 void **cbarg) in OSSL_SELF_TEST_get_callback() argument
72 if (cbarg != NULL) in OSSL_SELF_TEST_get_callback()
73 *cbarg = (stcb != NULL ? stcb->cbarg : NULL); in OSSL_SELF_TEST_get_callback()
95 OSSL_SELF_TEST *OSSL_SELF_TEST_new(OSSL_CALLBACK *cb, void *cbarg) in OSSL_SELF_TEST_new() argument
103 ret->cb_arg = cbarg; in OSSL_SELF_TEST_new()
H A Dpassphrase.c55 pem_password_cb *cb, void *cbarg) in ossl_pw_set_pem_password_cb() argument
64 data->_.pem_password.password_cbarg = cbarg; in ossl_pw_set_pem_password_cb()
69 OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg) in ossl_pw_set_ossl_passphrase_cb() argument
78 data->_.ossl_passphrase.passphrase_cbarg = cbarg; in ossl_pw_set_ossl_passphrase_cb()
245 void *cbarg = data->_.ossl_passphrase.passphrase_cbarg; in ossl_pw_get_passphrase() local
247 ret = cb(pass, pass_size, pass_len, params, cbarg); in ossl_pw_get_passphrase()
/openssl/crypto/dsa/
H A Ddsa_key.c32 static int dsa_keygen_pairwise_test(DSA *dsa, OSSL_CALLBACK *cb, void *cbarg);
113 void *cbarg = NULL; in dsa_keygen() local
115 OSSL_SELF_TEST_get_callback(dsa->libctx, &cb, &cbarg); in dsa_keygen()
116 ok = dsa_keygen_pairwise_test(dsa, cb, cbarg); in dsa_keygen()
143 static int dsa_keygen_pairwise_test(DSA *dsa, OSSL_CALLBACK *cb, void *cbarg) in dsa_keygen_pairwise_test() argument
151 st = OSSL_SELF_TEST_new(cb, cbarg); in dsa_keygen_pairwise_test()
/openssl/include/openssl/
H A Dself_test.h77 void *cbarg);
79 void **cbarg);
81 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/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/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/crypto/encode_decode/
H A Dencoder_pkey.c56 pem_password_cb *cb, void *cbarg) in OSSL_ENCODER_CTX_set_pem_password_cb() argument
58 return ossl_pw_set_pem_password_cb(&ctx->pwdata, cb, cbarg); in OSSL_ENCODER_CTX_set_pem_password_cb()
63 void *cbarg) in OSSL_ENCODER_CTX_set_passphrase_cb() argument
65 return ossl_pw_set_ossl_passphrase_cb(&ctx->pwdata, cb, cbarg); in OSSL_ENCODER_CTX_set_passphrase_cb()
H A Ddecoder_pkey.c39 pem_password_cb *cb, void *cbarg) in OSSL_DECODER_CTX_set_pem_password_cb() argument
41 return ossl_pw_set_pem_password_cb(&ctx->pwdata, cb, cbarg); in OSSL_DECODER_CTX_set_pem_password_cb()
46 void *cbarg) in OSSL_DECODER_CTX_set_passphrase_cb() argument
48 return ossl_pw_set_ossl_passphrase_cb(&ctx->pwdata, cb, cbarg); in OSSL_DECODER_CTX_set_passphrase_cb()
/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.c69 void *cbarg; member
215 void *cbarg) in dsa_export() argument
243 ok = param_cb(params, cbarg); in dsa_export()
546 return gctx->cb(params, gctx->cbarg); in dsa_gencb()
549 static void *dsa_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in dsa_gen() argument
568 gctx->cbarg = cbarg; in dsa_gen()
H A Ddh_kmgmt.c75 void *cbarg; member
215 void *cbarg) in dh_export() argument
244 ok = param_cb(params, cbarg); in dh_export()
684 return gctx->cb(params, gctx->cbarg); in dh_gencb()
687 static void *dh_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in dh_gen() argument
743 gctx->cbarg = cbarg; in dh_gen()
H A Decx_kmgmt.c231 void *cbarg) in ecx_export() argument
256 ret = param_cb(params, cbarg); in ecx_export()
629 static void *x25519_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in x25519_gen() argument
643 static void *x448_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in x448_gen() argument
657 static void *ed25519_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in ed25519_gen() argument
674 static void *ed448_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in ed448_gen() argument
H A Dmac_legacy_kmgmt.c274 void *cbarg) in mac_export() argument
296 ret = param_cb(params, cbarg); in mac_export()
480 static void *mac_gen(void *genctx, OSSL_CALLBACK *cb, void *cbarg) in mac_gen() argument
/openssl/ssl/record/
H A Drecord.h261 OSSL_CORE_MAKE_FUNC(int, rlayer_skip_early_data, (void *cbarg))
266 void *cbarg))
268 OSSL_CORE_MAKE_FUNC(int, rlayer_security, (void *cbarg, int op, int bits,
/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);
H A DOSSL_SELF_TEST_new.pod15 OSSL_SELF_TEST *OSSL_SELF_TEST_new(OSSL_CALLBACK *cb, void *cbarg);
116 void *cbarg;
127 OSSL_SELF_TEST_get_callback(libctx, &cb, &cbarg);
/openssl/ssl/record/methods/
H A Dtls_common.c93 || rl->security(rl->cbarg, SSL_SECOP_COMPRESSION, 0, 0, NULL); in tls_allow_compression()
505 rl->msg_callback(0, 0, SSL3_RT_HEADER, p, 5, rl->cbarg); in tls_get_more_records()
525 rl->msg_callback(0, version, SSL3_RT_HEADER, p, 5, rl->cbarg); in tls_get_more_records()
701 && rl->skip_early_data(rl->cbarg)) { in tls_get_more_records()
922 1, rl->cbarg); in tls13_common_post_process_record()
1053 const OSSL_DISPATCH *fns, void *cbarg, in tls_int_new_record_layer() argument
1129 rl->cbarg = cbarg; in tls_int_new_record_layer()
1171 const OSSL_DISPATCH *fns, void *cbarg, in tls_new_record_layer() argument
1180 options, fns, cbarg, retrl); in tls_new_record_layer()
H A Drecmethod_local.h192 void *cbarg; member
268 const OSSL_DISPATCH *fns, void *cbarg,
/openssl/crypto/evp/
H A Dkeymgmt_meth.c362 OSSL_CALLBACK *cb, void *cbarg) in evp_keymgmt_gen() argument
366 return keymgmt->gen(genctx, cb, cbarg); in evp_keymgmt_gen()
464 int selection, OSSL_CALLBACK *param_cb, void *cbarg) in evp_keymgmt_export() argument
468 return keymgmt->export(keydata, selection, param_cb, cbarg); in evp_keymgmt_export()
/openssl/crypto/ec/
H A Dec_key.c30 void *cbarg);
332 void *cbarg = NULL; in ec_generate_key() local
334 OSSL_SELF_TEST_get_callback(eckey->libctx, &cb, &cbarg); in ec_generate_key()
335 ok = ecdsa_keygen_pairwise_test(eckey, cb, cbarg); in ec_generate_key()
1007 void *cbarg) in ecdsa_keygen_pairwise_test() argument
1015 st = OSSL_SELF_TEST_new(cb, cbarg); in ecdsa_keygen_pairwise_test()
/openssl/crypto/rsa/
H A Drsa_gen.c30 static int rsa_keygen_pairwise_test(RSA *rsa, OSSL_CALLBACK *cb, void *cbarg);
478 static int rsa_keygen_pairwise_test(RSA *rsa, OSSL_CALLBACK *cb, void *cbarg) in rsa_keygen_pairwise_test() argument
490 st = OSSL_SELF_TEST_new(cb, cbarg); in rsa_keygen_pairwise_test()

Completed in 71 milliseconds

12