/third_party/openssl/ohos_lite/include/openssl/ |
H A D | rsa.h | 28 /* The types RSA and RSA_METHOD are defined in ossl_typ.h */ 71 * RSA implementation now uses blinding by 85 * new with 0.9.7h; the built-in RSA 198 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 * [all...] |
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | rsa.h | 43 /* The types RSA and RSA_METHOD are defined in ossl_typ.h */ 76 * RSA implementation now uses blinding by 90 * new with 0.9.7h; the built-in RSA 102 * New with 3.0: use part of the flags to denote exact type of RSA key, 104 * These different types share the same RSA structure, but indicate the 107 * RSA - this is the "normal" unlimited RSA structure (typenum 0) 201 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 *rs [all...] |
/third_party/openssl/include/openssl/ |
H A D | rsa.h | 43 /* The types RSA and RSA_METHOD are defined in ossl_typ.h */ 76 * RSA implementation now uses blinding by 90 * new with 0.9.7h; the built-in RSA 102 * New with 3.0: use part of the flags to denote exact type of RSA key, 104 * These different types share the same RSA structure, but indicate the 107 * RSA - this is the "normal" unlimited RSA structure (typenum 0) 201 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 *rs [all...] |
/third_party/node/deps/openssl/openssl/crypto/rsa/ |
H A D | rsa_asn1.c | 11 * RSA low level APIs are deprecated for public use, but still ok for 26 * RSA keys. 37 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, [all...] |
H A D | rsa_meth.c | 11 * RSA low level APIs are deprecated for public use, but still ok for 108 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 *rs in RSA_meth_get_mod_exp() [all...] |
H A D | rsa_local.h | 85 /* for multi-prime RSA, defined in RFC 8017 */ 87 /* Be careful using this if the RSA structure is shared */ 106 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 *rs [all...] |
H A D | rsa_lib.c | 11 * RSA low level APIs are deprecated for public use, but still ok for 31 static RSA *rsa_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx); 34 RSA *RSA_new(void) in RSA_new() 39 const RSA_METHOD *RSA_get_method(const RSA *rsa) in RSA_get_method() 44 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth) in RSA_set_method() 64 RSA *RSA_new_method(ENGINE *engine) in RSA_new_method() 70 RSA *ossl_rsa_new_with_ctx(OSSL_LIB_CTX *libctx) in ossl_rsa_new_with_ctx() 75 static RSA *rsa_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx) in rsa_new_intern() 77 RSA *ret = OPENSSL_zalloc(sizeof(*ret)); in rsa_new_intern() 133 void RSA_free(RSA * [all...] |
H A D | rsa_crpt.c | 11 * RSA low level APIs are deprecated for public use, but still ok for 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 *rs [all...] |
/third_party/openssl/crypto/rsa/ |
H A D | rsa_asn1.c | 11 * RSA low level APIs are deprecated for public use, but still ok for 26 * RSA keys. 37 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, [all...] |
H A D | rsa_meth.c | 11 * RSA low level APIs are deprecated for public use, but still ok for 108 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 *rs in RSA_meth_get_mod_exp() [all...] |
H A D | rsa_local.h | 85 /* for multi-prime RSA, defined in RFC 8017 */ 87 /* Be careful using this if the RSA structure is shared */ 106 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 *rs [all...] |
H A D | rsa_lib.c | 11 * RSA low level APIs are deprecated for public use, but still ok for 31 static RSA *rsa_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx); 34 RSA *RSA_new(void) in RSA_new() 39 const RSA_METHOD *RSA_get_method(const RSA *rsa) in RSA_get_method() 44 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth) in RSA_set_method() 64 RSA *RSA_new_method(ENGINE *engine) in RSA_new_method() 70 RSA *ossl_rsa_new_with_ctx(OSSL_LIB_CTX *libctx) in ossl_rsa_new_with_ctx() 75 static RSA *rsa_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx) in rsa_new_intern() 77 RSA *ret = OPENSSL_zalloc(sizeof(*ret)); in rsa_new_intern() 133 void RSA_free(RSA * [all...] |
H A D | rsa_crpt.c | 11 * RSA low level APIs are deprecated for public use, but still ok for 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 *rs [all...] |
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
H A D | rsa.rs | 17 pub fn RSA_new() -> *mut RSA; in RSA_new() 18 pub fn RSA_size(k: *const RSA) -> c_int; in RSA_size() 21 pub fn RSA_set0_key(r: *mut RSA, n: *mut BIGNUM, e: *mut BIGNUM, d: *mut BIGNUM) -> c_int; in RSA_set0_key() 23 pub fn RSA_set0_factors(r: *mut RSA, p: *mut BIGNUM, q: *mut BIGNUM) -> c_int; in RSA_set0_factors() 26 r: *mut RSA, in RSA_set0_crt_params() 33 r: *const RSA, in RSA_get0_key() 39 pub fn RSA_get0_factors(r: *const RSA, p: *mut *const BIGNUM, q: *mut *const BIGNUM); in RSA_get0_factors() 42 r: *const RSA, in RSA_get0_crt_params() 54 ) -> *mut RSA; in RSA_generate_key() 57 rsa: *mut RSA, in RSA_generate_key_ex() [all...] |
H A D | pem.rs | 20 rsa: #[const_ptr_if(ossl300)] RSA, in PEM_write_bio_RSAPrivateKey() 27 pub fn PEM_write_bio_RSA_PUBKEY(bp: *mut BIO, rsa: #[const_ptr_if(ossl300)] RSA) -> c_int; in PEM_write_bio_RSA_PUBKEY() 101 rsa: *mut *mut RSA, in PEM_read_bio_RSAPrivateKey() 104 ) -> *mut RSA; in PEM_read_bio_RSAPrivateKey() 107 rsa: *mut *mut RSA, in PEM_read_bio_RSAPublicKey() 110 ) -> *mut RSA; in PEM_read_bio_RSAPublicKey() 111 pub fn PEM_write_bio_RSAPublicKey(bp: *mut BIO, rsa: *const RSA) -> c_int; in PEM_write_bio_RSAPublicKey() 114 rsa: *mut *mut RSA, in PEM_read_bio_RSA_PUBKEY() 117 ) -> *mut RSA; in PEM_read_bio_RSA_PUBKEY()
|
/third_party/node/deps/openssl/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); 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 *rs [all...] |
/third_party/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); 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 *rs [all...] |
/third_party/node/deps/openssl/openssl/crypto/pem/ |
H A D | pem_all.c | 28 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa); 48 * We treat RSA or DSA private keys as a special case. For private keys we 53 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa) in pkey_get_rsa() 55 RSA *rtmp; in pkey_get_rsa() 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 **rs [all...] |
/third_party/openssl/crypto/pem/ |
H A D | pem_all.c | 28 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa); 48 * We treat RSA or DSA private keys as a special case. For private keys we 53 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa) in pkey_get_rsa() 55 RSA *rtmp; in pkey_get_rsa() 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 **rs [all...] |
/third_party/node/deps/openssl/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()
|
/third_party/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()
|
/third_party/openssl/test/ |
H A D | rsa_test.c | 13 * RSA low level APIs are deprecated for public use, but still ok for 48 static int key1(RSA *key, unsigned char *c) in key1() 97 static int key2(RSA *key, unsigned char *c) in key2() 142 static int key3(RSA *key, unsigned char *c) in key3() 214 static int rsa_setkey(RSA** key, unsigned char *ctext, int idx) in rsa_setkey() 236 RSA **retkey) in test_rsa_simple() 239 RSA *key; in test_rsa_simple() 284 RSA *key = NULL; in test_rsa_oaep() 362 RSA *key = RSA_new(); in test_rsa_security_bit() 373 * It is necessary to set the RSA ke in test_rsa_security_bit() [all...] |
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | x_all.c | 294 RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPrivateKey_fp() 299 int i2d_RSAPrivateKey_fp(FILE *fp, const RSA *rsa) in i2d_RSAPrivateKey_fp() 304 RSA *d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPublicKey_fp() 309 RSA *d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa) in d2i_RSA_PUBKEY_fp() 316 int i2d_RSAPublicKey_fp(FILE *fp, const RSA *rsa) in i2d_RSAPublicKey_fp() 321 int i2d_RSA_PUBKEY_fp(FILE *fp, const RSA *rsa) in i2d_RSA_PUBKEY_fp() 327 RSA *d2i_RSAPrivateKey_bi [all...] |
/third_party/openssl/crypto/x509/ |
H A D | x_all.c | 294 RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPrivateKey_fp() 299 int i2d_RSAPrivateKey_fp(FILE *fp, const RSA *rsa) in i2d_RSAPrivateKey_fp() 304 RSA *d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPublicKey_fp() 309 RSA *d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa) in d2i_RSA_PUBKEY_fp() 316 int i2d_RSAPublicKey_fp(FILE *fp, const RSA *rsa) in i2d_RSAPublicKey_fp() 321 int i2d_RSA_PUBKEY_fp(FILE *fp, const RSA *rsa) in i2d_RSA_PUBKEY_fp() 327 RSA *d2i_RSAPrivateKey_bi [all...] |
/third_party/node/deps/openssl/openssl/ssl/ |
H A D | ssl_rsa_legacy.c | 10 /* We need to use the deprecated RSA low level calls */ 17 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa) in SSL_use_RSAPrivateKey() 47 RSA *rsa = NULL; in SSL_use_RSAPrivateKey_file() 86 RSA *rsa; in SSL_use_RSAPrivateKey_ASN1() 99 int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa) in SSL_CTX_use_RSAPrivateKey() 129 RSA *rsa = NULL; in SSL_CTX_use_RSAPrivateKey_file() 169 RSA *rsa; in SSL_CTX_use_RSAPrivateKey_ASN1()
|