Home
last modified time | relevance | path

Searched refs:public_key (Results 1 – 15 of 15) sorted by relevance

/linux/net/bluetooth/
H A Decdh_helper.c44 int compute_ecdh_secret(struct crypto_kpp *tfm, const u8 public_key[64], in compute_ecdh_secret()
63 swap_digits((u64 *)public_key, (u64 *)tmp, 4); /* x */ in compute_ecdh_secret()
64 swap_digits((u64 *)&public_key[32], (u64 *)&tmp[32], 4); /* y */ in compute_ecdh_secret()
145 int generate_ecdh_public_key(struct crypto_kpp *tfm, u8 public_key[64]) in generate_ecdh_public_key()
177 swap_digits((u64 *)tmp, (u64 *)public_key, 4); /* x */ in generate_ecdh_public_key()
178 swap_digits((u64 *)&tmp[32], (u64 *)&public_key[32], 4); /* y */ in generate_ecdh_public_key()
194 int generate_ecdh_keys(struct crypto_kpp *tfm, u8 public_key[64]) in generate_ecdh_keys()
202 return generate_ecdh_public_key(tfm, public_key); in generate_ecdh_keys()
H A Decdh_helper.h29 int generate_ecdh_public_key(struct crypto_kpp *tfm, u8 public_key[64]);
30 int generate_ecdh_keys(struct crypto_kpp *tfm, u8 public_key[64]);
/linux/crypto/asymmetric_keys/
H A Dpkcs8_parser.c21 struct public_key *pub;
97 static struct public_key *pkcs8_parse(const void *data, size_t datalen) in pkcs8_parse()
100 struct public_key *pub; in pkcs8_parse()
106 ctx.pub = kzalloc(sizeof(struct public_key), GFP_KERNEL); in pkcs8_parse()
138 struct public_key *pub; in pkcs8_key_preparse()
H A Dx509_parser.h16 struct public_key *pub; /* Public key details */
H A Drestrict.c138 const struct public_key *pkey; in restrict_link_by_ca()
179 const struct public_key *pkey; in restrict_link_by_digsig()
H A DMakefile13 obj-$(CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE) += public_key.o
H A Dx509_cert_parser.c71 cert->pub = kzalloc(sizeof(struct public_key), GFP_KERNEL); in x509_cert_parse()
/linux/drivers/net/wireguard/
H A Dpeer.c22 const u8 public_key[NOISE_PUBLIC_KEY_LEN], in wg_peer_create()
41 public_key, preshared_key, peer); in wg_peer_create()
H A Dpeer.h70 const u8 public_key[NOISE_PUBLIC_KEY_LEN],
/linux/include/keys/
H A Dasymmetric-type.h76 const struct public_key *asymmetric_key_public_key(const struct key *key) in asymmetric_key_public_key()
/linux/security/integrity/
H A Ddigsig_asymmetric.c87 const struct public_key *pk; in asymmetric_verify()
/linux/drivers/scsi/mpi3mr/mpi/
H A Dmpi30_image.h216 __le32 public_key[MPI3_PUBLIC_KEY_MAX]; member
/linux/Documentation/crypto/
H A Dasymmetric-keys.rst89 #include <crypto/public_key.h>
/linux/drivers/scsi/qla2xxx/
H A Dqla_def.h5213 uint32_t public_key[0x41]; member
/linux/
H A DMAINTAINERS3961 F: include/crypto/public_key.h