Searched refs:pkey (Results 1 – 9 of 9) sorted by relevance
/systemd-251/src/shared/ |
D | openssl-util.c | 46 EVP_PKEY *pkey, in rsa_encrypt_bytes() argument 56 ctx = EVP_PKEY_CTX_new(pkey, NULL); in rsa_encrypt_bytes() 83 EVP_PKEY *pkey, in rsa_pkey_to_suitable_key_size() argument 89 assert_se(pkey); in rsa_pkey_to_suitable_key_size() 95 if (EVP_PKEY_base_id(pkey) != EVP_PKEY_RSA) in rsa_pkey_to_suitable_key_size() 98 bits = EVP_PKEY_bits(pkey); in rsa_pkey_to_suitable_key_size()
|
D | openssl-util.h | 39 int rsa_encrypt_bytes(EVP_PKEY *pkey, const void *decrypted_key, size_t decrypted_key_size, void **… 41 int rsa_pkey_to_suitable_key_size(EVP_PKEY *pkey, size_t *ret_suitable_key_size);
|
/systemd-251/src/cryptenroll/ |
D | cryptenroll-pkcs11.c | 25 EVP_PKEY *pkey; in enroll_pkcs11() local 39 pkey = X509_get0_pubkey(cert); in enroll_pkcs11() 40 if (!pkey) in enroll_pkcs11() 43 r = rsa_pkey_to_suitable_key_size(pkey, &decrypted_key_size); in enroll_pkcs11() 57 …r = rsa_encrypt_bytes(pkey, decrypted_key, decrypted_key_size, &encrypted_key, &encrypted_key_size… in enroll_pkcs11()
|
/systemd-251/src/network/netdev/ |
D | ipoib.c | 39 if (ipoib->pkey > 0) { in netdev_ipoib_fill_message_create() 40 r = sd_netlink_message_append_u16(m, IFLA_IPOIB_PKEY, ipoib->pkey); in netdev_ipoib_fill_message_create() 122 uint16_t u, *pkey = data; in config_parse_ipoib_pkey() local 131 *pkey = 0; /* 0 means unset. */ in config_parse_ipoib_pkey() 149 *pkey = u; in config_parse_ipoib_pkey()
|
D | ipoib.h | 19 uint16_t pkey; member
|
D | netdev-gperf.gperf | 259 … config_parse_ipoib_pkey, 0, offsetof(IPoIB, pkey)
|
/systemd-251/src/home/ |
D | homectl-pkcs11.c | 164 EVP_PKEY *pkey; in identity_add_pkcs11_key_data() local 173 pkey = X509_get0_pubkey(cert); in identity_add_pkcs11_key_data() 174 if (!pkey) in identity_add_pkcs11_key_data() 177 r = rsa_pkey_to_suitable_key_size(pkey, &decrypted_key_size); in identity_add_pkcs11_key_data() 191 …r = rsa_encrypt_bytes(pkey, decrypted_key, decrypted_key_size, &encrypted_key, &encrypted_key_size… in identity_add_pkcs11_key_data()
|
D | homed-manager.c | 289 EVP_PKEY *pkey; in manager_verify_user_record() local 320 HASHMAP_FOREACH(pkey, m->public_keys) { in manager_verify_user_record() 321 r = user_record_verify(hr, pkey); in manager_verify_user_record() 1500 _cleanup_(EVP_PKEY_freep) EVP_PKEY *pkey = NULL; in manager_load_public_key_one() 1533 pkey = PEM_read_PUBKEY(f, &pkey, NULL, NULL); in manager_load_public_key_one() 1534 if (!pkey) in manager_load_public_key_one() 1541 r = hashmap_put(m->public_keys, fn, pkey); in manager_load_public_key_one() 1546 TAKE_PTR(pkey); in manager_load_public_key_one()
|
/systemd-251/ |
D | NEWS | 4175 * A new @pkey system call group is now defined to make it easier to
|