Home
last modified time | relevance | path

Searched refs:rsa_e (Results 1 – 8 of 8) sorted by relevance

/netbsd/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/
H A Drsa.c83 BIGNUM *rsa_n = NULL, *rsa_e = NULL; in Trspi_RSA_Encrypt() local
95 if (rsa_n == NULL || rsa_e == NULL) { in Trspi_RSA_Encrypt()
98 BN_free(rsa_e); in Trspi_RSA_Encrypt()
104 BN_free(rsa_e); in Trspi_RSA_Encrypt()
154 BIGNUM *rsa_n = NULL, *rsa_e = NULL; in Trspi_Verify() local
182 if (rsa_n == NULL || rsa_e == NULL) { in Trspi_Verify()
185 BN_free(rsa_e); in Trspi_Verify()
191 BN_free(rsa_e); in Trspi_Verify()
235 BIGNUM *rsa_n = NULL, *rsa_e = NULL; in Trspi_RSA_Public_Encrypt() local
285 BN_free(rsa_e); in Trspi_RSA_Public_Encrypt()
[all …]
/netbsd/crypto/external/bsd/openssh/dist/
H A Dssh-rsa.c89 const BIGNUM *rsa_n, *rsa_e; in ssh_rsa_serialize_public() local
93 RSA_get0_key(key->rsa, &rsa_n, &rsa_e, NULL); in ssh_rsa_serialize_public()
115 (r = sshbuf_put_bignum2(b, rsa_e)) != 0) in ssh_rsa_serialize_private()
158 const BIGNUM *rsa_n, *rsa_e; in ssh_rsa_copy_public() local
164 (rsa_e_dup = BN_dup(rsa_e)) == NULL) { in ssh_rsa_copy_public()
186 BIGNUM *rsa_n = NULL, *rsa_e = NULL; in ssh_rsa_deserialize_public() local
188 if (sshbuf_get_bignum2(b, &rsa_e) != 0 || in ssh_rsa_deserialize_public()
197 rsa_n = rsa_e = NULL; /* transferred */ in ssh_rsa_deserialize_public()
207 BN_clear_free(rsa_e); in ssh_rsa_deserialize_public()
228 rsa_n = rsa_e = NULL; /* transferred */ in ssh_rsa_deserialize_private()
[all …]
H A Dssh-pkcs11.c823 BIGNUM *rsa_n, *rsa_e; in pkcs11_fetch_rsa_pubkey() local
872 rsa_e = BN_bin2bn(key_attr[2].pValue, key_attr[2].ulValueLen, NULL); in pkcs11_fetch_rsa_pubkey()
873 if (rsa_n == NULL || rsa_e == NULL) { in pkcs11_fetch_rsa_pubkey()
877 if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL)) in pkcs11_fetch_rsa_pubkey()
879 rsa_n = rsa_e = NULL; /* transferred */ in pkcs11_fetch_rsa_pubkey()
1059 const BIGNUM *rsa_n, *rsa_e;
1061 RSA_get0_key(rsa, &rsa_n, &rsa_e, NULL);
1062 return rsa_n != NULL && rsa_e != NULL;
H A Dssh-keygen.c473 BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL; in do_convert_private_ssh2() local
547 if ((rsa_e = BN_new()) == NULL) in do_convert_private_ssh2()
549 if (!BN_set_word(rsa_e, e)) { in do_convert_private_ssh2()
550 BN_clear_free(rsa_e); in do_convert_private_ssh2()
565 if (!RSA_set0_key(key->rsa, rsa_n, rsa_e, rsa_d)) in do_convert_private_ssh2()
567 rsa_n = rsa_e = rsa_d = NULL; /* transferred */ in do_convert_private_ssh2()
/netbsd/crypto/external/bsd/openssl/dist/crypto/rsa/
H A Drsa_backend.c127 const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL; in DEFINE_SPECIAL_STACK_OF_CONST() local
135 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); in DEFINE_SPECIAL_STACK_OF_CONST()
139 || !ossl_param_build_set_bn(bld, params, OSSL_PKEY_PARAM_RSA_E, rsa_e)) in DEFINE_SPECIAL_STACK_OF_CONST()
/netbsd/crypto/external/bsd/openssl/dist/providers/implementations/encode_decode/
H A Dencode_key2text.c647 const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL; in rsa_to_text() local
679 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); in rsa_to_text()
695 if (!print_labeled_bignum(out, exponent_label, rsa_e)) in rsa_to_text()
/netbsd/crypto/external/bsd/openssl/dist/doc/man3/
H A DEVP_PKEY_fromdata.pod117 unsigned long rsa_e = 0x10001;
121 OSSL_PARAM_ulong("e", &rsa_e),
/netbsd/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),