Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dchecksum.c168 struct crypto_sync_skcipher *chacha20 = in bch2_chacha_encrypt_key() local
172 ret = PTR_ERR_OR_ZERO(chacha20); in bch2_chacha_encrypt_key()
178 ret = crypto_skcipher_setkey(&chacha20->base, in bch2_chacha_encrypt_key()
185 ret = do_encrypt(chacha20, nonce, buf, len); in bch2_chacha_encrypt_key()
187 crypto_free_sync_skcipher(chacha20); in bch2_chacha_encrypt_key()
200 ret = do_encrypt(c->chacha20, nonce, key, sizeof(key)); in gen_poly_key()
255 return do_encrypt(c->chacha20, nonce, data, len); in bch2_encrypt()
354 ret = do_encrypt_sg(c->chacha20, nonce, sgl.data, sgl_len); in __bch2_encrypt_bio()
369 ret = do_encrypt_sg(c->chacha20, nonce, sgl.data, sgl_len); in __bch2_encrypt_bio()
667 if (c->chacha20) in bch2_alloc_ciphers()
[all …]
Dchecksum.h157 if (bch2_csum_type_is_encryption(type) && !c->chacha20) in bch2_checksum_type_valid()
Dbcachefs.h975 struct crypto_sync_skcipher *chacha20; member
/linux-6.12.1/drivers/crypto/marvell/octeontx2/
Dotx2_cpt_common.h102 u64 chacha20:1; member
/linux-6.12.1/Documentation/crypto/
Ddevel-algos.rst101 Example of transformations: cbc(aes), chacha20, ...
/linux-6.12.1/Documentation/admin-guide/device-mapper/
Ddm-crypt.rst47 capi:rfc7539(chacha20,poly1305)-random
Ddm-integrity.rst151 (such as "cbc(aes)") or a stream cipher (for example "chacha20"
/linux-6.12.1/arch/powerpc/crypto/
Dchacha-p10le-8x.S3 # Accelerated chacha20 implementation for ppc64le.
/linux-6.12.1/tools/testing/selftests/net/
Dtls.c35 struct tls12_crypto_info_chacha20_poly1305 chacha20; member
54 tls12->chacha20.info.version = tls_version; in tls_crypto_info_init()
55 tls12->chacha20.info.cipher_type = cipher_type; in tls_crypto_info_init()