/src/usr.sbin/syslogd/ |
sign.h | 176 EVP_PKEY *privkey; member in struct:sign_global_t
|
sign.h | 176 EVP_PKEY *privkey; member in struct:sign_global_t
|
sign.c | 120 assert(GlobalSign.pubkey_b64 && GlobalSign.privkey && 157 * GlobalSign.privkey, and GlobalSign.pubkey 162 EVP_PKEY *pubkey = NULL, *privkey = NULL; local in function:sign_get_keys 180 if (!(privkey = SSL_get_privatekey(ssl))) { 191 * - privkey is just a pointer into SSL_CTX and 200 privkey = NULL; 206 GlobalSign.privkey = privkey; 231 if (!(privkey && pubkey)) { /* PKIX not available --> generate key */ 236 if (!(privkey = EVP_PKEY_new())) [all...] |
sign.c | 120 assert(GlobalSign.pubkey_b64 && GlobalSign.privkey && 157 * GlobalSign.privkey, and GlobalSign.pubkey 162 EVP_PKEY *pubkey = NULL, *privkey = NULL; local in function:sign_get_keys 180 if (!(privkey = SSL_get_privatekey(ssl))) { 191 * - privkey is just a pointer into SSL_CTX and 200 privkey = NULL; 206 GlobalSign.privkey = privkey; 231 if (!(privkey && pubkey)) { /* PKIX not available --> generate key */ 236 if (!(privkey = EVP_PKEY_new())) [all...] |
/src/sys/net/ |
if_wg.c | 1080 uint8_t privkey[static WG_EPHEMERAL_KEY_LEN]) 1085 cprng_strong(kern_cprng, privkey, WG_EPHEMERAL_KEY_LEN, 0); 1086 crypto_scalarmult_base(pubkey, privkey); 1091 const uint8_t privkey[static WG_STATIC_KEY_LEN], 1097 int ret __diagused = crypto_scalarmult(out, privkey, pubkey); 1442 uint8_t privkey[WG_EPHEMERAL_KEY_LEN]; local in function:wg_fill_msg_init 1464 wg_algo_generate_keypair(pubkey, privkey); 1477 wg_algo_dh_kdf(ckey, cipher_key, privkey, wgp->wgp_pubkey); 1522 memcpy(wgs->wgs_ephemeral_key_priv, privkey, sizeof(privkey)); 2014 uint8_t privkey[WG_EPHEMERAL_KEY_LEN]; local in function:wg_fill_msg_resp 4864 const void *privkey; local in function:wg_ioctl_set_private_key [all...] |
if_wg.c | 1080 uint8_t privkey[static WG_EPHEMERAL_KEY_LEN]) 1085 cprng_strong(kern_cprng, privkey, WG_EPHEMERAL_KEY_LEN, 0); 1086 crypto_scalarmult_base(pubkey, privkey); 1091 const uint8_t privkey[static WG_STATIC_KEY_LEN], 1097 int ret __diagused = crypto_scalarmult(out, privkey, pubkey); 1442 uint8_t privkey[WG_EPHEMERAL_KEY_LEN]; local in function:wg_fill_msg_init 1464 wg_algo_generate_keypair(pubkey, privkey); 1477 wg_algo_dh_kdf(ckey, cipher_key, privkey, wgp->wgp_pubkey); 1522 memcpy(wgs->wgs_ephemeral_key_priv, privkey, sizeof(privkey)); 2014 uint8_t privkey[WG_EPHEMERAL_KEY_LEN]; local in function:wg_fill_msg_resp 4864 const void *privkey; local in function:wg_ioctl_set_private_key [all...] |