Home
last modified time | relevance | path

Searched refs:RSA_set0_key (Results 1 - 23 of 23) sorted by relevance

/third_party/pulseaudio/src/modules/raop/
H A Draop-crypto.c47 * RSA_set0_key(). RSA_set0_key() is a new function added in 1.1.0. We could
50 * such transition problems, let's implement RSA_set0_key() ourselves if it's
53 static int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) { in RSA_set0_key() function
111 r = RSA_set0_key(rsa, n_bn, e_bn, NULL); in rsa_encrypt()
113 pa_log("RSA_set0_key() failed."); in rsa_encrypt()
/third_party/openssl/test/
H A Drsa_test.c33 RSA_set0_key(key, \
385 if (TEST_true(RSA_set0_key(key, BN_bin2bn(num, bytes, NULL), in test_rsa_security_bit()
H A Dasn1_internal_test.c134 || !TEST_true(RSA_set0_key(rsa, n, e, NULL))) in test_empty_nonoptional_content()
H A Drsa_sp800_56b_test.c248 && TEST_true(RSA_set0_key(key, n, e, d)); in test_check_private_exponent()
396 && TEST_true(RSA_set0_key(key, n, e, d)); in test_invalid_keypair()
475 && TEST_true(RSA_set0_key(key, n, e, d)); in test_check_private_key()
507 && TEST_true(RSA_set0_key(key, n, e, NULL)); in test_check_public_key()
H A Drsa_mp_test.c141 if (!TEST_int_eq(RSA_set0_key(key, in key2048_key()
H A Dkeymgmt_internal_test.c186 || !TEST_true(RSA_set0_key(rsa, bn1, bn2, bn3))) in test_pass_rsa()
H A Denginetest.c242 if (!RSA_set0_key(rsa, BN_bin2bn(n, sizeof(n)-1, NULL), in get_test_pkey()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
H A Drsa.rs21 pub fn RSA_set0_key(r: *mut RSA, n: *mut BIGNUM, e: *mut BIGNUM, d: *mut BIGNUM) -> c_int; in RSA_set0_key() functions
/third_party/rust/crates/rust-openssl/openssl/src/
H A Drsa.rs373 /// This corresponds to [`RSA_new`] and uses [`RSA_set0_key`].
376 /// [`RSA_set0_key`]: https://www.openssl.org/docs/manmaster/crypto/RSA_set0_key.html
380 RSA_set0_key(rsa, n.as_ptr(), e.as_ptr(), ptr::null_mut()); in from_public_components()
433 /// This corresponds to [`RSA_new`] and uses [`RSA_set0_key`].
436 /// [`RSA_set0_key`]: https://www.openssl.org/docs/manmaster/crypto/RSA_set0_key.html
440 RSA_set0_key(rsa, n.as_ptr(), e.as_ptr(), d.as_ptr()); in new()
586 RSA_get0_key, RSA_get0_factors, RSA_get0_crt_params, RSA_set0_key, RSA_set0_factors, in fmt()
641 unsafe fn RSA_set0_key( in fmt() functions
[all...]
/third_party/node/src/crypto/
H A Dcrypto_rsa.cc449 if (!RSA_set0_key( in ImportJWKRsaKey()
490 if (!RSA_set0_key(rsa.get(), nullptr, nullptr, d.ToBN().release()) || in ImportJWKRsaKey()
/third_party/libwebsockets/lib/tls/openssl/
H A Dlws-genrsa.c116 if (RSA_set0_key(ctx->rsa, ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_N], in lws_genrsa_create()
119 lwsl_notice("RSA_set0_key failed\n"); in lws_genrsa_create()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/
H A Dwpa_evp_key.c143 if (!RSA_set0_key(rsa, (BIGNUM *)RSA_get0_n(public_rsa), (BIGNUM *)RSA_get0_e(public_rsa), NULL)) { in wrap_rsa()
144 wpa_printf(MSG_ERROR, "%s RSA_set0_key() failed", __func__); in wrap_rsa()
/third_party/node/deps/openssl/openssl/crypto/rsa/
H A Drsa_backend.c86 if (!RSA_set0_key(rsa, n, e, d)) in ossl_rsa_fromdata()
H A Drsa_lib.c392 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) in RSA_set0_key() function
/third_party/openssl/crypto/rsa/
H A Drsa_backend.c86 if (!RSA_set0_key(rsa, n, e, d)) in ossl_rsa_fromdata()
H A Drsa_lib.c392 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) in RSA_set0_key() function
/third_party/node/deps/openssl/openssl/include/openssl/
H A Drsa.h207 OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
/third_party/openssl/include/openssl/
H A Drsa.h207 OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
/third_party/openssl/ohos_lite/include/openssl/
H A Drsa.h204 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
/third_party/node/deps/openssl/openssl/crypto/pem/
H A Dpvkfmt.c481 if (!RSA_set0_key(rsa, n, e, d)) in ossl_b2i_RSA_after_header()
/third_party/openssl/crypto/pem/
H A Dpvkfmt.c481 if (!RSA_set0_key(rsa, n, e, d)) in ossl_b2i_RSA_after_header()
/third_party/node/deps/openssl/openssl/engines/
H A De_capi.c699 RSA_set0_key(rkey, n, e, NULL); in capi_get_pkey()
/third_party/openssl/engines/
H A De_capi.c699 RSA_set0_key(rkey, n, e, NULL); in capi_get_pkey()

Completed in 22 milliseconds