Home
last modified time | relevance | path

Searched refs:private_key (Results 1 – 8 of 8) sorted by relevance

/linux/scripts/
H A Dsign-file.c78 EVP_PKEY *private_key = NULL;
98 private_key = OSSL_STORE_INFO_get1_PKEY(info); in pem_pw_cb()
99 ERR(!private_key, "OSSL_STORE_INFO_get1_PKEY"); in pem_pw_cb()
102 if (private_key) in pem_pw_cb()
119 private_key = ENGINE_load_private_key(e, private_key_name, NULL, NULL); in read_private_key_pkcs11()
120 ERR(!private_key, "%s", private_key_name); in read_private_key_pkcs11()
125 return private_key; in read_private_key_pkcs11()
133 EVP_PKEY *private_key; in read_private_key_pkcs11()
138 private_key = PEM_read_bio_PrivateKey(b, NULL, pem_pw_cb, in read_private_key_pkcs11()
140 ERR(!private_key, " in read_private_key_pkcs11()
112 EVP_PKEY *private_key = NULL; read_private_key_pkcs11() local
167 EVP_PKEY *private_key; read_private_key() local
233 EVP_PKEY *private_key; main() local
[all...]
/linux/tools/bpf/bpftool/
H A Dsign.c65 EVP_PKEY *private_key = NULL; in read_private_key() local
69 private_key = PEM_read_bio_PrivateKey(b, NULL, NULL, NULL); in read_private_key()
71 DISPLAY_OSSL_ERR(!private_key); in read_private_key()
72 return private_key; in read_private_key()
134 EVP_PKEY *private_key = NULL; in bpftool_prog_sign() local
158 private_key = read_private_key(private_key_path); in bpftool_prog_sign()
159 if (!private_key) { in bpftool_prog_sign()
178 if (!CMS_add1_signer(cms, x509, private_key, EVP_sha256(), in bpftool_prog_sign()
228 EVP_PKEY_free(private_key); in bpftool_prog_sign()
/linux/include/linux/
H A Decryptfs.h102 struct ecryptfs_private_key private_key; member
/linux/drivers/net/wireguard/
H A Dnoise.h116 const u8 private_key[NOISE_PUBLIC_KEY_LEN]);
H A Dnoise.c296 const u8 private_key[NOISE_PUBLIC_KEY_LEN]) in wg_noise_set_static_identity_private_key()
298 memcpy(static_identity->static_private, private_key, in wg_noise_set_static_identity_private_key()
302 static_identity->static_public, private_key); in wg_noise_set_static_identity_private_key()
/linux/fs/ecryptfs/
H A Dkeystore.c1074 (*sig) = auth_tok->token.private_key.signature; in ecryptfs_get_auth_tok_sig()
1263 ecryptfs_to_hex((*new_auth_tok)->token.private_key.signature, in parse_tag_1_packet()
1886 memcpy(&(candidate_auth_tok->token.private_key), in ecryptfs_parse_packet_set()
1887 &(matching_auth_tok->token.private_key), in ecryptfs_parse_packet_set()
1959 rc = write_tag_66_packet(auth_tok->token.private_key.signature, in pki_encrypt_session_key()
2018 ecryptfs_from_hex(key_rec->sig, auth_tok->token.private_key.signature, in write_tag_1_packet()
2034 auth_tok->token.private_key.key_size; in write_tag_1_packet()
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst21 { **-L** | **--use-loader** } | [ { **-S** | **--sign** } **-k** <private_key.pem> **-i** <certificate.x509> ] }
256 -k <private_key.pem>
/linux/Documentation/bpf/
H A Dsigning.rst448 bpftool gen skeleton -L -S -k <private_key.pem> -i <certificate.x509> \