/openssl/crypto/ |
H A D | self_test_core.c | 19 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 D | passphrase.c | 55 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 D | dsa_key.c | 32 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 D | self_test.h | 77 void *cbarg); 79 void **cbarg); 81 OSSL_SELF_TEST *OSSL_SELF_TEST_new(OSSL_CALLBACK *cb, void *cbarg);
|
H A D | encoder.h | 59 pem_password_cb *cb, void *cbarg); 62 void *cbarg);
|
H A D | decoder.h | 59 pem_password_cb *cb, void *cbarg); 62 void *cbarg);
|
/openssl/include/internal/ |
H A D | passphrase.h | 94 pem_password_cb *cb, void *cbarg); 96 OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg);
|
/openssl/providers/implementations/encode_decode/ |
H A D | decode_pem2der.c | 76 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 D | encode_key2ms.c | 201 void *cbarg) \ 209 cb, cbarg); \
|
/openssl/crypto/store/ |
H A D | store_result.c | 261 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 D | encoder_pkey.c | 56 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 D | decoder_pkey.c | 39 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 D | rsa_kmgmt.c | 204 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 D | dsa_kmgmt.c | 69 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 D | dh_kmgmt.c | 75 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 D | ecx_kmgmt.c | 231 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 D | mac_legacy_kmgmt.c | 274 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 D | record.h | 261 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 D | OSSL_SELF_TEST_set_callback.pod | 12 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 D | OSSL_SELF_TEST_new.pod | 15 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 D | tls_common.c | 93 || 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 D | recmethod_local.h | 192 void *cbarg; member 268 const OSSL_DISPATCH *fns, void *cbarg,
|
/openssl/crypto/evp/ |
H A D | keymgmt_meth.c | 362 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 D | ec_key.c | 30 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 D | rsa_gen.c | 30 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()
|