Searched refs:private_key (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/home/ |
D | user-record-sign.c | 32 int user_record_sign(UserRecord *ur, EVP_PKEY *private_key, UserRecord **ret) { in user_record_sign() argument 43 assert(private_key); in user_record_sign() 54 if (EVP_DigestSignInit(md_ctx, NULL, NULL, NULL, private_key) <= 0) in user_record_sign() 72 if (PEM_write_PUBKEY(mf, private_key) <= 0) in user_record_sign()
|
D | homed-manager.c | 275 if (m->private_key) in manager_free() 276 EVP_PKEY_free(m->private_key); in manager_free() 295 if (!m->private_key && hashmap_isempty(m->public_keys)) { in manager_verify_user_record() 304 if (m->private_key) { in manager_verify_user_record() 305 r = user_record_verify(hr, m->private_key); in manager_verify_user_record() 1356 if (m->private_key) { in manager_load_key_pair() 1357 EVP_PKEY_free(m->private_key); in manager_load_key_pair() 1358 m->private_key = NULL; in manager_load_key_pair() 1377 m->private_key = PEM_read_PrivateKey(f, NULL, NULL, NULL); in manager_load_key_pair() 1378 if (!m->private_key) in manager_load_key_pair() [all …]
|
D | user-record-sign.h | 8 int user_record_sign(UserRecord *ur, EVP_PKEY *private_key, UserRecord **ret);
|
D | homed-manager.h | 61 EVP_PKEY *private_key; /* actually a pair of private and public key */ member
|
/systemd-251/src/network/netdev/ |
D | wireguard.c | 251 … r = sd_netlink_message_append_data(message, WGDEVICE_A_PRIVATE_KEY, &w->private_key, WG_KEY_LEN); in wireguard_set_interface() 548 return wireguard_decode_key_and_warn(rvalue, w->private_key, unit, filename, line, lvalue); in config_parse_wireguard_private_key() 1072 explicit_bzero_safe(w->private_key, WG_KEY_LEN); in wireguard_done() 1138 r = wireguard_read_key_file(w->private_key_file, w->private_key); in wireguard_verify() 1144 if (eqzero(w->private_key)) in wireguard_verify()
|
D | wireguard.h | 57 uint8_t private_key[WG_KEY_LEN]; member
|