Home
last modified time | relevance | path

Searched defs:nonce (Results 1 – 25 of 76) sorted by relevance

1234

/linux/fs/bcachefs/
H A Dchecksum.c95 const struct bch_key *key, struct nonce nonce) in bch2_chacha20_init()
109 void bch2_chacha20(const struct bch_key *key, struct nonce nonce, in bch2_chacha20()
120 struct bch_fs *c, struct nonce nonce) in bch2_poly1305_init()
131 struct nonce nonce, const void *data, size_t len) in bch2_checksum()
169 struct nonce nonce, void *data, size_t len) in bch2_encrypt()
183 struct nonce nonce, struct bio *bio, in __bch2_checksum_bio()
248 struct nonce nonce, struct bio *bio) in bch2_checksum_bio()
256 struct nonce nonce, struct bio *bio) in __bch2_encrypt_bio()
323 struct nonce nonce = extent_nonce(version, crc_old); in bch2_rechecksum_bio() local
H A Dchecksum.h95 struct nonce nonce, struct bio *bio) in bch2_encrypt_bio()
177 static inline struct nonce nonce_add(struct nonce nonce, unsigned offset) in nonce_add()
200 struct nonce nonce = (struct nonce) {{ in extent_nonce() local
H A Dextents_format.h124 nonce:10, member
150 nonce:13, member
H A Dio_write.c915 struct nonce nonce = extent_nonce(op->version, op->crc); in bch2_write_prep_encoded_data() local
955 struct nonce nonce = extent_nonce(op->version, op->crc); in bch2_write_prep_encoded_data() local
1096 u16 nonce = crc.nonce; in bch2_write_extent() local
/linux/lib/crypto/
H A Dchacha20poly1305.c36 xchacha_init(u32 * chacha_state,const u8 * key,const u8 * nonce) xchacha_init() argument
92 chacha20poly1305_encrypt(u8 * dst,const u8 * src,const size_t src_len,const u8 * ad,const size_t ad_len,const u64 nonce,const u8 key[CHACHA20POLY1305_KEY_SIZE]) chacha20poly1305_encrypt() argument
170 chacha20poly1305_decrypt(u8 * dst,const u8 * src,const size_t src_len,const u8 * ad,const size_t ad_len,const u64 nonce,const u8 key[CHACHA20POLY1305_KEY_SIZE]) chacha20poly1305_decrypt() argument
211 chacha20poly1305_crypt_sg_inplace(struct scatterlist * src,const size_t src_len,const u8 * ad,const size_t ad_len,const u64 nonce,const u8 key[CHACHA20POLY1305_KEY_SIZE],int encrypt) chacha20poly1305_crypt_sg_inplace() argument
335 chacha20poly1305_encrypt_sg_inplace(struct scatterlist * src,size_t src_len,const u8 * ad,const size_t ad_len,const u64 nonce,const u8 key[CHACHA20POLY1305_KEY_SIZE]) chacha20poly1305_encrypt_sg_inplace() argument
345 chacha20poly1305_decrypt_sg_inplace(struct scatterlist * src,size_t src_len,const u8 * ad,const size_t ad_len,const u64 nonce,const u8 key[CHACHA20POLY1305_KEY_SIZE]) chacha20poly1305_decrypt_sg_inplace() argument
[all...]
/linux/drivers/crypto/caam/
H A Dcaamalg_desc.c213 const bool is_rfc3686, u32 *nonce, int era) in init_sh_desc_key_aead()
291 u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, in cnstr_shdsc_aead_encap()
386 const bool is_rfc3686, u32 *nonce, in cnstr_shdsc_aead_decap()
503 u32 *nonce, const u32 ctx1_iv_off, in cnstr_shdsc_aead_givencap()
1398 const u8 *nonce = cdata->key_virt + cdata->keylen; in cnstr_shdsc_skcipher_encap() local
1473 const u8 *nonce = cdata->key_virt + cdata->keylen; in cnstr_shdsc_skcipher_decap() local
/linux/drivers/md/dm-vdo/indexer/
H A Dconfig.h43 u64 nonce; member
82 u64 nonce; member
108 u64 nonce; member
H A Dchapter-index.c129 u64 nonce = chapter_index->volume_nonce; in uds_pack_open_chapter_index_page() local
H A Dindex-layout.c131 u64 nonce; member
169 u64 nonce; member
178 u64 nonce; member
291 static u64 generate_secondary_nonce(u64 nonce, const void *data, size_t len) in generate_secondary_nonce()
H A Dvolume.h102 u64 nonce; member
/linux/include/net/
H A Damt.h117 __be32 nonce; member
132 __be32 nonce; member
152 __be32 nonce; member
173 __be32 nonce; member
190 __be32 nonce; member
249 __be32 nonce; member
356 __be32 nonce; member
/linux/security/keys/trusted-keys/
H A Dtrusted_dcp.c59 __u8 nonce[AES_KEYSIZE_128]; member
129 static int do_aead_crypto(u8 *in, u8 *out, size_t len, u8 *key, u8 *nonce, in do_aead_crypto()
/linux/drivers/md/dm-vdo/
H A Dencodings.h96 nonce_t nonce; member
112 nonce_t nonce; member
154 __le64 nonce; member
312 nonce_t nonce; /* A given VDO instance's nonce */ member
336 __le64 nonce; member
476 nonce_t nonce; member
499 __le64 nonce; member
617 nonce_t nonce; member
641 __le64 nonce; member
H A Dencodings.c253 nonce_t nonce; in decode_volume_geometry() local
335 struct block_map_page *vdo_format_block_map_page(void *buffer, nonce_t nonce, in vdo_format_block_map_page()
350 nonce_t nonce, in vdo_validate_block_map_page()
/linux/tools/crypto/ccp/
H A Ddbc_cli.py98 nonce = get_nonce(d, sig) variable
/linux/net/mac80211/
H A Daes_gmac.c17 int ieee80211_aes_gmac(struct crypto_aead *tfm, const u8 *aad, u8 *nonce, in ieee80211_aes_gmac()
/linux/include/uapi/linux/
H A Dpsp-dbc.h34 __u8 nonce[DBC_NONCE_SIZE]; member
/linux/net/ceph/
H A Dauth_x.h35 u64 nonce; member
H A Dauth_x_protocol.h73 __le64 nonce; member
/linux/net/dccp/
H A Dackvec.h
H A Dackvec.c
/linux/drivers/net/wireguard/
H A Dqueueing.h60 u64 nonce; member
/linux/drivers/gpu/drm/radeon/
H A Dvce_v1_0.c47 uint32_t nonce[4]; member
/linux/net/ipv6/
H A Dndisc.c608 const struct in6_addr *saddr, u64 nonce) in ndisc_ns_create()
656 u64 nonce) in ndisc_send_ns()
807 u64 nonce = 0; in ndisc_recv_ns() local
/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Dspmobj-attributes.c28 u32 nonce; member

1234