/external/python/cryptography/tests/wycheproof/ |
D | test_chacha20poly1305.py | 33 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/ |
D | test_aead.py | 56 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 …]
|
D | test_chacha20.py | 60 chacha = algorithms.ChaCha20(b"0" * 32, b"0" * 16) 61 assert chacha.key_size == 256
|
/external/rust/crates/ring/src/aead/ |
D | chacha20_poly1305_openssh.rs | 33 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;
|
D | chacha20_poly1305.rs | 16 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()
|
D | quic.rs | 20 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/ |
D | CMakeLists.txt | 111 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/ |
D | CMakeLists.txt | 105 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/ |
D | CHANGELOG.md | 16 - 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)
|
D | README.md | 19 the [`c2-chacha`](https://crates.io/crates/c2-chacha) crate. 29 https://cr.yp.to/chacha.html)
|
D | Cargo.toml.orig | 13 keywords = ["random", "rng", "chacha"]
|
/external/openscreen/third_party/boringssl/ |
D | BUILD.generated.gni | 62 "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/ |
D | lib.rs | 23 mod chacha; module 26 pub use crate::chacha::{
|
/external/rust/crates/ring/patches/ |
D | Android.bp.diff | 56 + "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/ |
D | BUILD.generated.bzl | 147 "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 …]
|
D | android-sources.cmake | 71 ${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 …]
|
D | sources.mk | 69 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\
|
D | eureka.mk | 69 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\
|
D | sources.bp | 71 "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/ |
D | CMakeLists.txt | 136 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/ |
D | Cargo.toml | 20 …chacha/asm/chacha-armv4.pl", "crypto/chacha/asm/chacha-armv8.pl", "crypto/chacha/asm/chacha-x86.pl…
|
D | Cargo.toml.orig | 26 "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",
|
D | Android.bp | 129 "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/ |
D | ru-t-ja-Latn.txt | 21 chacha chuchu chocho тятя тютю тётё
|
D | ko-t-ja-Latn.txt | 21 chacha chuchu chocho 자차 주추 조초
|