| /freebsd/crypto/openssl/demos/signature/ |
| H A D | EVP_DSA_Signature_demo.c | 143 OSSL_PARAM *keypair = NULL; in extract_keypair() local 145 if (EVP_PKEY_todata(pkey, EVP_PKEY_KEYPAIR, &keypair) != 1) in extract_keypair() 151 OSSL_PARAM_free(keypair); in extract_keypair() 152 keypair = NULL; in extract_keypair() 154 *p_keypair = keypair; in extract_keypair() 161 OSSL_PARAM keypair[]) in demo_sign() argument 175 if (EVP_PKEY_fromdata(pkey_ctx, &pkey, EVP_PKEY_KEYPAIR, keypair) != 1) in demo_sign() 272 OSSL_PARAM *keypair = NULL; in main() local 289 if (extract_keypair(pkey, &keypair) != 1) in main() 293 if (demo_sign(libctx, &sig_len, &sig_value, keypair) != 1) in main() [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | mlkem768.sh | 108 struct libcrux_mlkem768_keypair keypair = {0}; 116 if (sizeof(keypair.pk.value) != crypto_kem_mlkem768_PUBLICKEYBYTES) 118 if (sizeof(keypair.sk.value) != crypto_kem_mlkem768_SECRETKEYBYTES) 131 keypair = libcrux_ml_kem_mlkem768_portable_generate_key_pair(kp_seed); 132 if (!libcrux_ml_kem_mlkem768_portable_validate_public_key(&keypair.pk)) 134 enc_result = libcrux_ml_kem_mlkem768_portable_encapsulate(&keypair.pk, 136 libcrux_ml_kem_mlkem768_portable_decapsulate(&keypair.sk,
|
| H A D | kexmlkem768x25519.c | 59 struct libcrux_mlkem768_keypair keypair; in kex_kem_mlkem768x25519_keypair() local 67 keypair = libcrux_ml_kem_mlkem768_portable_generate_key_pair(rnd); in kex_kem_mlkem768x25519_keypair() 68 memcpy(cp, keypair.pk.value, crypto_kem_mlkem768_PUBLICKEYBYTES); in kex_kem_mlkem768x25519_keypair() 69 memcpy(kex->mlkem768_client_key, keypair.sk.value, in kex_kem_mlkem768x25519_keypair() 85 explicit_bzero(&keypair, sizeof(keypair)); in kex_kem_mlkem768x25519_keypair()
|
| H A D | ed25519.sh | 68 */crypto_sign/ed25519/ref/keypair.c)
|
| /freebsd/crypto/libecc/scripts/ |
| H A D | expand_libecc.py | 491 def ecdsa_sign(hashfunc, keypair, message, k=None): argument 492 privkey = keypair.privkey 537 def ecdsa_verify(hashfunc, keypair, message, sig): argument 538 pubkey = keypair.pubkey 587 def eckcdsa_sign(hashfunc, keypair, message, k=None): argument 588 privkey = keypair.privkey 598 z = expand(inttostring(keypair.pubkey.Y.x), 8*getbytelen(p), "LEFT") 599 z = z + expand(inttostring(keypair.pubkey.Y.y), 8*getbytelen(p), "LEFT") 643 def eckcdsa_verify(hashfunc, keypair, message, sig): argument 644 pubkey = keypair.pubkey [all …]
|
| /freebsd/crypto/openssl/test/recipes/30-test_evp_data/ |
| H A D | evppkey_mismatch.txt | 15 # Public / Private keys from other tests used for keypair testing. 59 Title = Test keypair mismatches
|
| H A D | evppkey_mismatch_ecx.txt | 15 # Public / Private keys from other tests used for keypair testing. 70 Title = Test keypair mismatches
|
| H A D | evppkey_dsa_sigalg.txt | 99 Title = Test keypair mismatches
|
| H A D | evppkey_dsa.txt | 98 Title = Test keypair mismatches
|
| /freebsd/contrib/unbound/dnscrypt/ |
| H A D | dnscrypt.c | 300 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 D | dnscrypt.h | 52 KeyPair *keypair; member
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | EVP_PKEY_fromdata.pod | 21 keypair. 79 Any keypair components will be selected. This includes the private key, 110 =head2 Creating an RSA keypair using raw key data 143 =head2 Creating an ECC keypair using raw key data
|
| H A D | EVP_PKEY_new.pod | 69 key, or both (a keypair), and along with those, key parameters if the key type 282 be the private part of the keypair without the public part, where this was
|
| H A D | OSSL_STORE_INFO.pod | 170 A keypair or just a private key (possibly with key parameters).
|
| H A D | d2i_RSAPrivateKey.pod | 5 Any deprecated keypair/params d2i or i2d functions are collected on this page.
|
| /freebsd/crypto/openssl/demos/pkey/ |
| H A D | dsa.inc | 111 static int dsa_print_key(const EVP_PKEY *pkey, int keypair, 143 if (keypair) {
|
| /freebsd/crypto/openssl/doc/man7/ |
| H A D | EVP_KEM-X25519.pod | 27 The encapsulate function generates an ephemeral keypair. It produces keymaterial
|
| H A D | EVP_KEM-EC.pod | 26 The encapsulate function generates an ephemeral keypair. It produces keymaterial
|
| H A D | EVP_PKEY-X25519.pod | 22 DHKEM requires the generation of a keypair using an input key material (seed).
|
| H A D | EVP_PKEY-EC.pod | 152 DHKEM requires the generation of a keypair using an input key material (seed).
|
| /freebsd/crypto/openssl/demos/ |
| H A D | README.txt | 32 rsa_encrypt.c Encrypt and decrypt data using an RSA keypair.
|
| /freebsd/crypto/openssl/test/ |
| H A D | evp_extra_test.c | 1418 EVP_PKEY *keypair = NULL; in test_evp_get_ec_pub() local 1439 || !TEST_ptr(keypair = make_key_fromdata("EC", params))) in test_evp_get_ec_pub() 1442 if (!test_selection(keypair, EVP_PKEY_KEYPAIR)) in test_evp_get_ec_pub() 1445 if (!EVP_PKEY_get_bn_param(keypair, OSSL_PKEY_PARAM_EC_PUB_X, &x) in test_evp_get_ec_pub() 1446 || !EVP_PKEY_get_bn_param(keypair, OSSL_PKEY_PARAM_EC_PUB_Y, &y)) in test_evp_get_ec_pub() 1463 EVP_PKEY_free(keypair); in test_evp_get_ec_pub() 1765 EVP_PKEY *keypair = NULL; in test_EVP_Enveloped() local 1782 if (!TEST_ptr(keypair = load_example_rsa_key()) in test_EVP_Enveloped() 1783 || !TEST_ptr(kek = OPENSSL_zalloc(EVP_PKEY_get_size(keypair))) in test_EVP_Enveloped() 1786 &keypair, 1)) in test_EVP_Enveloped() [all …]
|
| /freebsd/sys/dev/wg/ |
| H A D | if_wg.c | 2142 struct noise_keypair *keypair; in wg_peer_send_staged() local 2151 if ((keypair = noise_keypair_current(peer->p_remote)) == NULL) in wg_peer_send_staged() 2155 if (noise_keypair_nonce_next(keypair, &pkt->p_nonce) != 0) in wg_peer_send_staged() 2159 pkt->p_keypair = noise_keypair_ref(keypair); in wg_peer_send_staged() 2164 noise_keypair_put(keypair); in wg_peer_send_staged() 2168 noise_keypair_put(keypair); in wg_peer_send_staged()
|
| /freebsd/usr.sbin/pkg/ |
| H A D | ecc.c | 56 ec_key_pair keypair; member
|
| /freebsd/sys/contrib/libsodium/src/libsodium/ |
| H A D | Makefile.am | 72 crypto_sign/ed25519/ref10/keypair.c \
|