/netbsd/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/ |
H A D | rsa.c | 83 BIGNUM *rsa_n = NULL, *rsa_e = NULL; in Trspi_RSA_Encrypt() local 95 if (rsa_n == NULL || rsa_e == NULL) { in Trspi_RSA_Encrypt() 98 BN_free(rsa_e); in Trspi_RSA_Encrypt() 104 BN_free(rsa_e); in Trspi_RSA_Encrypt() 154 BIGNUM *rsa_n = NULL, *rsa_e = NULL; in Trspi_Verify() local 182 if (rsa_n == NULL || rsa_e == NULL) { in Trspi_Verify() 185 BN_free(rsa_e); in Trspi_Verify() 191 BN_free(rsa_e); in Trspi_Verify() 235 BIGNUM *rsa_n = NULL, *rsa_e = NULL; in Trspi_RSA_Public_Encrypt() local 285 BN_free(rsa_e); in Trspi_RSA_Public_Encrypt() [all …]
|
/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | ssh-rsa.c | 89 const BIGNUM *rsa_n, *rsa_e; in ssh_rsa_serialize_public() local 93 RSA_get0_key(key->rsa, &rsa_n, &rsa_e, NULL); in ssh_rsa_serialize_public() 115 (r = sshbuf_put_bignum2(b, rsa_e)) != 0) in ssh_rsa_serialize_private() 158 const BIGNUM *rsa_n, *rsa_e; in ssh_rsa_copy_public() local 164 (rsa_e_dup = BN_dup(rsa_e)) == NULL) { in ssh_rsa_copy_public() 186 BIGNUM *rsa_n = NULL, *rsa_e = NULL; in ssh_rsa_deserialize_public() local 188 if (sshbuf_get_bignum2(b, &rsa_e) != 0 || in ssh_rsa_deserialize_public() 197 rsa_n = rsa_e = NULL; /* transferred */ in ssh_rsa_deserialize_public() 207 BN_clear_free(rsa_e); in ssh_rsa_deserialize_public() 228 rsa_n = rsa_e = NULL; /* transferred */ in ssh_rsa_deserialize_private() [all …]
|
H A D | ssh-pkcs11.c | 823 BIGNUM *rsa_n, *rsa_e; in pkcs11_fetch_rsa_pubkey() local 872 rsa_e = BN_bin2bn(key_attr[2].pValue, key_attr[2].ulValueLen, NULL); in pkcs11_fetch_rsa_pubkey() 873 if (rsa_n == NULL || rsa_e == NULL) { in pkcs11_fetch_rsa_pubkey() 877 if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL)) in pkcs11_fetch_rsa_pubkey() 879 rsa_n = rsa_e = NULL; /* transferred */ in pkcs11_fetch_rsa_pubkey() 1059 const BIGNUM *rsa_n, *rsa_e; 1061 RSA_get0_key(rsa, &rsa_n, &rsa_e, NULL); 1062 return rsa_n != NULL && rsa_e != NULL;
|
H A D | ssh-keygen.c | 473 BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL; in do_convert_private_ssh2() local 547 if ((rsa_e = BN_new()) == NULL) in do_convert_private_ssh2() 549 if (!BN_set_word(rsa_e, e)) { in do_convert_private_ssh2() 550 BN_clear_free(rsa_e); in do_convert_private_ssh2() 565 if (!RSA_set0_key(key->rsa, rsa_n, rsa_e, rsa_d)) in do_convert_private_ssh2() 567 rsa_n = rsa_e = rsa_d = NULL; /* transferred */ in do_convert_private_ssh2()
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/rsa/ |
H A D | rsa_backend.c | 127 const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL; in DEFINE_SPECIAL_STACK_OF_CONST() local 135 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); in DEFINE_SPECIAL_STACK_OF_CONST() 139 || !ossl_param_build_set_bn(bld, params, OSSL_PKEY_PARAM_RSA_E, rsa_e)) in DEFINE_SPECIAL_STACK_OF_CONST()
|
/netbsd/crypto/external/bsd/openssl/dist/providers/implementations/encode_decode/ |
H A D | encode_key2text.c | 647 const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL; in rsa_to_text() local 679 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); in rsa_to_text() 695 if (!print_labeled_bignum(out, exponent_label, rsa_e)) in rsa_to_text()
|
/netbsd/crypto/external/bsd/openssl/dist/doc/man3/ |
H A D | EVP_PKEY_fromdata.pod | 117 unsigned long rsa_e = 0x10001; 121 OSSL_PARAM_ulong("e", &rsa_e),
|
/netbsd/crypto/external/bsd/openssl/dist/providers/fips/ |
H A D | self_test_data.inc | 1143 static const unsigned char rsa_e[] = { 0x01, 0x00, 0x01 }; 1271 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_RSA_E, rsa_e), 1283 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_RSA_E, rsa_e), 1289 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_RSA_E, rsa_e),
|