| /freebsd-13.1/crypto/openssl/include/openssl/ |
| H A D | rsa.h | 198 RSA *RSA_new(void); 200 int RSA_bits(const RSA *rsa); 201 int RSA_size(const RSA *rsa); 209 void RSA_get0_key(const RSA *r, 231 int RSA_get_version(RSA *r); 263 void RSA_free(RSA *r); 265 int RSA_up_ref(RSA *r); 267 int RSA_flags(const RSA *r); 397 RSA *RSAPublicKey_dup(RSA *rsa); 398 RSA *RSAPrivateKey_dup(RSA *rsa); [all …]
|
| /freebsd-13.1/crypto/openssl/crypto/rsa/ |
| H A D | rsa_asn1.c | 31 RSA_free((RSA *)*pval); 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), 66 ASN1_SIMPLE(RSA, n, BIGNUM), 67 ASN1_SIMPLE(RSA, e, BIGNUM), 113 RSA *RSAPublicKey_dup(RSA *rsa) [all …]
|
| H A D | rsa_lib.c | 20 RSA *RSA_new(void) in RSA_new() 50 RSA *RSA_new_method(ENGINE *engine) in RSA_new_method() 105 void RSA_free(RSA *r) in RSA_free() 144 int RSA_up_ref(RSA *r) in RSA_up_ref() 166 int RSA_security_bits(const RSA *rsa) in RSA_security_bits() 327 void RSA_get0_key(const RSA *r, in RSA_get0_key() 376 void RSA_get0_crt_params(const RSA *r, in RSA_get0_crt_params() 414 const BIGNUM *RSA_get0_n(const RSA *r) in RSA_get0_n() 469 void RSA_set_flags(RSA *r, int flags) in RSA_set_flags() 474 int RSA_get_version(RSA *r) in RSA_get_version() [all …]
|
| H A D | rsa_meth.c | 102 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_pub_enc() 118 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_pub_dec() 134 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_priv_enc() 150 unsigned char *to, RSA *rsa, int padding) in RSA_meth_get_priv_dec() 166 (BIGNUM *r0, const BIGNUM *i, RSA *rsa, BN_CTX *ctx) in RSA_meth_get_mod_exp() 200 int (*RSA_meth_get_init(const RSA_METHOD *meth)) (RSA *rsa) in RSA_meth_get_init() 212 int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa) in RSA_meth_get_finish() 227 const RSA *rsa) in RSA_meth_get_sign() 236 const RSA *rsa)) in RSA_meth_set_sign() 245 unsigned int siglen, const RSA *rsa) in RSA_meth_get_verify() [all …]
|
| H A D | rsa_local.h | 71 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); 84 int (*init) (RSA *rsa); 86 int (*finish) (RSA *rsa); 100 const RSA *rsa); 103 unsigned int siglen, const RSA *rsa); 111 int (*rsa_multi_prime_keygen) (RSA *rsa, int bits, int primes, 118 size_t siglen, RSA *rsa); [all …]
|
| H A D | rsa_crpt.c | 17 int RSA_bits(const RSA *r) in RSA_bits() 22 int RSA_size(const RSA *r) in RSA_size() 28 RSA *rsa, int padding) in RSA_public_encrypt() 34 unsigned char *to, RSA *rsa, int padding) in RSA_private_encrypt() 40 unsigned char *to, RSA *rsa, int padding) in RSA_private_decrypt() 46 RSA *rsa, int padding) in RSA_public_decrypt() 51 int RSA_flags(const RSA *r) in RSA_flags() 56 void RSA_blinding_off(RSA *rsa) in RSA_blinding_off() 64 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx) in RSA_blinding_on() 110 BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *in_ctx) in RSA_setup_blinding()
|
| /freebsd-13.1/crypto/openssl/doc/man3/ |
| H A D | RSA_get0_key.pod | 22 void RSA_get0_key(const RSA *r, 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); 39 void RSA_set_flags(RSA *r, int flags); 40 ENGINE *RSA_get0_engine(RSA *r); 47 int RSA_get_version(RSA *r); 95 into an RSA object. 111 RSA object. [all …]
|
| H A D | RSA_set_method.pod | 7 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 38 RSA_set_default_method() makes B<meth> the default method for all RSA 103 int (*rsa_mod_exp)(BIGNUM *r0, BIGNUM *I, RSA *rsa); 110 int (*init)(RSA *rsa); 113 int (*finish)(RSA *rsa); [all …]
|
| H A D | RSA_check_key.pod | 5 RSA_check_key_ex, RSA_check_key - validate private RSA keys 11 int RSA_check_key_ex(RSA *rsa, BN_GENCB *cb); 13 int RSA_check_key(RSA *rsa); 17 RSA_check_key_ex() function validates RSA keys. 21 It does not work on RSA public keys that have only the modulus 26 the RSA key material, so the RSA key structure must contain all the private 28 Therefore, it cannot be used with any arbitrary RSA key object, 29 even if it is otherwise fit for regular RSA operation. 39 return 1 if B<rsa> is a valid RSA key, and 0 otherwise. 47 Unlike most other RSA functions, this function does B<not> work [all …]
|
| H A D | RSA_meth_new.pod | 17 - Routines to build up RSA methods 41 unsigned char *to, RSA *rsa, 46 unsigned char *to, RSA *rsa, int padding); 49 unsigned char *to, RSA *rsa, 83 int (*RSA_meth_get_init(const RSA_METHOD *meth) (RSA *rsa); 84 int RSA_meth_set_init(RSA_METHOD *rsa, int (*init (RSA *rsa)); 87 int (*RSA_meth_get_finish(const RSA_METHOD *meth))(RSA *rsa); 88 int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish)(RSA *rsa)); 136 new B<RSA> object based on this B<RSA_METHOD>. Any new B<RSA> object 168 function used for verifying an RSA signature respectively. This [all …]
|
| H A D | RSA_blinding_on.pod | 5 RSA_blinding_on, RSA_blinding_off - protect the RSA operation from timing attacks 11 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); 13 void RSA_blinding_off(RSA *rsa); 17 RSA is vulnerable to timing attacks. In a setup where attackers can 18 measure the time of RSA decryption or signature operations, blinding 19 must be used to protect the RSA operation from that attack.
|
| H A D | EVP_PKEY_CTX_set_rsa_pss_keygen_md.pod | 8 - EVP_PKEY RSA-PSS algorithm support functions 23 These are the functions that implement L<RSA-PSS(7)>. 29 than B<PSS>. It is otherwise similar to the B<RSA> version. 34 to the B<RSA> operation except detection of the salt length (using 42 similar to the B<RSA> versions. 46 As with RSA key generation the EVP_PKEY_CTX_set_rsa_keygen_bits() 47 and EVP_PKEY_CTX_set_rsa_keygen_pubexp() macros are supported for RSA-PSS: 48 they have exactly the same meaning as for the RSA algorithm. 68 A context for the B<RSA-PSS> algorithm can be obtained by calling: 80 L<RSA-PSS(7)>,
|
| H A D | RSA_size.pod | 5 RSA_size, RSA_bits, RSA_security_bits - get RSA modulus size or security bits 11 int RSA_size(const RSA *rsa); 13 int RSA_bits(const RSA *rsa); 15 int RSA_security_bits(const RSA *rsa) 19 RSA_size() returns the RSA modulus size in bytes. It can be used to 20 determine how much memory must be allocated for an RSA encrypted
|
| H A D | RSA_generate_key.pod | 6 RSA_generate_multi_prime_key - generate RSA key pair 12 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb); 13 int RSA_generate_multi_prime_key(RSA *rsa, int bits, int primes, BIGNUM *e, BN_GENCB *cb); 18 RSA *RSA_generate_key(int bits, unsigned long e, 24 RSA_generate_key_ex() generates a 2-prime RSA key pair and stores it in the 25 B<RSA> structure provided in B<rsa>. The pseudo-random number generator must 28 RSA_generate_multi_prime_key() generates a multi-prime RSA key pair and stores 29 it in the B<RSA> structure provided in B<rsa>. The number of primes is given by 84 RSA_generate_key() returns a pointer to the RSA structure or
|
| H A D | RSA_new.pod | 5 RSA_new, RSA_free - allocate and free RSA objects 11 RSA *RSA_new(void); 13 void RSA_free(RSA *rsa); 17 RSA_new() allocates and initializes an B<RSA> structure. It is equivalent to 20 RSA_free() frees the B<RSA> structure and its components. The key is
|
| /freebsd-13.1/crypto/openssl/crypto/pem/ |
| H A D | pem_all.c | 22 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa); 47 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa) in IMPLEMENT_PEM_rw() 49 RSA *rtmp; in IMPLEMENT_PEM_rw() 63 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, in PEM_read_bio_RSAPrivateKey() 73 RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, void *u) in PEM_read_RSAPrivateKey() 82 IMPLEMENT_PEM_write_cb_const(RSAPrivateKey, RSA, PEM_STRING_RSA, in IMPLEMENT_PEM_write_cb_const() argument 86 IMPLEMENT_PEM_rw_const(RSAPublicKey, RSA, PEM_STRING_RSA_PUBLIC, in IMPLEMENT_PEM_write_cb_const() 88 IMPLEMENT_PEM_rw(RSA_PUBKEY, RSA, PEM_STRING_PUBLIC, RSA_PUBKEY) in IMPLEMENT_PEM_write_cb_const()
|
| /freebsd-13.1/crypto/openssh/openbsd-compat/ |
| H A D | openssl-compat.h | 130 void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, 135 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); 139 void RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1, 144 int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp); 148 void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q); 152 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); 207 int (*RSA_meth_get_finish(const RSA_METHOD *meth))(RSA *rsa); 212 const unsigned char *from, unsigned char *to, RSA *rsa, int padding)); 217 const unsigned char *from, unsigned char *to, RSA *rsa, int padding)); 221 int RSA_meth_set_finish(RSA_METHOD *meth, int (*finish)(RSA *rsa)); [all …]
|
| H A D | libressl-api-compat.c | 231 RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d) in RSA_get0_key() 244 RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) in RSA_set0_key() 268 RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1, in RSA_get0_crt_params() 282 RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp) in RSA_set0_crt_params() 308 RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q) in RSA_get0_factors() 319 RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q) in RSA_set0_factors() 572 (*RSA_meth_get_finish(const RSA_METHOD *meth))(RSA *rsa) in RSA_meth_get_finish() 581 const unsigned char *from, unsigned char *to, RSA *rsa, int padding)) in RSA_meth_set_priv_enc() 591 const unsigned char *from, unsigned char *to, RSA *rsa, int padding)) in RSA_meth_set_priv_dec() 600 RSA_meth_set_finish(RSA_METHOD *meth, int (*finish)(RSA *rsa)) in RSA_meth_set_finish() [all …]
|
| /freebsd-13.1/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-13.1/crypto/openssl/doc/man1/ |
| H A D | ciphers.pod | 221 =item B<kRSA>, B<aRSA>, B<RSA> 223 Cipher suites using RSA key exchange or authentication. B<RSA> is an alias for 229 with RSA and DSS keys or either respectively. 455 TLS_DH_RSA_WITH_AES_128_CBC_SHA DH-RSA-AES128-SHA 456 TLS_DH_RSA_WITH_AES_256_CBC_SHA DH-RSA-AES256-SHA 489 TLS_DH_RSA_WITH_SEED_CBC_SHA DH-RSA-SEED-SHA 492 TLS_DHE_RSA_WITH_SEED_CBC_SHA DHE-RSA-SEED-SHA 515 TLS_ECDHE_RSA_WITH_RC4_128_SHA ECDHE-RSA-RC4-SHA 713 SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA EDH-RSA-DES-CBC3-SHA (DHE-RSA-DES-CBC3-SHA) 739 openssl ciphers -v '3DES:+RSA' [all …]
|
| /freebsd-13.1/crypto/openssl/crypto/x509/ |
| H A D | x_all.c | 200 RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPrivateKey_fp() 205 int i2d_RSAPrivateKey_fp(FILE *fp, RSA *rsa) in i2d_RSAPrivateKey_fp() 210 RSA *d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPublicKey_fp() 215 RSA *d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa) in d2i_RSA_PUBKEY_fp() 222 int i2d_RSAPublicKey_fp(FILE *fp, RSA *rsa) in i2d_RSAPublicKey_fp() 227 int i2d_RSA_PUBKEY_fp(FILE *fp, RSA *rsa) in i2d_RSA_PUBKEY_fp() 233 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa) in d2i_RSAPrivateKey_bio() 243 RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa) in d2i_RSAPublicKey_bio() 248 RSA *d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa) in d2i_RSA_PUBKEY_bio() 253 int i2d_RSAPublicKey_bio(BIO *bp, RSA *rsa) in i2d_RSAPublicKey_bio() [all …]
|
| /freebsd-13.1/crypto/openssl/doc/man7/ |
| 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
|
| /freebsd-13.1/contrib/ntp/include/ |
| H A D | libssl_compat.h | 56 extern RSA* sslshim_EVP_PKEY_get0_RSA(EVP_PKEY * pkey); 59 extern void sslshim_RSA_get0_key(const RSA *prsa, const BIGNUM **pn, 61 extern int sslshim_RSA_set0_key(RSA *prsa, BIGNUM *n, 63 extern void sslshim_RSA_get0_factors(const RSA *prsa, const BIGNUM **pp, 65 extern int sslshim_RSA_set0_factors(RSA *prsar, BIGNUM *p, BIGNUM *q); 66 extern int sslshim_RSA_set0_crt_params(RSA *prsa, BIGNUM *dmp1,
|
| /freebsd-13.1/contrib/file/magic/Magdir/ |
| H A D | pgp | 102 # - RSA (e=65537) secret (sub-)keys 104 # 1024b RSA encrypted data 121 # 2048b RSA encrypted data 138 # 3072b RSA encrypted data 155 # 4096b RSA encrypted data 172 # 8192b RSA encrypted data 260 >0 byte 0x01 RSA (Encrypt or Sign) 262 >0 byte 0x02 RSA Encrypt-Only 263 >0 byte 0x03 RSA (Sign-Only) 306 >5 byte 0x01 RSA (Encrypt or Sign) [all …]
|
| /freebsd-13.1/crypto/openssl/engines/ |
| H A D | e_dasync.c | 98 unsigned char *to, RSA *rsa, int padding); 100 unsigned char *to, RSA *rsa, int padding); 102 unsigned char *to, RSA *rsa, int padding); 104 unsigned char *to, RSA *rsa, int padding); 108 static int dasync_rsa_init(RSA *rsa); 109 static int dasync_rsa_finish(RSA *rsa); 517 unsigned char *to, RSA *rsa, int padding) { in dasync_pub_enc() 525 unsigned char *to, RSA *rsa, int padding) { in dasync_pub_dec() 533 unsigned char *to, RSA *rsa, int padding) in dasync_rsa_priv_enc() 557 static int dasync_rsa_init(RSA *rsa) in dasync_rsa_init() [all …]
|