Searched refs:public_key (Results 1 – 6 of 6) sorted by relevance
/drivers/crypto/ |
D | atmel-ecc.c | 43 const u8 *public_key; member 82 void *public_key; in atmel_ecdh_set_secret() local 87 kfree(ctx->public_key); in atmel_ecdh_set_secret() 89 ctx->public_key = NULL; in atmel_ecdh_set_secret() 111 public_key = kmalloc(ATMEL_ECC_PUBKEY_SIZE, GFP_KERNEL); in atmel_ecdh_set_secret() 112 if (!public_key) in atmel_ecdh_set_secret() 124 memcpy(public_key, &cmd->data[RSP_DATA_IDX], ATMEL_ECC_PUBKEY_SIZE); in atmel_ecdh_set_secret() 125 ctx->public_key = public_key; in atmel_ecdh_set_secret() 131 kfree(public_key); in atmel_ecdh_set_secret() 149 if (!ctx->public_key) in atmel_ecdh_generate_public_key() [all …]
|
/drivers/net/wireguard/ |
D | netlink.c | 359 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()
|
D | peer.c | 22 const u8 public_key[NOISE_PUBLIC_KEY_LEN], in wg_peer_create() 41 public_key, preshared_key, peer); in wg_peer_create()
|
D | peer.h | 70 const u8 public_key[NOISE_PUBLIC_KEY_LEN],
|
/drivers/scsi/mpi3mr/mpi/ |
D | mpi30_image.h | 240 __le32 public_key[MPI3_PUBLIC_KEY_MAX]; member
|
/drivers/scsi/qla2xxx/ |
D | qla_def.h | 5158 uint32_t public_key[0x41]; member
|