Searched refs:rsa_e (Results 1 - 7 of 7) sorted by relevance

/netbsd-current/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/
H A Drsa.c83 BIGNUM *rsa_n = NULL, *rsa_e = NULL; local
93 rsa_e = BN_bin2bn(exp, sizeof(exp), NULL);
95 if (rsa_n == NULL || rsa_e == NULL) {
98 BN_free(rsa_e);
101 if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL)) {
104 BN_free(rsa_e);
154 BIGNUM *rsa_n = NULL, *rsa_e = NULL; local
180 rsa_e = BN_bin2bn(exp, sizeof(exp), NULL);
182 if (rsa_n == NULL || rsa_e == NULL) {
185 BN_free(rsa_e);
235 BIGNUM *rsa_n = NULL, *rsa_e = NULL; local
[all...]
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dssh-rsa.c89 const BIGNUM *rsa_n, *rsa_e; local
93 RSA_get0_key(key->rsa, &rsa_n, &rsa_e, NULL);
94 if ((r = sshbuf_put_bignum2(b, rsa_e)) != 0 ||
106 const BIGNUM *rsa_n, *rsa_e, *rsa_d, *rsa_iqmp, *rsa_p, *rsa_q; local
108 RSA_get0_key(key->rsa, &rsa_n, &rsa_e, &rsa_d);
115 (r = sshbuf_put_bignum2(b, rsa_e)) != 0)
158 const BIGNUM *rsa_n, *rsa_e; local
162 RSA_get0_key(from->rsa, &rsa_n, &rsa_e, NULL);
164 (rsa_e_dup = BN_dup(rsa_e)) == NULL) {
186 BIGNUM *rsa_n = NULL, *rsa_e local
216 BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL; local
[all...]
H A Dssh-pkcs11.c827 BIGNUM *rsa_n, *rsa_e; local
876 rsa_e = BN_bin2bn(key_attr[2].pValue, key_attr[2].ulValueLen, NULL);
877 if (rsa_n == NULL || rsa_e == NULL) {
881 if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL))
883 rsa_n = rsa_e = NULL; /* transferred */
1063 const BIGNUM *rsa_n, *rsa_e;
1065 RSA_get0_key(rsa, &rsa_n, &rsa_e, NULL);
1066 return rsa_n != NULL && rsa_e != NULL;
H A Dssh-keygen.c470 BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL; local
544 if ((rsa_e = BN_new()) == NULL)
546 if (!BN_set_word(rsa_e, e)) {
547 BN_clear_free(rsa_e);
562 if (!RSA_set0_key(key->rsa, rsa_n, rsa_e, rsa_d))
564 rsa_n = rsa_e = rsa_d = NULL; /* transferred */
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/rsa/
H A Drsa_backend.c127 const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL; local
135 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d);
139 || !ossl_param_build_set_bn(bld, params, OSSL_PKEY_PARAM_RSA_E, rsa_e))
/netbsd-current/crypto/external/bsd/openssl/dist/providers/implementations/encode_decode/
H A Dencode_key2text.c634 const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL; local
666 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d);
682 if (!print_labeled_bignum(out, exponent_label, rsa_e))
/netbsd-current/crypto/external/bsd/openssl/dist/providers/fips/
H A Dself_test_data.inc1143 static const unsigned char rsa_e[] = { 0x01, 0x00, 0x01 };
1271 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_RSA_E, rsa_e),
1283 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_RSA_E, rsa_e),
1289 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_RSA_E, rsa_e),

Completed in 218 milliseconds