Home
last modified time | relevance | path

Searched refs:n_bn (Results 1 - 2 of 2) sorted by relevance

/third_party/pulseaudio/src/modules/raop/
H A Draop-crypto.c82 BIGNUM *n_bn = NULL; in rsa_encrypt() local
97 n_bn = BN_bin2bn(modulus, size, NULL); in rsa_encrypt()
98 if (!n_bn) { in rsa_encrypt()
99 pa_log("n_bn = BN_bin2bn() failed."); in rsa_encrypt()
111 r = RSA_set0_key(rsa, n_bn, e_bn, NULL); in rsa_encrypt()
117 /* The memory allocated for n_bn and e_bn is now managed by the RSA object. in rsa_encrypt()
118 * Let's set n_bn and e_bn to NULL to avoid freeing the memory in the error in rsa_encrypt()
120 n_bn = NULL; in rsa_encrypt()
136 if (n_bn) in rsa_encrypt()
137 BN_free(n_bn); in rsa_encrypt()
[all...]
/third_party/openssl/test/
H A Dacvp_test.c1014 BIGNUM *e_bn = NULL, *d_bn = NULL, *n_bn = NULL; in rsa_create_pkey() local
1017 || !TEST_ptr(n_bn = BN_CTX_get(bn_ctx)) in rsa_create_pkey()
1018 || !TEST_ptr(BN_bin2bn(n, n_len, n_bn)) in rsa_create_pkey()
1019 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_N, n_bn))) in rsa_create_pkey()

Completed in 3 milliseconds