Home
last modified time | relevance | path

Searched refs:pubkey (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/wireguard/
H A Dpeerlookup.c11 const u8 pubkey[NOISE_PUBLIC_KEY_LEN]) in pubkey_bucket()
17 const u64 hash = siphash(pubkey, NOISE_PUBLIC_KEY_LEN, &table->key); in pubkey_bucket()
55 const u8 pubkey[NOISE_PUBLIC_KEY_LEN]) in wg_pubkey_hashtable_lookup()
60 hlist_for_each_entry_rcu_bh(iter_peer, pubkey_bucket(table, pubkey), in wg_pubkey_hashtable_lookup()
62 if (!memcmp(pubkey, iter_peer->handshake.remote_static, in wg_pubkey_hashtable_lookup()
H A Dpeerlookup.h31 const u8 pubkey[NOISE_PUBLIC_KEY_LEN]);
H A Dcookie.c33 const u8 pubkey[NOISE_PUBLIC_KEY_LEN], in precompute_key()
40 blake2s_update(&blake, pubkey, NOISE_PUBLIC_KEY_LEN); in precompute_key()
/linux/drivers/crypto/
H A Datmel-i2c.c129 struct scatterlist *pubkey) in atmel_i2c_init_ecdh_cmd() argument
145 copied = sg_copy_to_buffer(pubkey, in atmel_i2c_init_ecdh_cmd()
146 sg_nents_for_len(pubkey, in atmel_i2c_init_ecdh_cmd()
H A Datmel-i2c.h190 struct scatterlist *pubkey);
/linux/security/keys/trusted-keys/
H A Dtpm2key.asn19 pubkey OCTET STRING ({tpm2_key_pub}),
/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c68 char *pubkey; member
807 if (unlikely(!ctx->rsa.pubkey)) in hpre_rsa_enc()
905 ctx->rsa.pubkey = dma_alloc_coherent(ctx->dev, vlen << 1, in hpre_rsa_set_n()
908 if (!ctx->rsa.pubkey) in hpre_rsa_set_n()
917 ctx->rsa.pubkey, in hpre_rsa_set_n()
919 ctx->rsa.pubkey = NULL; in hpre_rsa_set_n()
924 memcpy(ctx->rsa.pubkey + vlen, ptr, vlen); in hpre_rsa_set_n()
940 memcpy(ctx->rsa.pubkey + ctx->key_sz - vlen, ptr, vlen); in hpre_rsa_set_e()
1041 if (ctx->rsa.pubkey) { in hpre_rsa_clear_ctx()
1043 ctx->rsa.pubkey, ctx->rsa.dma_pubkey); in hpre_rsa_clear_ctx()
[all …]
/linux/drivers/firmware/
H A Dturris-mox-rwtm.c106 u8 pubkey[MOX_ECC_PUBKEY_LEN]; member
357 return rwtm->pubkey; in mox_rwtm_get_public_key()
393 mox_ecc_public_key_to_bin(rwtm->pubkey, ret, reply->status); in mox_register_signing_key()
/linux/Documentation/security/keys/
H A Dtrusted-encrypted.rst515 pubkey OCTET STRING
552 pubkey is the binary representation of TPM2B_PRIVATE excluding the