Home
last modified time | relevance | path

Searched refs:RSA (Results 1 – 25 of 649) sorted by relevance

12345678910>>...26

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Drsa.h72 #define RSA hc_RSA macro
79 typedef struct RSA RSA; typedef
87 int (*rsa_pub_enc)(int,const unsigned char *, unsigned char *, RSA *,int);
88 int (*rsa_pub_dec)(int,const unsigned char *, unsigned char *, RSA *,int);
89 int (*rsa_priv_enc)(int,const unsigned char *, unsigned char *, RSA *,int);
90 int (*rsa_priv_dec)(int,const unsigned char *, unsigned char *, RSA *,int);
93 int (*init)(RSA *rsa);
94 int (*finish)(RSA *rsa);
98 unsigned char *, unsigned int *, const RSA *);
100 unsigned char *, unsigned int, const RSA *);
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Drsa.h198 RSA *RSA_new(void);
199 RSA *RSA_new_method(ENGINE *engine);
200 int RSA_bits(const RSA *rsa);
201 int RSA_size(const RSA *rsa);
202 int RSA_security_bits(const RSA *rsa);
204 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
205 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
206 int RSA_set0_crt_params(RSA *r,BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp);
207 int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[],
209 void RSA_get0_key(const RSA *r,
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/test/ssl-tests/
H A D25-cipher.cnf.in25 "CipherString" => "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256",
29 "CipherString" => "ECDHE-RSA-AES256-SHA384"
32 "ExpectedCipher" => "ECDHE-RSA-AES256-SHA384",
39 "CipherString" => "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256",
43 "CipherString" => "ECDHE-RSA-AES128-SHA256"
46 "ExpectedCipher" => "ECDHE-RSA-AES128-SHA256",
53 "CipherString" => "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256",
57 "CipherString" => "ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384",
60 "ExpectedCipher" => "ECDHE-RSA-AES128-SHA256",
67 "CipherString" => "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256",
[all …]
H A D25-cipher.cnf25 CipherString = ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256
30 CipherString = ECDHE-RSA-AES256-SHA384
36 ExpectedCipher = ECDHE-RSA-AES256-SHA384
50 CipherString = ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256
55 CipherString = ECDHE-RSA-AES128-SHA256
61 ExpectedCipher = ECDHE-RSA-AES128-SHA256
75 CipherString = ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256
80 CipherString = ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384
86 ExpectedCipher = ECDHE-RSA-AES128-SHA256
100 CipherString = ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256
[all …]
H A D20-cert-select.cnf8 test-3 = 3-RSA CipherString Selection
15 test-10 = 10-RSA Signature Algorithm Selection
16 test-11 = 11-RSA-PSS Signature Algorithm Selection
17 test-12 = 12-RSA key exchange with all RSA certificate types
28 test-23 = 23-RSA-PSS Certificate CipherString Selection
29 test-24 = 24-RSA-PSS Certificate Legacy Signature Algorithm Selection
30 test-25 = 25-RSA-PSS Certificate Unified Signature Algorithm Selection
31 test-26 = 26-Only RSA-PSS Certificate
32 test-27 = 27-Only RSA-PSS Certificate Valid Signature Algorithms
33 test-28 = 28-RSA-PSS Certificate, no PSS signature algorithms
[all …]
H A D20-cert-select.cnf.in125 name => "RSA CipherString Selection",
132 "ExpectedServerCertType" =>, "RSA",
133 "ExpectedServerSignType" =>, "RSA-PSS",
221 name => "RSA Signature Algorithm Selection",
224 "SignatureAlgorithms" => "RSA+SHA256",
227 "ExpectedServerCertType" => "RSA",
229 "ExpectedServerSignType" => "RSA",
234 name => "RSA-PSS Signature Algorithm Selection",
237 "SignatureAlgorithms" => "RSA-PSS+SHA256",
240 "ExpectedServerCertType" => "RSA",
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/ssl-tests/
H A D25-cipher.conf.in23 "CipherString" => "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256",
27 "CipherString" => "ECDHE-RSA-AES256-SHA384"
30 "ExpectedCipher" => "ECDHE-RSA-AES256-SHA384",
37 "CipherString" => "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256",
41 "CipherString" => "ECDHE-RSA-AES128-SHA256"
44 "ExpectedCipher" => "ECDHE-RSA-AES128-SHA256",
51 "CipherString" => "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256",
55 "CipherString" => "ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384",
58 "ExpectedCipher" => "ECDHE-RSA-AES128-SHA256",
65 "CipherString" => "ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256",
[all …]
H A D25-cipher.conf25 CipherString = ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256
30 CipherString = ECDHE-RSA-AES256-SHA384
36 ExpectedCipher = ECDHE-RSA-AES256-SHA384
50 CipherString = ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256
55 CipherString = ECDHE-RSA-AES128-SHA256
61 ExpectedCipher = ECDHE-RSA-AES128-SHA256
75 CipherString = ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256
80 CipherString = ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384
86 ExpectedCipher = ECDHE-RSA-AES128-SHA256
100 CipherString = ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256
[all …]
H A D20-cert-select.conf11 test-6 = 6-RSA CipherString Selection
12 test-7 = 7-RSA-PSS Certificate CipherString Selection
22 test-17 = 17-RSA Signature Algorithm Selection
23 test-18 = 18-RSA-PSS Signature Algorithm Selection
24 test-19 = 19-RSA-PSS Certificate Legacy Signature Algorithm Selection
25 test-20 = 20-RSA-PSS Certificate Unified Signature Algorithm Selection
26 test-21 = 21-Only RSA-PSS Certificate
27 test-22 = 22-Only RSA-PSS Certificate Valid Signature Algorithms
28 test-23 = 23-RSA-PSS Certificate, no PSS signature algorithms
29 test-24 = 24-Only RSA-PSS Restricted Certificate
[all …]
H A D20-cert-select.conf.in171 name => "RSA CipherString Selection",
178 "ExpectedServerCertType" =>, "RSA",
179 "ExpectedServerSignType" =>, "RSA-PSS",
184 name => "RSA-PSS Certificate CipherString Selection",
191 "ExpectedServerCertType" =>, "RSA-PSS",
192 "ExpectedServerSignType" =>, "RSA-PSS",
328 name => "RSA Signature Algorithm Selection",
331 "SignatureAlgorithms" => "RSA+SHA256",
334 "ExpectedServerCertType" => "RSA",
336 "ExpectedServerSignType" => "RSA",
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A Drsa.h201 OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
202 OSSL_DEPRECATEDIN_3_0 RSA *RSA_new_method(ENGINE *engine);
203 OSSL_DEPRECATEDIN_3_0 int RSA_bits(const RSA *rsa);
204 OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
205 OSSL_DEPRECATEDIN_3_0 int RSA_security_bits(const RSA *rsa);
207 OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
208 OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
209 OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
212 OSSL_DEPRECATEDIN_3_0 int RSA_set0_multi_prime_params(RSA *r,
217 OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/test/recipes/30-test_evp_data/
H A Devppkey_rsa.txt19 # RSA 2048 bit key.
21 PrivateKey = RSA-2048
53 PublicKey = RSA-2048-PUBLIC
64 PrivPubKeyPair = RSA-2048:RSA-2048-PUBLIC
66 Title = RSA tests
68 Sign = RSA-2048
74 Sign = RSA-2048
81 Sign = RSA-2048
87 VerifyRecover = RSA-2048
93 Verify = RSA-2048
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/rsa/
H A Drsa_asn1.c37 RSA_free((RSA *)*pval); in rsa_cb()
41 if (((RSA *)*pval)->version != RSA_ASN1_VERSION_MULTI) { in rsa_cb()
45 return (ossl_rsa_multip_calc_product((RSA *)*pval) == 1) ? 2 : 0; 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),
64 ASN1_SIMPLE(RSA, dmp1, CBIGNUM),
[all …]
H A Drsa_local.h106 unsigned char *to, RSA *rsa, int padding);
108 unsigned char *to, RSA *rsa, int padding);
110 unsigned char *to, RSA *rsa, int padding);
112 unsigned char *to, RSA *rsa, int padding);
114 int (*rsa_mod_exp) (BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx);
119 int (*init) (RSA *rsa);
121 int (*finish) (RSA *rsa);
135 const RSA *rsa);
138 unsigned int siglen, const RSA *rsa);
145 int (*rsa_keygen) (RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
[all …]
H A Drsa_meth.c108 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_pub_enc()
115 unsigned char *to, RSA *rsa, in RSA_meth_set_pub_enc()
124 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_pub_dec()
131 unsigned char *to, RSA *rsa, in RSA_meth_set_pub_dec()
140 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_priv_enc()
147 unsigned char *to, RSA *rsa, in RSA_meth_set_priv_enc()
156 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_priv_dec()
163 unsigned char *to, RSA *rsa, in RSA_meth_set_priv_dec()
172 (BIGNUM *r0, const BIGNUM *i, RSA *rsa, BN_CTX *ctx) in RSA_meth_get_mod_exp()
178 int (*mod_exp) (BIGNUM *r0, const BIGNUM *i, RSA *rsa, in RSA_meth_set_mod_exp()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/rsa/
H A Drsa_asn1.c31 RSA_free((RSA *)*pval); in rsa_cb()
35 if (((RSA *)*pval)->version != RSA_ASN1_VERSION_MULTI) { in rsa_cb()
39 return (rsa_multip_calc_product((RSA *)*pval) == 1) ? 2 : 0; in rsa_cb()
52 ASN1_EMBED(RSA, version, INT32),
53 ASN1_SIMPLE(RSA, n, BIGNUM),
54 ASN1_SIMPLE(RSA, e, BIGNUM),
55 ASN1_SIMPLE(RSA, d, CBIGNUM),
56 ASN1_SIMPLE(RSA, p, CBIGNUM),
57 ASN1_SIMPLE(RSA, q, CBIGNUM),
58 ASN1_SIMPLE(RSA, dmp1, CBIGNUM),
[all …]
H A Drsa_lib.c20 RSA *RSA_new(void) in RSA_new()
25 const RSA_METHOD *RSA_get_method(const RSA *rsa) in RSA_get_method()
30 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth) in RSA_set_method()
50 RSA *RSA_new_method(ENGINE *engine) in RSA_new_method()
52 RSA *ret = OPENSSL_zalloc(sizeof(*ret)); in RSA_new_method()
105 void RSA_free(RSA *r) in RSA_free()
144 int RSA_up_ref(RSA *r) in RSA_up_ref()
156 int RSA_set_ex_data(RSA *r, int idx, void *arg) in RSA_set_ex_data()
161 void *RSA_get_ex_data(const RSA *r, int idx) in RSA_get_ex_data()
166 int RSA_security_bits(const RSA *rsa) in RSA_security_bits()
[all …]
H A Drsa_meth.c102 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_pub_enc()
109 unsigned char *to, RSA *rsa, in RSA_meth_set_pub_enc()
118 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_pub_dec()
125 unsigned char *to, RSA *rsa, in RSA_meth_set_pub_dec()
134 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_priv_enc()
141 unsigned char *to, RSA *rsa, in RSA_meth_set_priv_enc()
150 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_priv_dec()
157 unsigned char *to, RSA *rsa, in RSA_meth_set_priv_dec()
166 (BIGNUM *r0, const BIGNUM *i, RSA *rsa, BN_CTX *ctx) in RSA_meth_get_mod_exp()
172 int (*mod_exp) (BIGNUM *r0, const BIGNUM *i, RSA *rsa, in RSA_meth_set_mod_exp()
[all …]
H A Drsa_local.h71 unsigned char *to, RSA *rsa, int padding);
73 unsigned char *to, RSA *rsa, int padding);
75 unsigned char *to, RSA *rsa, int padding);
77 unsigned char *to, RSA *rsa, int padding);
79 int (*rsa_mod_exp) (BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx);
84 int (*init) (RSA *rsa);
86 int (*finish) (RSA *rsa);
100 const RSA *rsa);
103 unsigned int siglen, const RSA *rsa);
110 int (*rsa_keygen) (RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/include/crypto/
H A Drsa.h30 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);
59 int ossl_rsa_set0_all_params(RSA *r, const STACK_OF(BIGNUM) *primes,
62 int ossl_rsa_get0_all_params(RSA *r, STACK_OF(BIGNUM_const) *primes,
65 int ossl_rsa_is_foreign(const RSA *rsa);
66 RSA *ossl_rsa_dup(const RSA *rsa, int selection);
68 int ossl_rsa_todata(RSA *rsa, OSSL_PARAM_BLD *bld, OSSL_PARAM params[],
70 int ossl_rsa_fromdata(RSA *rsa, const OSSL_PARAM params[], int include_private);
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DRSA_get0_key.pod13 - Routines for getting and setting data in an RSA object
19 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
20 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
21 int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp);
22 void RSA_get0_key(const RSA *r,
24 void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
25 void RSA_get0_crt_params(const RSA *r,
28 const BIGNUM *RSA_get0_n(const RSA *d);
29 const BIGNUM *RSA_get0_e(const RSA *d);
30 const BIGNUM *RSA_get0_d(const RSA *d);
[all …]
H A DRSA_set_method.pod7 RSA_new_method - select RSA method
17 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
19 RSA_METHOD *RSA_get_method(const RSA *rsa);
23 int RSA_flags(const RSA *rsa);
25 RSA *RSA_new_method(ENGINE *engine);
29 An B<RSA_METHOD> specifies the functions that OpenSSL uses for RSA
32 important information about how these RSA API functions are affected by the
38 RSA_set_default_method() makes B<meth> the default method for all RSA
41 been set as a default for RSA, so this function is no longer recommended.
51 B<rsa>. This will replace the RSA_METHOD used by the RSA key and if the
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DRSA_get0_key.pod13 - Routines for getting and setting data in an RSA object
23 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
24 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
25 int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp);
26 void RSA_get0_key(const RSA *r,
28 void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
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);
[all …]
H A DRSA_set_method.pod7 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
39 important information about how these RSA API functions are affected by the
45 RSA_set_default_method() makes B<meth> the default method for all RSA
48 been set as a default for RSA, so this function is no longer recommended.
58 B<rsa>. This will replace the RSA_METHOD used by the RSA key and if the
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man7/
H A DEVP_PKEY-RSA.pod5 EVP_PKEY-RSA, EVP_KEYMGMT-RSA, RSA
6 - EVP_PKEY RSA keytype and algorithm support
10 The B<RSA> keytype is implemented in OpenSSL's default and FIPS providers.
11 That implementation supports the basic RSA keys, containing the modulus I<n>,
16 =head2 Common RSA parameters
19 L<provider-keymgmt(7)/Common parameters>), the B<RSA> keytype implementation
26 The RSA modulus "n" value.
30 The RSA public exponent "e" value.
37 The RSA private exponent "d" value.
59 RSA prime factors. The factors are known as "p", "q" and "r_i" in RFC8017.
[all …]

12345678910>>...26