Home
last modified time | relevance | path

Searched refs:chacha (Results 1 – 25 of 53) sorted by relevance

123

/external/python/cryptography/tests/wycheproof/
Dtest_chacha20poly1305.py33 chacha = ChaCha20Poly1305(key)
34 computed_ct = chacha.encrypt(iv, msg, aad)
36 computed_msg = chacha.decrypt(iv, ct + tag, aad)
39 chacha = ChaCha20Poly1305(key)
41 chacha.encrypt(iv, msg, aad)
43 chacha.decrypt(iv, ct + tag, aad)
45 chacha = ChaCha20Poly1305(key)
47 chacha.decrypt(iv, msg + tag, aad)
/external/python/cryptography/tests/hazmat/primitives/
Dtest_aead.py56 chacha = ChaCha20Poly1305(key)
60 chacha.encrypt(nonce, FakeData(), b"")
63 chacha.encrypt(nonce, b"", FakeData())
87 chacha = ChaCha20Poly1305(key)
89 chacha.encrypt(nonce, data, associated_data)
92 chacha.decrypt(nonce, data, associated_data)
96 chacha = ChaCha20Poly1305(key)
98 chacha.encrypt(b"00", b"hello", b"")
101 chacha.decrypt(b"00", b"hello", b"")
105 chacha = ChaCha20Poly1305(key)
[all …]
Dtest_chacha20.py60 chacha = algorithms.ChaCha20(b"0" * 32, b"0" * 16)
61 assert chacha.key_size == 256
/external/rust/crates/ring/src/aead/
Dchacha20_poly1305_openssh.rs33 chacha::{self, *},
149 k_1: chacha::Key,
150 k_2: chacha::Key,
157 let (k_2, k_1) = key_material.split_at(chacha::KEY_LEN);
158 let k_1: [u8; chacha::KEY_LEN] = k_1.try_into().unwrap();
159 let k_2: [u8; chacha::KEY_LEN] = k_2.try_into().unwrap();
161 k_1: chacha::Key::from(k_1),
162 k_2: chacha::Key::from(k_2),
178 pub const KEY_LEN: usize = chacha::KEY_LEN * 2;
Dchacha20_poly1305.rs16 chacha::{self, Counter},
29 key_len: chacha::KEY_LEN,
42 let key: [u8; chacha::KEY_LEN] = key.try_into()?; in chacha20_poly1305_init()
43 Ok(aead::KeyInner::ChaCha20Poly1305(chacha::Key::from(key))) in chacha20_poly1305_init()
74 pub type Key = chacha::Key;
137 chacha_key: &chacha::Key, in derive_poly1305_key()
Dquic.rs20 aead::{aes, chacha},
34 ChaCha20(chacha::Key),
168 key_len: chacha::KEY_LEN,
175 let chacha20_key: [u8; chacha::KEY_LEN] = key.try_into()?; in chacha20_init()
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
/external/boringssl/src/crypto/
DCMakeLists.txt111 chacha/chacha-armv4.${ASM_EXT}
122 chacha/chacha-armv8.${ASM_EXT}
139 chacha/chacha-x86.${ASM_EXT}
148 chacha/chacha-x86_64.${ASM_EXT}
156 perlasm(chacha/chacha-armv4.${ASM_EXT} chacha/asm/chacha-armv4.pl)
157 perlasm(chacha/chacha-armv8.${ASM_EXT} chacha/asm/chacha-armv8.pl)
158 perlasm(chacha/chacha-x86.${ASM_EXT} chacha/asm/chacha-x86.pl)
159 perlasm(chacha/chacha-x86_64.${ASM_EXT} chacha/asm/chacha-x86_64.pl)
252 chacha/chacha.c
500 chacha/chacha_test.cc
/external/rust/crates/quiche/deps/boringssl/src/crypto/
DCMakeLists.txt105 chacha/chacha-armv4.${ASM_EXT}
116 chacha/chacha-armv8.${ASM_EXT}
133 chacha/chacha-x86.${ASM_EXT}
142 chacha/chacha-x86_64.${ASM_EXT}
150 perlasm(chacha/chacha-armv4.${ASM_EXT} chacha/asm/chacha-armv4.pl)
151 perlasm(chacha/chacha-armv8.${ASM_EXT} chacha/asm/chacha-armv8.pl)
152 perlasm(chacha/chacha-x86.${ASM_EXT} chacha/asm/chacha-x86.pl)
153 perlasm(chacha/chacha-x86_64.${ASM_EXT} chacha/asm/chacha-x86_64.pl)
245 chacha/chacha.c
492 chacha/chacha_test.cc
/external/rust/crates/rand_chacha/
DCHANGELOG.md16 - Integrate `c2-chacha`, reducing dependency count (#931)
20 - Force enable the `simd` feature of `c2-chacha` (#845)
23 - Rewrite based on the much faster `c2-chacha` crate (#789)
DREADME.md19 the [`c2-chacha`](https://crates.io/crates/c2-chacha) crate.
29 https://cr.yp.to/chacha.html)
DCargo.toml.orig13 keywords = ["random", "rng", "chacha"]
/external/openscreen/third_party/boringssl/
DBUILD.generated.gni62 "src/crypto/chacha/chacha.c",
63 "src/crypto/chacha/internal.h",
312 "src/include/openssl/chacha.h",
440 "ios-aarch64/crypto/chacha/chacha-armv8.S",
453 "ios-arm/crypto/chacha/chacha-armv4.S",
467 "linux-aarch64/crypto/chacha/chacha-armv8.S",
480 "linux-arm/crypto/chacha/chacha-armv4.S",
502 "linux-x86/crypto/chacha/chacha-x86.S",
518 "linux-x86_64/crypto/chacha/chacha-x86_64.S",
541 "mac-x86/crypto/chacha/chacha-x86.S",
[all …]
/external/rust/crates/rand_chacha/src/
Dlib.rs23 mod chacha; module
26 pub use crate::chacha::{
/external/rust/crates/ring/patches/
DAndroid.bp.diff56 + "pregenerated/chacha-armv4-linux32.S",
63 + "pregenerated/chacha-armv8-linux64.S",
75 + "pregenerated/chacha-x86-elf.S",
86 + "pregenerated/chacha-x86_64-elf.S",
/external/boringssl/
DBUILD.generated.bzl147 "src/include/openssl/chacha.h",
209 "src/crypto/chacha/internal.h",
313 "src/crypto/chacha/chacha.c",
521 "ios-aarch64/crypto/chacha/chacha-armv8.S",
534 "ios-arm/crypto/chacha/chacha-armv4.S",
548 "linux-aarch64/crypto/chacha/chacha-armv8.S",
561 "linux-arm/crypto/chacha/chacha-armv4.S",
583 "linux-x86/crypto/chacha/chacha-x86.S",
599 "linux-x86_64/crypto/chacha/chacha-x86_64.S",
622 "mac-x86/crypto/chacha/chacha-x86.S",
[all …]
Dandroid-sources.cmake71 ${BORINGSSL_ROOT}src/crypto/chacha/chacha.c
324 ${BORINGSSL_ROOT}src/crypto/chacha/chacha_test.cc
391 ${BORINGSSL_ROOT}ios-aarch64/crypto/chacha/chacha-armv8.S
403 ${BORINGSSL_ROOT}ios-arm/crypto/chacha/chacha-armv4.S
416 ${BORINGSSL_ROOT}linux-aarch64/crypto/chacha/chacha-armv8.S
428 ${BORINGSSL_ROOT}linux-arm/crypto/chacha/chacha-armv4.S
448 ${BORINGSSL_ROOT}linux-x86/crypto/chacha/chacha-x86.S
463 ${BORINGSSL_ROOT}linux-x86_64/crypto/chacha/chacha-x86_64.S
485 ${BORINGSSL_ROOT}mac-x86/crypto/chacha/chacha-x86.S
500 ${BORINGSSL_ROOT}mac-x86_64/crypto/chacha/chacha-x86_64.S
[all …]
Dsources.mk69 src/crypto/chacha/chacha.c\
252 linux-aarch64/crypto/chacha/chacha-armv8.S\
264 linux-arm/crypto/chacha/chacha-armv4.S\
284 linux-x86/crypto/chacha/chacha-x86.S\
299 linux-x86_64/crypto/chacha/chacha-x86_64.S\
Deureka.mk69 src/crypto/chacha/chacha.c\
308 linux-aarch64/crypto/chacha/chacha-armv8.S\
320 linux-arm/crypto/chacha/chacha-armv4.S\
340 linux-x86/crypto/chacha/chacha-x86.S\
355 linux-x86_64/crypto/chacha/chacha-x86_64.S\
Dsources.bp71 "src/crypto/chacha/chacha.c",
255 "linux-aarch64/crypto/chacha/chacha-armv8.S",
261 "linux-arm/crypto/chacha/chacha-armv4.S",
269 "linux-x86/crypto/chacha/chacha-x86.S",
275 "linux-x86_64/crypto/chacha/chacha-x86_64.S",
438 "src/crypto/chacha/chacha_test.cc",
/external/rust/crates/quiche/deps/boringssl/
DCMakeLists.txt136 ios-aarch64/crypto/chacha/chacha-armv8.S
151 ios-arm/crypto/chacha/chacha-armv4.S
167 linux-aarch64/crypto/chacha/chacha-armv8.S
182 linux-arm/crypto/chacha/chacha-armv4.S
208 linux-x86/crypto/chacha/chacha-x86.S
226 linux-x86_64/crypto/chacha/chacha-x86_64.S
251 mac-x86/crypto/chacha/chacha-x86.S
269 mac-x86_64/crypto/chacha/chacha-x86_64.S
293 win-x86/crypto/chacha/chacha-x86.asm
311 win-x86_64/crypto/chacha/chacha-x86_64.asm
[all …]
/external/rust/crates/ring/
DCargo.toml20chacha/asm/chacha-armv4.pl", "crypto/chacha/asm/chacha-armv8.pl", "crypto/chacha/asm/chacha-x86.pl…
DCargo.toml.orig26 "crypto/chacha/asm/chacha-armv4.pl",
27 "crypto/chacha/asm/chacha-armv8.pl",
28 "crypto/chacha/asm/chacha-x86.pl",
29 "crypto/chacha/asm/chacha-x86_64.pl",
109 "src/aead/chacha.rs",
DAndroid.bp129 "pregenerated/chacha-armv4-linux32.S",
136 "pregenerated/chacha-armv8-linux64.S",
148 "pregenerated/chacha-x86-elf.S",
159 "pregenerated/chacha-x86_64-elf.S",
/external/cldr/common/testData/transforms/
Dru-t-ja-Latn.txt21 chacha chuchu chocho тятя тютю тётё
Dko-t-ja-Latn.txt21 chacha chuchu chocho 자차 주추 조초

123