| /src/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/ |
| rsa.c | 83 BIGNUM *rsa_n = NULL, *rsa_e = NULL; local 91 rsa_n = BN_bin2bn(publicKey, keysize, NULL); 95 if (rsa_n == NULL || rsa_e == NULL) { 97 BN_free(rsa_n); 101 if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL)) { 103 BN_free(rsa_n); 154 BIGNUM *rsa_n = NULL, *rsa_e = NULL; local 178 rsa_n = BN_bin2bn(pModulus, iKeyLength, NULL); 182 if (rsa_n == NULL || rsa_e == NULL) { 184 BN_free(rsa_n); 235 BIGNUM *rsa_n = NULL, *rsa_e = NULL; local [all...] |
| /src/crypto/external/bsd/openssh/dist/ |
| ssh-rsa.c | 73 const BIGNUM *rsa_n, *rsa_e; local 81 RSA_get0_key(rsa, &rsa_n, &rsa_e, NULL); 83 (r = sshbuf_put_bignum2(b, rsa_n)) != 0) 94 const BIGNUM *rsa_n, *rsa_e, *rsa_d, *rsa_iqmp, *rsa_p, *rsa_q; local 99 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); 105 if ((r = sshbuf_put_bignum2(b, rsa_n)) != 0 || 157 const BIGNUM *rsa_n, *rsa_e; local 167 RSA_get0_key(rsa_from, &rsa_n, &rsa_e, NULL); 168 if ((rsa_n_dup = BN_dup(rsa_n)) == NULL || 197 BIGNUM *rsa_n = NULL, *rsa_e = NULL local 236 BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL; local [all...] |
| ssh-pkcs11.c | 996 BIGNUM *rsa_n, *rsa_e; local 1044 rsa_n = BN_bin2bn(key_attr[1].pValue, key_attr[1].ulValueLen, NULL); 1046 if (rsa_n == NULL || rsa_e == NULL) { 1050 if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL)) 1052 rsa_n = rsa_e = NULL; /* transferred */
|
| ssh-keygen.c | 445 BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL; local 507 if ((rsa_n = BN_new()) == NULL || 514 buffer_get_bignum_bits(b, rsa_n); 526 if (!RSA_set0_key(rsa, rsa_n, rsa_e, rsa_d)) 528 rsa_n = rsa_e = rsa_d = NULL; /* transferred */
|
| /src/crypto/external/apache2/openssl/dist/crypto/rsa/ |
| rsa_backend.c | 262 const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL; local 270 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); 273 if (!ossl_param_build_set_bn(bld, params, OSSL_PKEY_PARAM_RSA_N, rsa_n)
|
| /src/crypto/external/apache2/openssl/dist/providers/implementations/encode_decode/ |
| encode_key2text.c | 464 const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL; local 496 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); 502 type_label, BN_num_bits(rsa_n), primes) 507 type_label, BN_num_bits(rsa_n)) 512 if (!ossl_bio_print_labeled_bignum(out, modulus_label, rsa_n))
|
| /src/crypto/external/bsd/openssl/dist/crypto/rsa/ |
| rsa_backend.c | 127 const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL; local 135 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); 138 if (!ossl_param_build_set_bn(bld, params, OSSL_PKEY_PARAM_RSA_N, rsa_n)
|
| /src/crypto/external/bsd/openssl/dist/providers/implementations/encode_decode/ |
| encode_key2text.c | 635 const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL; local 667 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); 673 type_label, BN_num_bits(rsa_n), primes) <= 0) 677 type_label, BN_num_bits(rsa_n)) <= 0) 681 if (!print_labeled_bignum(out, modulus_label, rsa_n))
|