Searched refs:privk (Results 1 - 4 of 4) sorted by relevance
/netbsd-current/crypto/external/bsd/openssl/dist/demos/keyexch/ |
H A D | x25519.c | 52 EVP_PKEY *privk; /* privk generated for peer */ member in struct:peer_data_st 73 local_peer->privk = 78 local_peer->privk = EVP_PKEY_Q_keygen(libctx, propq, "X25519"); 80 if (local_peer->privk == NULL) { 86 if (EVP_PKEY_get_octet_string_param(local_peer->privk, 105 EVP_PKEY_free(local_peer->privk); 106 local_peer->privk = NULL; 139 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, local_peer->privk, propq); 259 EVP_PKEY_free(peer1.privk); [all...] |
/netbsd-current/crypto/external/bsd/openssl/dist/providers/implementations/exchange/ |
H A D | ecdh_exch.c | 436 EC_KEY *privk = NULL; local 479 if ((privk = EC_KEY_dup(pecdhctx->k)) == NULL) 483 EC_KEY_set_flags(privk, EC_FLAG_COFACTOR_ECDH); 485 EC_KEY_clear_flags(privk, EC_FLAG_COFACTOR_ECDH); 487 privk = pecdhctx->k; 492 retlen = ECDH_compute_key(secret, size, ppubkey, privk, NULL); 501 if (privk != pecdhctx->k) 502 EC_KEY_free(privk);
|
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/ |
H A D | evp_test.c | 1814 EVP_PKEY *privk; member in struct:keypair_test_data_st 1853 data->privk = pk; 1883 if (pair->privk == NULL || pair->pubk == NULL) { 1894 if ((rv = EVP_PKEY_cmp(pair->privk, pair->pubk)) != 1 ) {
|
/netbsd-current/crypto/external/bsd/openssl/dist/test/ |
H A D | evp_test.c | 2978 EVP_PKEY *privk; member in struct:keypair_test_data_st 3017 data->privk = pk; 3047 if (pair->privk == NULL || pair->pubk == NULL) { 3058 if ((rv = EVP_PKEY_eq(pair->privk, pair->pubk)) != 1 ) {
|
Completed in 147 milliseconds