Home
last modified time | relevance | path

Searched refs:keypair (Results 1 – 22 of 22) sorted by relevance

/netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/
H A Dnetpgp.c1398 const pgp_key_t *keypair; in netpgp_sign_file() local
1416 if ((keypair = resolve_userid(netpgp, netpgp->secring, userid)) == NULL) { in netpgp_sign_file()
1433 pgp_print_keydata(io, netpgp->pubring, keypair, "signature ", in netpgp_sign_file()
1434 &keypair->key.seckey.pubkey, 0); in netpgp_sign_file()
1442 seckey = pgp_decrypt_seckey(keypair, netpgp->passfp); in netpgp_sign_file()
1528 const pgp_key_t *keypair; in netpgp_sign_memory() local
1545 if ((keypair = resolve_userid(netpgp, netpgp->secring, userid)) == NULL) { in netpgp_sign_memory()
1562 pgp_print_keydata(io, netpgp->pubring, keypair, "signature ", in netpgp_sign_memory()
1563 &keypair->key.seckey.pubkey, 0); in netpgp_sign_memory()
1571 seckey = pgp_decrypt_seckey(keypair, netpgp->passfp); in netpgp_sign_memory()
[all …]
H A Dopenssl_crypto.c797 RSA *keypair = makeRSA(pubkey, seckey); in pgp_rsa_private_decrypt() local
801 if (RSA_check_key(keypair) != 1) { in pgp_rsa_private_decrypt()
807 n = RSA_private_decrypt((int)length, in, out, keypair, RSA_NO_PADDING); in pgp_rsa_private_decrypt()
820 RSA_free(keypair); in pgp_rsa_private_decrypt()
H A Dreader.c2218 const pgp_key_t *keypair; in pgp_get_seckey_cb() local
2244 keypair = cbinfo->cryptinfo.keydata; in pgp_get_seckey_cb()
2246 pubkey = keypair; in pgp_get_seckey_cb()
2255 secret = pgp_decrypt_seckey(keypair, cbinfo->passfp); in pgp_get_seckey_cb()
/netbsd-src/crypto/external/bsd/openssl/dist/test/recipes/30-test_evp_data/
H A Devppkey_mismatch.txt15 # Public / Private keys from other tests used for keypair testing.
70 Title = Test keypair mismatches
H A Devppkey_ecx.txt570 Title = Test keypair mismatches
/netbsd-src/external/bsd/unbound/dist/dnscrypt/
H A Ddnscrypt.c300 cert->keypair->crypt_secretkey); in dnscrypt_server_uncurve()
313 cert->keypair->crypt_secretkey) != 0) { in dnscrypt_server_uncurve()
322 cert->keypair->crypt_secretkey) != 0) { in dnscrypt_server_uncurve()
491 cert->keypair->crypt_secretkey); in dnscrypt_server_curve()
835 current_cert->keypair = current_keypair; in dnsc_parse_keys()
844 current_cert->keypair->crypt_publickey); in dnsc_parse_keys()
H A Ddnscrypt.h52 KeyPair *keypair; member
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DEVP_PKEY_fromdata.pod21 keypair.
75 Any keypair components will be selected. This includes the private key,
106 =head2 Creating an RSA keypair using raw key data
139 =head2 Creating an ECC keypair using raw key data
H A DEVP_PKEY_new.pod69 key, or both (a keypair), and along with those, key parameters if the key type
208 be the private part of the keypair without the public part, where this was
H A Dd2i_RSAPrivateKey.pod5 Any deprecated keypair/params d2i or i2d functions are collected on this page.
/netbsd-src/external/bsd/unbound/dist/dnscrypt/testdata/
H A Dgencert.sh17 dnscrypt-wrapper --gen-crypt-keypair \
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Ded25519.sh68 */crypto_sign/ed25519/ref/keypair.c)
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Devp_extra_test.c961 EVP_PKEY *keypair = NULL; in test_EVP_Enveloped() local
969 if (!TEST_ptr(keypair = load_example_rsa_key()) in test_EVP_Enveloped()
970 || !TEST_ptr(kek = OPENSSL_zalloc(EVP_PKEY_size(keypair))) in test_EVP_Enveloped()
973 &keypair, 1)) in test_EVP_Enveloped()
982 if (!TEST_true(EVP_OpenInit(ctx, type, kek, kek_len, iv, keypair)) in test_EVP_Enveloped()
995 EVP_PKEY_free(keypair); in test_EVP_Enveloped()
/netbsd-src/crypto/external/bsd/openssl/dist/demos/pkey/
H A Ddsa.inc111 static int dsa_print_key(const EVP_PKEY *pkey, int keypair,
143 if (keypair) {
/netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/
H A DMakefile.am72 crypto_sign/ed25519/ref10/keypair.c \
H A DMakefile.in318 crypto_sign/ed25519/ref10/keypair.c \
465 crypto_sign/ed25519/ref10/libsodium_la-keypair.lo \
866 crypto_sign/ed25519/ref10/keypair.c \
1513 crypto_sign/ed25519/ref10/libsodium_la-keypair.lo: \
2047 @AMDEP_TRUE@@am__include@ @am__quote@crypto_sign/ed25519/ref10/$(DEPDIR)/libsodium_la-keypair.Plo@a…
2547 crypto_sign/ed25519/ref10/libsodium_la-keypair.lo: crypto_sign/ed25519/ref10/keypair.c
2548keypair.lo -MD -MP -MF crypto_sign/ed25519/ref10/$(DEPDIR)/libsodium_la-keypair.Tpo -c -o crypto_s…
2549 …sign/ed25519/ref10/$(DEPDIR)/libsodium_la-keypair.Tpo crypto_sign/ed25519/ref10/$(DEPDIR)/libsodiu…
2552 …/ref10/libsodium_la-keypair.lo `test -f 'crypto_sign/ed25519/ref10/keypair.c' || echo '$(srcdir)/'…
/netbsd-src/crypto/external/bsd/openssl/dist/providers/
H A Dencoders.inc108 /* EC only supports keypair and parameters DER and PEM output. */
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man7/
H A Dprovider-decoder.pod186 the object is an asymmetric keypair - e.g., B<OSSL_KEYMGMT_SELECT_PRIVATE_KEY>
H A Dprovider-encoder.pod193 the object is an asymmetric keypair.
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A DChangeLog508 * dh-imath.c: Try harder to generate a good keypair.
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/err/
H A Dopenssl.txt1169 RSA_R_INVALID_KEYPAIR:171:invalid keypair
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/recipes/30-test_evp_data/
H A Devppkey.txt17292 Title = Test keypair mismatches