Home
last modified time | relevance | path

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

/drivers/net/wireguard/
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()
A Dpeerlookup.h31 const u8 pubkey[NOISE_PUBLIC_KEY_LEN]);
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()
/drivers/crypto/
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()
A Datmel-i2c.h190 struct scatterlist *pubkey);
/drivers/firmware/
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()
/drivers/crypto/hisilicon/hpre/
A Dhpre_crypto.c69 char *pubkey; member
820 if (unlikely(!ctx->rsa.pubkey)) in hpre_rsa_enc()
921 if (!ctx->rsa.pubkey) in hpre_rsa_set_n()
930 ctx->rsa.pubkey, in hpre_rsa_set_n()
932 ctx->rsa.pubkey = NULL; in hpre_rsa_set_n()
937 memcpy(ctx->rsa.pubkey + vlen, ptr, vlen); in hpre_rsa_set_n()
953 memcpy(ctx->rsa.pubkey + ctx->key_sz - vlen, ptr, vlen); in hpre_rsa_set_e()
1054 if (ctx->rsa.pubkey) { in hpre_rsa_clear_ctx()
1056 ctx->rsa.pubkey, ctx->rsa.dma_pubkey); in hpre_rsa_clear_ctx()
1057 ctx->rsa.pubkey = NULL; in hpre_rsa_clear_ctx()
[all …]

Completed in 20 milliseconds