| /freebsd-14.2/crypto/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 …]
|
| /freebsd-14.2/crypto/openssl/include/openssl/ |
| H A D | rsa.h | 201 OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); 244 OSSL_DEPRECATEDIN_3_0 int RSA_get_version(RSA *r); 283 RSA *rsa, int padding); 286 RSA *rsa, int padding); 289 RSA *rsa, int padding); 292 RSA *rsa, int padding); 293 OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); 295 OSSL_DEPRECATEDIN_3_0 int RSA_up_ref(RSA *r); 296 OSSL_DEPRECATEDIN_3_0 int RSA_flags(const RSA *r); 364 RSA *rsa); [all …]
|
| /freebsd-14.2/crypto/openssl/test/recipes/30-test_evp_data/ |
| H A D | evppkey_rsa_common.txt | 17 # RSA 2048 bit key. 62 PrivPubKeyPair = RSA-2048:RSA-2048-PUBLIC 105 Sign = RSA-2048 206 Sign = RSA-2048 250 # RSA decrypt 326 PrivPubKeyPair = RSA-PSS:RSA-PSS-DEFAULT 340 PrivPubKeyPair = RSA-PSS:RSA-PSS-BAD 355 PrivPubKeyPair = RSA-PSS:RSA-PSS-BAD2 463 # Additional RSA-PSS and RSA-OAEP tests converted from 1294 PrivPubKeyPair = RSA-2048-BIS:RSA-2048-BIS-PUBLIC [all …]
|
| 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 201 Sign = RSA-2048 251 PrivPubKeyPair = RSA-PSS:RSA-PSS-DEFAULT 275 # Additional RSA-PSS and RSA-OAEP tests converted from [all …]
|
| /freebsd-14.2/crypto/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); 108 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); 162 int ossl_rsa_multip_calc_product(RSA *rsa); 176 int ossl_rsa_check_crt_components(const RSA *rsa, BN_CTX *ctx); 178 int ossl_rsa_sp800_56b_pairwise_test(RSA *rsa, BN_CTX *ctx); 179 int ossl_rsa_sp800_56b_check_public(const RSA *rsa); [all …]
|
| H A D | rsa_meth.c | 108 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_pub_enc() 124 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_pub_dec() 140 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_priv_enc() 156 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_priv_dec() 172 (BIGNUM *r0, const BIGNUM *i, RSA *rsa, BN_CTX *ctx) in RSA_meth_get_mod_exp() 206 int (*RSA_meth_get_init(const RSA_METHOD *meth)) (RSA *rsa) in RSA_meth_get_init() 218 int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa) in RSA_meth_get_finish() 233 const RSA *rsa) in RSA_meth_get_sign() 242 const RSA *rsa)) in RSA_meth_set_sign() 251 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() 133 void RSA_free(RSA *r) in RSA_free() 180 int RSA_up_ref(RSA *r) in RSA_up_ref() 376 int RSA_security_bits(const RSA *rsa) in RSA_security_bits() 545 void RSA_get0_key(const RSA *r, in RSA_get0_key() 596 void RSA_get0_crt_params(const RSA *r, in RSA_get0_crt_params() 636 const BIGNUM *RSA_get0_n(const RSA *r) in RSA_get0_n() 713 void RSA_set_flags(RSA *r, int flags) in RSA_set_flags() 718 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()
|
| /freebsd-14.2/crypto/openssl/include/crypto/ |
| H A D | rsa.h | 30 RSA_PSS_PARAMS_30 *ossl_rsa_get0_pss_params_30(RSA *r); 55 RSA *ossl_rsa_new_with_ctx(OSSL_LIB_CTX *libctx); 56 OSSL_LIB_CTX *ossl_rsa_get0_libctx(RSA *r); 57 void ossl_rsa_set0_libctx(RSA *r, OSSL_LIB_CTX *libctx); 65 int ossl_rsa_is_foreign(const RSA *rsa); 66 RSA *ossl_rsa_dup(const RSA *rsa, int selection); 98 int ossl_rsa_validate_public(const RSA *key); 99 int ossl_rsa_validate_private(const RSA *key); 100 int ossl_rsa_validate_pairwise(const RSA *key); 105 size_t siglen, RSA *rsa); [all …]
|
| /freebsd-14.2/crypto/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 …]
|
| /freebsd-14.2/crypto/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 141 RSA keys for a production environment. 185 =head2 RSA key validation 214 =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.
|
| /freebsd-14.2/crypto/openssh/regress/ |
| H A D | agent-pkcs11-cert.sh | 20 $SSHKEYGEN -qs $OBJ/ca -I "rsa_key" -n $USER -z 2 ${SSH_SOFTHSM_DIR}/RSA.pub || 47 ${SSH_SOFTHSM_DIR}/RSA.pub \ 48 ${SSH_SOFTHSM_DIR}/RSA-cert.pub || 53 ${SSH_SOFTHSM_DIR}/RSA.pub \ 55 ${SSH_SOFTHSM_DIR}/RSA-cert.pub | sort > $OBJ/expect_list 60 for x in ${SSH_SOFTHSM_DIR}/EC.pub ${SSH_SOFTHSM_DIR}/RSA.pub \ 61 ${SSH_SOFTHSM_DIR}/EC-cert.pub ${SSH_SOFTHSM_DIR}/RSA-cert.pub ; do 66 $SSHADD -qd ${SSH_SOFTHSM_DIR}/EC.pub ${SSH_SOFTHSM_DIR}/RSA.pub 79 ${SSH_SOFTHSM_DIR}/RSA.pub \ 80 ${SSH_SOFTHSM_DIR}/RSA-cert.pub || [all …]
|
| /freebsd-14.2/crypto/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.
|
| /freebsd-14.2/crypto/openssl/providers/ |
| H A D | encoders.inc | 49 ENCODER_TEXT("RSA", rsa, yes), 50 ENCODER_TEXT("RSA-PSS", rsapss, yes), 123 ENCODER("RSA", rsa, yes, msblob), 124 ENCODER("RSA", rsa, yes, pvk), 139 ENCODER_w_structure("RSA", rsa, yes, der, PrivateKeyInfo), 230 ENCODER_w_structure("RSA", rsa, yes, der, RSA), 231 ENCODER_w_structure("RSA", rsa, yes, pem, RSA), 255 ENCODER_w_structure("RSA", rsa, yes, der, PKCS1), 256 ENCODER_w_structure("RSA", rsa, yes, pem, PKCS1), 257 ENCODER_w_structure("RSA-PSS", rsapss, yes, der, PKCS1), [all …]
|
| /freebsd-14.2/contrib/bearssl/test/x509/ |
| H A D | alltests.txt | 11 type = RSA 41 type = RSA 47 type = RSA 53 type = RSA 137 keytype = RSA 149 keytype = RSA 159 keytype = RSA 170 keytype = RSA 181 keytype = RSA 192 keytype = RSA [all …]
|
| /freebsd-14.2/crypto/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()
|
| /freebsd-14.2/crypto/openssl/doc/man1/ |
| H A D | openssl-ciphers.pod.in | 225 =item B<kRSA>, B<aRSA>, B<RSA> 227 Cipher suites using RSA key exchange or authentication. B<RSA> is an alias for 233 with RSA and DSS keys or either respectively. 466 TLS_DH_RSA_WITH_AES_128_CBC_SHA DH-RSA-AES128-SHA 467 TLS_DH_RSA_WITH_AES_256_CBC_SHA DH-RSA-AES256-SHA 500 TLS_DH_RSA_WITH_SEED_CBC_SHA DH-RSA-SEED-SHA 503 TLS_DHE_RSA_WITH_SEED_CBC_SHA DHE-RSA-SEED-SHA 540 TLS_ECDHE_RSA_WITH_RC4_128_SHA ECDHE-RSA-RC4-SHA 738 SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA EDH-RSA-DES-CBC3-SHA (DHE-RSA-DES-CBC3-SHA) 764 openssl ciphers -v '3DES:+RSA' [all …]
|