/openssl/test/ssl-tests/ |
H A D | 25-cipher.cnf.in | 25 "CipherString" => "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256", 39 "CipherString" => "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256", 53 "CipherString" => "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256", 57 "CipherString" => "ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384", 67 "CipherString" => "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256", 112 … "CipherString" => "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-CHACHA20-POLY1305", 117 … "CipherString" => "ECDHE-RSA-CHACHA20-POLY1305:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384", 127 … "CipherString" => "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-CHACHA20-POLY1305", 132 … "CipherString" => "ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-CHACHA20-POLY1305", 145 … "CipherString" => "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-CHACHA20-POLY1305", [all …]
|
H A D | 25-cipher.cnf | 25 CipherString = ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256 50 CipherString = ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256 75 CipherString = ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256 80 CipherString = ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384 100 CipherString = ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256 178 CipherString = ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-CHACHA20-POLY1305 184 CipherString = ECDHE-RSA-CHACHA20-POLY1305:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384 204 CipherString = ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-CHACHA20-POLY1305 210 CipherString = ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-CHACHA20-POLY1305 230 CipherString = ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-CHACHA20-POLY1305 [all …]
|
H A D | 20-cert-select.cnf | 17 test-12 = 12-RSA key exchange with all RSA certificate types 38 test-33 = 33-RSA key exchange with only RSA-PSS certificate 446 [12-RSA key exchange with all RSA certificate types] 447 ssl_conf = 12-RSA key exchange with all RSA certificate types-ssl 449 [12-RSA key exchange with all RSA certificate types-ssl] 453 [12-RSA key exchange with all RSA certificate types-server] 460 [12-RSA key exchange with all RSA certificate types-client] 1089 [33-RSA key exchange with only RSA-PSS certificate] 1092 [33-RSA key exchange with only RSA-PSS certificate-ssl] 1096 [33-RSA key exchange with only RSA-PSS certificate-server] [all …]
|
H A D | 20-cert-select.cnf.in | 125 name => "RSA CipherString Selection", 132 "ExpectedServerCertType" =>, "RSA", 227 "ExpectedServerCertType" => "RSA", 229 "ExpectedServerSignType" => "RSA", 240 "ExpectedServerCertType" => "RSA", 247 name => "RSA key exchange with all RSA certificate types", 254 "ExpectedServerCertType" =>, "RSA", 472 "ExpectedServerCertType" => "RSA", 492 name => "Only RSA-PSS Certificate", 573 name => "RSA key exchange with only RSA-PSS certificate", [all …]
|
/openssl/include/openssl/ |
H A D | rsa.h | 212 OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); 255 OSSL_DEPRECATEDIN_3_0 int RSA_get_version(RSA *r); 294 RSA *rsa, int padding); 297 RSA *rsa, int padding); 300 RSA *rsa, int padding); 303 RSA *rsa, int padding); 304 OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); 306 OSSL_DEPRECATEDIN_3_0 int RSA_up_ref(RSA *r); 307 OSSL_DEPRECATEDIN_3_0 int RSA_flags(const RSA *r); 375 RSA *rsa); [all …]
|
/openssl/crypto/rsa/ |
H A D | rsa_asn1.c | 37 RSA_free((RSA *)*pval); in rsa_cb() 58 ASN1_EMBED(RSA, version, INT32), 59 ASN1_SIMPLE(RSA, n, BIGNUM), 60 ASN1_SIMPLE(RSA, e, BIGNUM), 61 ASN1_SIMPLE(RSA, d, CBIGNUM), 62 ASN1_SIMPLE(RSA, p, CBIGNUM), 63 ASN1_SIMPLE(RSA, q, CBIGNUM), 72 ASN1_SIMPLE(RSA, n, BIGNUM), 73 ASN1_SIMPLE(RSA, e, BIGNUM), 120 RSA *RSAPublicKey_dup(const RSA *rsa) [all …]
|
H A D | rsa_local.h | 106 unsigned char *to, RSA *rsa, int padding); 119 int (*init) (RSA *rsa); 121 int (*finish) (RSA *rsa); 135 const RSA *rsa); 138 unsigned int siglen, const RSA *rsa); 153 int ossl_rsa_multiprime_derive(RSA *rsa, int bits, int primes, 166 int ossl_rsa_multip_calc_product(RSA *rsa); 180 int ossl_rsa_check_crt_components(const RSA *rsa, BN_CTX *ctx); 182 int ossl_rsa_sp800_56b_pairwise_test(RSA *rsa, BN_CTX *ctx); 183 int ossl_rsa_sp800_56b_check_public(const RSA *rsa); [all …]
|
H A D | rsa_meth.c | 104 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_pub_enc() 120 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_pub_dec() 136 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_priv_enc() 152 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_priv_dec() 168 (BIGNUM *r0, const BIGNUM *i, RSA *rsa, BN_CTX *ctx) in RSA_meth_get_mod_exp() 202 int (*RSA_meth_get_init(const RSA_METHOD *meth)) (RSA *rsa) in RSA_meth_get_init() 214 int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa) in RSA_meth_get_finish() 229 const RSA *rsa) in RSA_meth_get_sign() 238 const RSA *rsa)) in RSA_meth_set_sign() 247 unsigned int siglen, const RSA *rsa) in RSA_meth_get_verify() [all …]
|
H A D | rsa_lib.c | 34 RSA *RSA_new(void) in RSA_new() 64 RSA *RSA_new_method(ENGINE *engine) in RSA_new_method() 136 void RSA_free(RSA *r) in RSA_free() 189 int RSA_up_ref(RSA *r) in RSA_up_ref() 385 int RSA_security_bits(const RSA *rsa) in RSA_security_bits() 554 void RSA_get0_key(const RSA *r, in RSA_get0_key() 605 void RSA_get0_crt_params(const RSA *r, in RSA_get0_crt_params() 645 const BIGNUM *RSA_get0_n(const RSA *r) in RSA_get0_n() 722 void RSA_set_flags(RSA *r, int flags) in RSA_set_flags() 727 int RSA_get_version(RSA *r) in RSA_get_version() [all …]
|
H A D | rsa_crpt.c | 23 int RSA_bits(const RSA *r) in RSA_bits() 28 int RSA_size(const RSA *r) in RSA_size() 34 RSA *rsa, int padding) in RSA_public_encrypt() 40 unsigned char *to, RSA *rsa, int padding) in RSA_private_encrypt() 46 unsigned char *to, RSA *rsa, int padding) in RSA_private_decrypt() 52 RSA *rsa, int padding) in RSA_public_decrypt() 57 int RSA_flags(const RSA *r) in RSA_flags() 62 void RSA_blinding_off(RSA *rsa) in RSA_blinding_off() 70 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx) in RSA_blinding_on() 116 BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *in_ctx) in RSA_setup_blinding()
|
/openssl/test/recipes/30-test_evp_data/ |
H A D | evppkey_rsa.txt | 19 # RSA 2048 bit key. 64 PrivPubKeyPair = RSA-2048:RSA-2048-PUBLIC 66 Title = RSA tests 68 Sign = RSA-2048 74 Sign = RSA-2048 81 Sign = RSA-2048 93 Verify = RSA-2048 151 Sign = RSA-2048 208 Sign = RSA-2048 258 PrivPubKeyPair = RSA-PSS:RSA-PSS-DEFAULT [all …]
|
H A D | evppkey_rsa_common.txt | 17 # RSA 2048 bit key. 62 PrivPubKeyPair = RSA-2048:RSA-2048-PUBLIC 105 Sign = RSA-2048 404 PrivPubKeyPair = RSA-2048-2:RSA-2048-2-PUBLIC 610 PrivPubKeyPair = RSA-2049:RSA-2049-PUBLIC 722 PrivPubKeyPair = RSA-3072:RSA-3072-PUBLIC 874 PrivPubKeyPair = RSA-PSS:RSA-PSS-DEFAULT 888 PrivPubKeyPair = RSA-PSS:RSA-PSS-BAD 903 PrivPubKeyPair = RSA-PSS:RSA-PSS-BAD2 1879 PrivPubKeyPair = RSA-2048-BIS:RSA-2048-BIS-PUBLIC [all …]
|
/openssl/include/crypto/ |
H A D | rsa.h | 30 RSA_PSS_PARAMS_30 *ossl_rsa_get0_pss_params_30(RSA *r); 53 RSA *ossl_rsa_new_with_ctx(OSSL_LIB_CTX *libctx); 54 OSSL_LIB_CTX *ossl_rsa_get0_libctx(RSA *r); 55 void ossl_rsa_set0_libctx(RSA *r, OSSL_LIB_CTX *libctx); 63 int ossl_rsa_is_foreign(const RSA *rsa); 64 RSA *ossl_rsa_dup(const RSA *rsa, int selection); 100 int ossl_rsa_validate_public(const RSA *key); 101 int ossl_rsa_validate_private(const RSA *key); 102 int ossl_rsa_validate_pairwise(const RSA *key); 107 size_t siglen, RSA *rsa); [all …]
|
/openssl/doc/man3/ |
H A D | RSA_get0_key.pod | 26 void RSA_get0_key(const RSA *r, 29 void RSA_get0_crt_params(const RSA *r, 32 const BIGNUM *RSA_get0_n(const RSA *d); 33 const BIGNUM *RSA_get0_e(const RSA *d); 34 const BIGNUM *RSA_get0_d(const RSA *d); 43 void RSA_set_flags(RSA *r, int flags); 44 ENGINE *RSA_get0_engine(RSA *r); 51 int RSA_get_version(RSA *r); 103 into an RSA object. 119 RSA object. [all …]
|
H A D | RSA_set_method.pod | 7 RSA_new_method - select RSA method 21 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); 23 const RSA_METHOD *RSA_get_method(const RSA *rsa); 27 int RSA_flags(const RSA *rsa); 29 RSA *RSA_new_method(ENGINE *engine); 36 An B<RSA_METHOD> specifies the functions that OpenSSL uses for RSA 95 unsigned char *to, RSA *rsa, int padding); 110 int (*rsa_mod_exp)(BIGNUM *r0, BIGNUM *I, RSA *rsa); 117 int (*init)(RSA *rsa); 120 int (*finish)(RSA *rsa); [all …]
|
H A D | RSA_meth_new.pod | 17 - Routines to build up RSA methods 45 unsigned char *to, RSA *rsa, 50 unsigned char *to, RSA *rsa, int padding); 87 int (*RSA_meth_get_init(const RSA_METHOD *meth) (RSA *rsa); 88 int RSA_meth_set_init(RSA_METHOD *rsa, int (*init (RSA *rsa)); 91 int (*RSA_meth_get_finish(const RSA_METHOD *meth))(RSA *rsa); 92 int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish)(RSA *rsa)); 135 for the implementation of the various RSA capabilities. 142 new B<RSA> object based on this B<RSA_METHOD>. Any new B<RSA> object 174 function used for verifying an RSA signature respectively. This [all …]
|
H A D | RSA_check_key.pod | 5 RSA_check_key_ex, RSA_check_key - validate private RSA keys 15 int RSA_check_key_ex(const RSA *rsa, BN_GENCB *cb); 17 int RSA_check_key(const RSA *rsa); 25 RSA_check_key_ex() function validates RSA keys. 29 It does not work on RSA public keys that have only the modulus 34 the RSA key material, so the RSA key structure must contain all the private 36 Therefore, it cannot be used with any arbitrary RSA key object, 37 even if it is otherwise fit for regular RSA operation. 47 return 1 if B<rsa> is a valid RSA key, and 0 otherwise. 55 Unlike most other RSA functions, this function does B<not> work [all …]
|
/openssl/doc/man7/ |
H A D | EVP_PKEY-RSA.pod | 5 EVP_PKEY-RSA, EVP_KEYMGMT-RSA, RSA 6 - EVP_PKEY RSA keytype and algorithm support 16 =head2 Common RSA parameters 26 The RSA modulus "n" value. 30 The RSA public exponent "e" value. 37 The RSA private exponent "d" value. 110 =head2 RSA key generation parameters 150 RSA keys for a production environment. 194 =head2 RSA key validation 223 =item RFC 8017, excluding RSA-PSS and RSA-OAEP [all …]
|
H A D | EVP_KEM-RSA.pod | 5 EVP_KEM-RSA 6 - EVP_KEM RSA keytype and algorithm support 10 The B<RSA> keytype and its parameters are described in L<EVP_PKEY-RSA(7)>. 13 =head2 RSA KEM parameters 19 The OpenSSL RSA Key Encapsulation Mechanism only currently supports the 27 encrypts the secret using the RSA public key (with no padding). 28 The decapsulate function recovers the secret using the RSA private key.
|
H A D | RSA-PSS.pod | 5 RSA-PSS - EVP_PKEY RSA-PSS algorithm support 9 The B<RSA-PSS> EVP_PKEY implementation is a restricted version of the RSA 15 This algorithm shares several control operations with the B<RSA> algorithm 20 Signing and verification is similar to the B<RSA> algorithm except the 35 The PKCS#8 private key format used for RSA-PSS keys is similar to the RSA
|
/openssl/doc/internal/man3/ |
H A D | ossl_rsa_get0_all_params.pod | 6 - Internal routines for getting and setting data in an RSA object 12 int ossl_rsa_get0_all_params(RSA *r, STACK_OF(BIGNUM_const) *primes, 15 int ossl_rsa_set0_all_params(RSA *r, const STACK_OF(BIGNUM) *primes, 22 in the B<RSA> object I<r> to the contents of the stacks of BIGNUMs I<primes>, 23 I<exps> and I<coeffs>. The B<RSA> object takes ownership of the BIGNUMs, 27 in the B<RSA> object I<r> and pushes them on the stacks of constant BIGNUMs 28 I<primes>, I<exps> and I<coeffs>. The B<RSA> object retains ownership of the 40 if the B<RSA> object is a multi-prime RSA key. 45 if the B<RSA> object is a multi-prime RSA key. 50 if the B<RSA> object is a multi-prime RSA key.
|
/openssl/providers/ |
H A D | encoders.inc | 49 ENCODER_TEXT("RSA", rsa, yes), 50 ENCODER_TEXT("RSA-PSS", rsapss, yes), 125 ENCODER("RSA", rsa, yes, msblob), 126 ENCODER("RSA", rsa, yes, pvk), 141 ENCODER_w_structure("RSA", rsa, yes, der, PrivateKeyInfo), 234 ENCODER_w_structure("RSA", rsa, yes, der, RSA), 235 ENCODER_w_structure("RSA", rsa, yes, pem, RSA), 259 ENCODER_w_structure("RSA", rsa, yes, der, PKCS1), 260 ENCODER_w_structure("RSA", rsa, yes, pem, PKCS1), 261 ENCODER_w_structure("RSA-PSS", rsapss, yes, der, PKCS1), [all …]
|
/openssl/crypto/pem/ |
H A D | pem_all.c | 28 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa); 53 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa) in IMPLEMENT_PEM_rw() 55 RSA *rtmp; in IMPLEMENT_PEM_rw() 69 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, in PEM_read_bio_RSAPrivateKey() 79 RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, void *u) in PEM_read_RSAPrivateKey() 88 IMPLEMENT_PEM_write_cb(RSAPrivateKey, RSA, PEM_STRING_RSA, RSAPrivateKey) in IMPLEMENT_PEM_write_cb() argument 89 IMPLEMENT_PEM_rw(RSAPublicKey, RSA, PEM_STRING_RSA_PUBLIC, RSAPublicKey) in IMPLEMENT_PEM_write_cb() 90 IMPLEMENT_PEM_rw(RSA_PUBKEY, RSA, PEM_STRING_PUBLIC, RSA_PUBKEY) in IMPLEMENT_PEM_write_cb()
|
/openssl/doc/man1/ |
H A D | openssl-ciphers.pod.in | 229 =item B<kRSA>, B<aRSA>, B<RSA> 231 Cipher suites using RSA key exchange or authentication. B<RSA> is an alias for 237 with RSA and DSS keys or either respectively. 473 TLS_DH_RSA_WITH_AES_128_CBC_SHA DH-RSA-AES128-SHA 474 TLS_DH_RSA_WITH_AES_256_CBC_SHA DH-RSA-AES256-SHA 507 TLS_DH_RSA_WITH_SEED_CBC_SHA DH-RSA-SEED-SHA 510 TLS_DHE_RSA_WITH_SEED_CBC_SHA DHE-RSA-SEED-SHA 547 TLS_ECDHE_RSA_WITH_RC4_128_SHA ECDHE-RSA-RC4-SHA 754 SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA EDH-RSA-DES-CBC3-SHA (DHE-RSA-DES-CBC3-SHA) 780 openssl ciphers -v '3DES:+RSA' [all …]
|
/openssl/crypto/evp/ |
H A D | p_legacy.c | 25 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key) in EVP_PKEY_set1_RSA() 34 RSA *evp_pkey_get0_RSA_int(const EVP_PKEY *pkey) in evp_pkey_get0_RSA_int() 43 const RSA *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey) in EVP_PKEY_get0_RSA() 48 RSA *EVP_PKEY_get1_RSA(EVP_PKEY *pkey) in EVP_PKEY_get1_RSA() 50 RSA *ret = evp_pkey_get0_RSA_int(pkey); in EVP_PKEY_get1_RSA()
|