HomeSort by: relevance | last modified time | path
    Searched refs:rsa (Results 1 - 25 of 446) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/mpl/bind/dist/bin/tests/system/rsabigexponent/
options.conf.j2.manual 15 max-rsa-exponent-size @max_rsa_exponent_size@;
  /src/crypto/external/apache2/openssl/dist/crypto/rsa/
rsa_sp800_56b_gen.c 29 * rsa Object used to store primes p & q.
55 int ossl_rsa_fips186_4_gen_prob_primes(RSA *rsa, RSA_ACVP_TEST *test,
85 * NOTE: SP800-131A Rev1 Disallows key lengths of < 2048 bits for RSA
112 if (rsa->p == NULL)
113 rsa->p = BN_secure_new();
114 if (rsa->q == NULL)
115 rsa->q = BN_secure_new();
116 if (rsa->p == NULL || rsa->q == NULL
    [all...]
rsa_crpt.c 11 * RSA low level APIs are deprecated for public use, but still ok for
23 int RSA_bits(const RSA *r)
28 int RSA_size(const RSA *r)
34 RSA *rsa, int padding)
36 return rsa->meth->rsa_pub_enc(flen, from, to, rsa, padding);
40 unsigned char *to, RSA *rsa, int padding)
42 return rsa->meth->rsa_priv_enc(flen, from, to, rsa, padding)
    [all...]
rsa_ossl.c 11 * RSA low level APIs are deprecated for public use, but still ok for
25 unsigned char *to, RSA *rsa, int padding);
27 unsigned char *to, RSA *rsa, int padding);
29 unsigned char *to, RSA *rsa, int padding);
31 unsigned char *to, RSA *rsa, int padding);
32 static int rsa_ossl_mod_exp(BIGNUM *r0, const BIGNUM *i, RSA *rsa
    [all...]
rsa_x931g.c 11 * RSA low level APIs are deprecated for public use, but still ok for
23 /* X9.31 RSA key derivation and generation */
25 int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1,
34 if (rsa == NULL)
37 ctx = BN_CTX_new_ex(rsa->libctx);
49 if (!rsa->e) {
50 rsa->e = BN_dup(e);
51 if (!rsa->e)
54 e = rsa->e
    [all...]
rsa_depr.c 16 * RSA low level APIs are deprecated for public use, but still ok for
27 #include <openssl/rsa.h>
29 RSA *RSA_generate_key(int bits, unsigned long e_value,
34 RSA *rsa = RSA_new(); local
37 if (cb == NULL || rsa == NULL || e == NULL)
52 if (RSA_generate_key_ex(rsa, bits, e, cb)) {
55 return rsa;
59 RSA_free(rsa);
rsa_sp800_56b_check.c 17 * Part of the RSA keypair test.
24 int ossl_rsa_check_crt_components(const RSA *rsa, BN_CTX *ctx)
30 if (rsa->dmp1 == NULL || rsa->dmq1 == NULL || rsa->iqmp == NULL) {
31 if (rsa->dmp1 != NULL || rsa->dmq1 != NULL || rsa->iqmp != NULL)
50 && (BN_copy(p1, rsa->p) != NULL
    [all...]
  /src/crypto/external/bsd/openssl/dist/crypto/rsa/
rsa_sp800_56b_gen.c 29 * rsa Object used to store primes p & q.
57 int ossl_rsa_fips186_4_gen_prob_primes(RSA *rsa, RSA_ACVP_TEST *test,
88 * NOTE: SP800-131A Rev1 Disallows key lengths of < 2048 bits for RSA
115 if (rsa->p == NULL)
116 rsa->p = BN_secure_new();
117 if (rsa->q == NULL)
118 rsa->q = BN_secure_new();
119 if (rsa->p == NULL || rsa->q == NULL
    [all...]
rsa_crpt.c 11 * RSA low level APIs are deprecated for public use, but still ok for
23 int RSA_bits(const RSA *r)
28 int RSA_size(const RSA *r)
34 RSA *rsa, int padding)
36 return rsa->meth->rsa_pub_enc(flen, from, to, rsa, padding);
40 unsigned char *to, RSA *rsa, int padding)
42 return rsa->meth->rsa_priv_enc(flen, from, to, rsa, padding)
    [all...]
rsa_gen.c 17 * RSA low level APIs are deprecated for public use, but still ok for
30 static int rsa_keygen_pairwise_test(RSA *rsa, OSSL_CALLBACK *cb, void *cbarg);
31 static int rsa_keygen(OSSL_LIB_CTX *libctx, RSA *rsa, int bits, int primes,
41 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb)
43 if (rsa->meth->rsa_keygen != NULL)
44 return rsa->meth->rsa_keygen(rsa, bits, e_value, cb)
    [all...]
rsa_x931g.c 11 * RSA low level APIs are deprecated for public use, but still ok for
23 /* X9.31 RSA key derivation and generation */
25 int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1,
34 if (!rsa)
49 if (!rsa->e) {
50 rsa->e = BN_dup(e);
51 if (!rsa->e)
54 e = rsa->e;
62 if (Xp && rsa->p == NULL)
    [all...]
rsa_ossl.c 11 * RSA low level APIs are deprecated for public use, but still ok for
22 unsigned char *to, RSA *rsa, int padding);
24 unsigned char *to, RSA *rsa, int padding);
26 unsigned char *to, RSA *rsa, int padding);
28 unsigned char *to, RSA *rsa, int padding);
29 static int rsa_ossl_mod_exp(BIGNUM *r0, const BIGNUM *i, RSA *rsa
    [all...]
rsa_depr.c 16 * RSA low level APIs are deprecated for public use, but still ok for
27 #include <openssl/rsa.h>
29 RSA *RSA_generate_key(int bits, unsigned long e_value,
34 RSA *rsa = RSA_new(); local
37 if (cb == NULL || rsa == NULL || e == NULL)
52 if (RSA_generate_key_ex(rsa, bits, e, cb)) {
55 return rsa;
59 RSA_free(rsa);
  /src/crypto/external/bsd/openssl.old/dist/crypto/rsa/
rsa_crpt.c 17 int RSA_bits(const RSA *r)
22 int RSA_size(const RSA *r)
28 RSA *rsa, int padding)
30 return rsa->meth->rsa_pub_enc(flen, from, to, rsa, padding);
34 unsigned char *to, RSA *rsa, int padding)
36 return rsa->meth->rsa_priv_enc(flen, from, to, rsa, padding)
    [all...]
rsa_gen.c 22 static int rsa_builtin_keygen(RSA *rsa, int bits, int primes, BIGNUM *e_value,
32 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb)
34 if (rsa->meth->rsa_keygen != NULL)
35 return rsa->meth->rsa_keygen(rsa, bits, e_value, cb);
37 return RSA_generate_multi_prime_key(rsa, bits, RSA_DEFAULT_PRIME_NUM,
41 int RSA_generate_multi_prime_key(RSA *rsa, int bits, int primes
    [all...]
rsa_x931g.c 17 /* X9.31 RSA key derivation and generation */
19 int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1,
28 if (!rsa)
43 if (!rsa->e) {
44 rsa->e = BN_dup(e);
45 if (!rsa->e)
48 e = rsa->e;
56 if (Xp && rsa->p == NULL) {
57 rsa->p = BN_new()
    [all...]
rsa_ossl.c 16 unsigned char *to, RSA *rsa, int padding);
18 unsigned char *to, RSA *rsa, int padding);
20 unsigned char *to, RSA *rsa, int padding);
22 unsigned char *to, RSA *rsa, int padding);
23 static int rsa_ossl_mod_exp(BIGNUM *r0, const BIGNUM *i, RSA *rsa,
    [all...]
  /src/crypto/external/apache2/openssl/dist/ssl/
ssl_rsa_legacy.c 10 /* We need to use the deprecated RSA low level calls */
14 #include <openssl/rsa.h>
17 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa)
22 if (rsa == NULL) {
31 if (!RSA_up_ref(rsa)) {
36 if (EVP_PKEY_assign_RSA(pkey, rsa) <= 0) {
37 RSA_free(rsa);
51 RSA *rsa = NULL local
95 RSA *rsa; local
142 RSA *rsa = NULL; local
187 RSA *rsa; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/ssl/
ssl_rsa_legacy.c 10 /* We need to use the deprecated RSA low level calls */
14 #include <openssl/rsa.h>
17 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa)
22 if (rsa == NULL) {
31 RSA_up_ref(rsa);
32 if (EVP_PKEY_assign_RSA(pkey, rsa) <= 0) {
33 RSA_free(rsa);
47 RSA *rsa = NULL local
86 RSA *rsa; local
129 RSA *rsa = NULL; local
169 RSA *rsa; local
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/evp/
p_dec.c 10 /* We need to use the deprecated RSA low level calls */
15 #include <openssl/rsa.h>
25 RSA *rsa = NULL; local
32 rsa = evp_pkey_get0_RSA_int(priv);
33 if (rsa == NULL)
36 ret = RSA_private_decrypt(ekl, ek, key, rsa, RSA_PKCS1_PADDING);
p_enc.c 10 /* We need to use the deprecated RSA low level calls */
15 #include <openssl/rsa.h>
25 RSA *rsa = NULL; local
32 rsa = evp_pkey_get0_RSA_int(pubk);
33 if (rsa == NULL)
36 ret = RSA_public_encrypt(key_len, key, ek, rsa, RSA_PKCS1_PADDING);
  /src/crypto/external/apache2/openssl/dist/test/
rsa_x931_test.c 12 #include <openssl/rsa.h>
14 #include "crypto/rsa.h"
24 RSA *rsa = NULL; local
26 ret = TEST_ptr(rsa = ossl_rsa_new_with_ctx(libctx))
29 && TEST_int_eq(RSA_X931_generate_key_ex(rsa, 1024, e, NULL), 1);
31 RSA_free(rsa);
  /src/crypto/external/bsd/openssl/dist/crypto/evp/
p_dec.c 10 /* We need to use the deprecated RSA low level calls */
15 #include <openssl/rsa.h>
25 RSA *rsa = NULL; local
32 rsa = evp_pkey_get0_RSA_int(priv);
33 if (rsa == NULL)
37 RSA_private_decrypt(ekl, ek, key, rsa, RSA_PKCS1_PADDING);
p_enc.c 10 /* We need to use the deprecated RSA low level calls */
15 #include <openssl/rsa.h>
25 RSA *rsa = NULL; local
32 rsa = evp_pkey_get0_RSA_int(pubk);
33 if (rsa == NULL)
37 RSA_public_encrypt(key_len, key, ek, rsa, RSA_PKCS1_PADDING);
  /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
rsa.c 1 /* $NetBSD: rsa.c,v 1.2 2017/01/28 21:31:47 christos Exp $ */
43 #include <rsa.h>
48 * @page page_rsa RSA - public-key cryptography
50 * RSA is named by its inventors (Ron Rivest, Adi Shamir, and Leonard
54 * Speed for RSA in seconds
57 * same rsa keys (1024 and 2048)
75 * @return a newly allocated RSA object. Free with RSA_free().
80 RSA *
87 * Allocate a new RSA object using the engine, if NULL is specified as
88 * the engine, use the default RSA engine as returned b
101 RSA *rsa; local
267 RSA *rsa = rk_UNCONST(key); local
    [all...]

Completed in 40 milliseconds

1 2 3 4 5 6 7 8 91011>>