Home
last modified time | relevance | path

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

/drivers/crypto/
Datmel-ecc.c44 const u8 *public_key; member
93 void *public_key; in atmel_ecdh_set_secret() local
98 kfree(ctx->public_key); in atmel_ecdh_set_secret()
100 ctx->public_key = NULL; in atmel_ecdh_set_secret()
123 public_key = kmalloc(ATMEL_ECC_PUBKEY_SIZE, GFP_KERNEL); in atmel_ecdh_set_secret()
124 if (!public_key) in atmel_ecdh_set_secret()
137 memcpy(public_key, &cmd->data[RSP_DATA_IDX], ATMEL_ECC_PUBKEY_SIZE); in atmel_ecdh_set_secret()
138 ctx->public_key = public_key; in atmel_ecdh_set_secret()
144 kfree(public_key); in atmel_ecdh_set_secret()
162 if (!ctx->public_key) in atmel_ecdh_generate_public_key()
[all …]
/drivers/net/wireguard/
Dnetlink.c359 u8 *public_key = NULL, *preshared_key = NULL; in set_peer() local
367 public_key = nla_data(attrs[WGPEER_A_PUBLIC_KEY]); in set_peer()
412 peer = wg_peer_create(wg, public_key, preshared_key); in set_peer()
547 u8 public_key[NOISE_PUBLIC_KEY_LEN]; in wg_set_device() local
558 if (curve25519_generate_public(public_key, private_key)) { in wg_set_device()
560 public_key); in wg_set_device()
Dpeer.c22 const u8 public_key[NOISE_PUBLIC_KEY_LEN], in wg_peer_create()
41 public_key, preshared_key, peer); in wg_peer_create()
Dpeer.h70 const u8 public_key[NOISE_PUBLIC_KEY_LEN],
/drivers/scsi/qla2xxx/
Dqla_def.h4938 uint32_t public_key[0x41]; member