/kernel/linux/linux-5.10/drivers/net/wireguard/ |
H A D | peerlookup.c | 11 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() 10 pubkey_bucket(struct pubkey_hashtable *table, const u8 pubkey[NOISE_PUBLIC_KEY_LEN]) pubkey_bucket() argument 54 wg_pubkey_hashtable_lookup(struct pubkey_hashtable *table, const u8 pubkey[NOISE_PUBLIC_KEY_LEN]) wg_pubkey_hashtable_lookup() argument
|
H A D | peerlookup.h | 31 const u8 pubkey[NOISE_PUBLIC_KEY_LEN]);
|
H A D | cookie.c | 33 const u8 pubkey[NOISE_PUBLIC_KEY_LEN], in precompute_key() 40 blake2s_update(&blake, pubkey, NOISE_PUBLIC_KEY_LEN); in precompute_key() 32 precompute_key(u8 key[NOISE_SYMMETRIC_KEY_LEN], const u8 pubkey[NOISE_PUBLIC_KEY_LEN], const u8 label[COOKIE_KEY_LABEL_LEN]) precompute_key() argument
|
/kernel/linux/linux-6.6/drivers/net/wireguard/ |
H A D | peerlookup.c | 11 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() 10 pubkey_bucket(struct pubkey_hashtable *table, const u8 pubkey[NOISE_PUBLIC_KEY_LEN]) pubkey_bucket() argument 54 wg_pubkey_hashtable_lookup(struct pubkey_hashtable *table, const u8 pubkey[NOISE_PUBLIC_KEY_LEN]) wg_pubkey_hashtable_lookup() argument
|
H A D | peerlookup.h | 31 const u8 pubkey[NOISE_PUBLIC_KEY_LEN]);
|
H A D | cookie.c | 33 const u8 pubkey[NOISE_PUBLIC_KEY_LEN], in precompute_key() 40 blake2s_update(&blake, pubkey, NOISE_PUBLIC_KEY_LEN); in precompute_key() 32 precompute_key(u8 key[NOISE_SYMMETRIC_KEY_LEN], const u8 pubkey[NOISE_PUBLIC_KEY_LEN], const u8 label[COOKIE_KEY_LABEL_LEN]) precompute_key() argument
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_crypto.c | 43 char *pubkey; member 734 if (unlikely(!ctx->rsa.pubkey)) in hpre_rsa_enc() 832 ctx->rsa.pubkey = dma_alloc_coherent(HPRE_DEV(ctx), vlen << 1, in hpre_rsa_set_n() 835 if (!ctx->rsa.pubkey) in hpre_rsa_set_n() 844 ctx->rsa.pubkey, in hpre_rsa_set_n() 846 ctx->rsa.pubkey = NULL; in hpre_rsa_set_n() 851 memcpy(ctx->rsa.pubkey + vlen, ptr, vlen); in hpre_rsa_set_n() 867 memcpy(ctx->rsa.pubkey + ctx->key_sz - vlen, ptr, vlen); in hpre_rsa_set_e() 968 if (ctx->rsa.pubkey) { in hpre_rsa_clear_ctx() 970 ctx->rsa.pubkey, ct in hpre_rsa_clear_ctx() [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | atmel-i2c.c | 105 struct scatterlist *pubkey) in atmel_i2c_init_ecdh_cmd() 121 copied = sg_copy_to_buffer(pubkey, in atmel_i2c_init_ecdh_cmd() 122 sg_nents_for_len(pubkey, in atmel_i2c_init_ecdh_cmd() 104 atmel_i2c_init_ecdh_cmd(struct atmel_i2c_cmd *cmd, struct scatterlist *pubkey) atmel_i2c_init_ecdh_cmd() argument
|
H A D | atmel-i2c.h | 183 struct scatterlist *pubkey);
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | atmel-i2c.c | 105 struct scatterlist *pubkey) in atmel_i2c_init_ecdh_cmd() 121 copied = sg_copy_to_buffer(pubkey, in atmel_i2c_init_ecdh_cmd() 122 sg_nents_for_len(pubkey, in atmel_i2c_init_ecdh_cmd() 104 atmel_i2c_init_ecdh_cmd(struct atmel_i2c_cmd *cmd, struct scatterlist *pubkey) atmel_i2c_init_ecdh_cmd() argument
|
H A D | atmel-i2c.h | 184 struct scatterlist *pubkey);
|
/kernel/linux/linux-5.10/drivers/firmware/ |
H A D | turris-mox-rwtm.c | 72 u8 pubkey[135]; member 146 MOX_ATTR_RO(pubkey, "%s\n", pubkey); 254 sprintf(rwtm->pubkey, in mox_get_board_info()
|
/kernel/linux/linux-6.6/drivers/firmware/ |
H A D | turris-mox-rwtm.c | 72 u8 pubkey[135]; member 146 MOX_ATTR_RO(pubkey, "%s\n", pubkey); 254 sprintf(rwtm->pubkey, in mox_get_board_info()
|
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_crypto.c | 64 char *pubkey; member 811 if (unlikely(!ctx->rsa.pubkey)) in hpre_rsa_enc() 909 ctx->rsa.pubkey = dma_alloc_coherent(ctx->dev, vlen << 1, in hpre_rsa_set_n() 912 if (!ctx->rsa.pubkey) in hpre_rsa_set_n() 921 ctx->rsa.pubkey, in hpre_rsa_set_n() 923 ctx->rsa.pubkey = NULL; in hpre_rsa_set_n() 928 memcpy(ctx->rsa.pubkey + vlen, ptr, vlen); in hpre_rsa_set_n() 944 memcpy(ctx->rsa.pubkey + ctx->key_sz - vlen, ptr, vlen); in hpre_rsa_set_e() 1045 if (ctx->rsa.pubkey) { in hpre_rsa_clear_ctx() 1047 ctx->rsa.pubkey, ct in hpre_rsa_clear_ctx() [all...] |