/dports/security/hashcat/hashcat-6.2.5/src/modules/ |
H A D | module_15400.c | 45 typedef struct chacha20 struct 144 chacha20->offset = offset; in module_hash_decode() 169 salt->salt_buf[0] = chacha20->iv[0]; in module_hash_decode() 170 salt->salt_buf[1] = chacha20->iv[1]; in module_hash_decode() 171 salt->salt_buf[2] = chacha20->plain[0]; in module_hash_decode() 175 salt->salt_buf[6] = chacha20->offset; in module_hash_decode() 199 chacha20->offset, in module_hash_encode() 200 byte_swap_32 (chacha20->iv[1]), in module_hash_encode() 201 byte_swap_32 (chacha20->iv[0]), in module_hash_encode() 202 byte_swap_32 (chacha20->plain[0]), in module_hash_encode() [all …]
|
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/chacha20-0.7.2/tests/ |
H A D | lib.rs | 3 use chacha20::ChaCha20; 20 let mut cipher = chacha20::ChaCha20::new(&Default::default(), &Default::default()); in bad_overflow_check1() 37 let mut cipher = chacha20::ChaCha20::new(&Default::default(), &Default::default()); in bad_overflow_check2() 49 let mut cipher = chacha20::ChaCha20::new(&Default::default(), &Default::default()); in bad_overflow_check3() 66 let mut cipher = chacha20::ChaCha20::new(&Default::default(), &Default::default()); in bad_overflow_check4() 83 let mut cipher = chacha20::ChaCha20::new(&Default::default(), &Default::default()); in bad_overflow_check5() 100 let mut cipher = chacha20::ChaCha20::new(&Default::default(), &Default::default()); in bad_overflow_check6() 108 let mut cipher = chacha20::ChaCha20::new(&Default::default(), &Default::default()); in bad_overflow_check7() 211 use chacha20::{ 300 use chacha20::{Key, XChaCha20, XNonce}; [all …]
|
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/test/fuzz/ |
H A D | crypto_chacha20.cpp | 17 ChaCha20 chacha20; in FUZZ_TARGET() 20 chacha20 = ChaCha20{key.data(), key.size()}; in FUZZ_TARGET() 27 chacha20.SetKey(key.data(), key.size()); in FUZZ_TARGET() 30 chacha20.SetIV(fuzzed_data_provider.ConsumeIntegral<uint64_t>()); in FUZZ_TARGET() 33 chacha20.Seek(fuzzed_data_provider.ConsumeIntegral<uint64_t>()); in FUZZ_TARGET() 37 chacha20.Keystream(output.data(), output.size()); in FUZZ_TARGET() 42 chacha20.Crypt(input.data(), output.data(), input.size()); in FUZZ_TARGET()
|
/dports/net-p2p/bitcoin/bitcoin-22.0/src/test/fuzz/ |
H A D | crypto_chacha20.cpp | 17 ChaCha20 chacha20; in FUZZ_TARGET() local 20 chacha20 = ChaCha20{key.data(), key.size()}; in FUZZ_TARGET() 27 chacha20.SetKey(key.data(), key.size()); in FUZZ_TARGET() 30 chacha20.SetIV(fuzzed_data_provider.ConsumeIntegral<uint64_t>()); in FUZZ_TARGET() 33 chacha20.Seek(fuzzed_data_provider.ConsumeIntegral<uint64_t>()); in FUZZ_TARGET() 37 chacha20.Keystream(output.data(), output.size()); in FUZZ_TARGET() 42 chacha20.Crypt(input.data(), output.data(), input.size()); in FUZZ_TARGET()
|
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/test/fuzz/ |
H A D | crypto_chacha20.cpp | 17 ChaCha20 chacha20; in FUZZ_TARGET() local 20 chacha20 = ChaCha20{key.data(), key.size()}; in FUZZ_TARGET() 27 chacha20.SetKey(key.data(), key.size()); in FUZZ_TARGET() 30 chacha20.SetIV(fuzzed_data_provider.ConsumeIntegral<uint64_t>()); in FUZZ_TARGET() 33 chacha20.Seek(fuzzed_data_provider.ConsumeIntegral<uint64_t>()); in FUZZ_TARGET() 37 chacha20.Keystream(output.data(), output.size()); in FUZZ_TARGET() 42 chacha20.Crypt(input.data(), output.data(), input.size()); in FUZZ_TARGET()
|
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/test/fuzz/ |
H A D | crypto_chacha20.cpp | 17 ChaCha20 chacha20; in test_one_input() local 20 chacha20 = ChaCha20{key.data(), key.size()}; in test_one_input() 26 chacha20.SetKey(key.data(), key.size()); in test_one_input() 30 chacha20.SetIV(fuzzed_data_provider.ConsumeIntegral<uint64_t>()); in test_one_input() 34 chacha20.Seek(fuzzed_data_provider.ConsumeIntegral<uint64_t>()); in test_one_input() 39 chacha20.Keystream(output.data(), output.size()); in test_one_input() 45 chacha20.Crypt(input.data(), output.data(), input.size()); in test_one_input()
|
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/test/fuzz/ |
H A D | crypto_chacha20.cpp | 17 ChaCha20 chacha20; in test_one_input() local 20 chacha20 = ChaCha20{key.data(), key.size()}; in test_one_input() 26 chacha20.SetKey(key.data(), key.size()); in test_one_input() 30 chacha20.SetIV(fuzzed_data_provider.ConsumeIntegral<uint64_t>()); in test_one_input() 34 chacha20.Seek(fuzzed_data_provider.ConsumeIntegral<uint64_t>()); in test_one_input() 39 chacha20.Keystream(output.data(), output.size()); in test_one_input() 45 chacha20.Crypt(input.data(), output.data(), input.size()); in test_one_input()
|
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/test/fuzz/ |
H A D | crypto_chacha20.cpp | 17 ChaCha20 chacha20; in test_one_input() local 20 chacha20 = ChaCha20{key.data(), key.size()}; in test_one_input() 26 chacha20.SetKey(key.data(), key.size()); in test_one_input() 30 chacha20.SetIV(fuzzed_data_provider.ConsumeIntegral<uint64_t>()); in test_one_input() 34 chacha20.Seek(fuzzed_data_provider.ConsumeIntegral<uint64_t>()); in test_one_input() 39 chacha20.Keystream(output.data(), output.size()); in test_one_input() 45 chacha20.Crypt(input.data(), output.data(), input.size()); in test_one_input()
|
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/chacha20poly1305-0.8.2/ |
H A D | Cargo.toml.orig-cargo | 17 keywords = ["aead", "chacha20", "poly1305", "xchacha20", "xchacha20poly1305"] 22 chacha20 = { version = "0.7", features = ["zeroize"], optional = true } 31 default = ["alloc", "chacha20", "xchacha20"] 36 xchacha20 = ["chacha20/xchacha"] 38 reduced-round = ["chacha20-reduced-round", "xchacha20-reduced-round"] 39 chacha20-reduced-round = ["chacha20"] 41 force-soft = ["chacha20/force-soft", "poly1305/force-soft"]
|
H A D | Cargo.toml | 21 keywords = ["aead", "chacha20", "poly1305", "xchacha20", "xchacha20poly1305"] 32 [dependencies.chacha20] 53 chacha20-reduced-round = ["chacha20"] 54 default = ["alloc", "chacha20", "xchacha20"] 55 force-soft = ["chacha20/force-soft", "poly1305/force-soft"] 57 reduced-round = ["chacha20-reduced-round", "xchacha20-reduced-round"] 60 xchacha20 = ["chacha20/xchacha"]
|
/dports/net/clash/clash-1.6.0/vendor/github.com/Dreamacro/go-shadowsocks2/shadowstream/ |
H A D | cipher.go | 59 func (k chacha20ietfkey) IVSize() int { return chacha20.NonceSize } 62 ciph, err := chacha20.NewUnauthenticatedCipher(k, iv) 70 if len(key) != chacha20.KeySize { 71 return nil, KeySizeError(chacha20.KeySize) 78 func (k xchacha20key) IVSize() int { return chacha20.NonceSizeX } 81 ciph, err := chacha20.NewUnauthenticatedCipher(k, iv) 89 if len(key) != chacha20.KeySize { 90 return nil, KeySizeError(chacha20.KeySize)
|
/dports/security/py-asyncssh/asyncssh-2.8.1/asyncssh/crypto/ |
H A D | chacha.py | 40 def chacha20(key, data, nonce, ctr): function 49 return chacha20(key, _POLY1305_KEYBYTES * b'\0', nonce, 0) 79 def chacha20(key, data, nonce, ctr): function 136 header = chacha20(self._adkey, header, nonce, 0) 137 data = chacha20(self._key, data, nonce, 1) 145 return chacha20(self._adkey, header, nonce, 0) 151 return chacha20(self._key, data, nonce, 1)
|
/dports/dns/doh-proxy/doh-proxy-0.9.2/cargo-crates/chacha20poly1305-0.7.1/ |
H A D | Cargo.toml.orig-cargo | 17 keywords = ["aead", "chacha20", "poly1305", "xchacha20", "xchacha20poly1305"] 22 chacha20 = { version = "0.6", features = ["zeroize"], optional = true } 28 default = ["alloc", "chacha20", "xchacha20poly1305"] 31 reduced-round = ["chacha20"] 33 xchacha20poly1305 = ["chacha20/xchacha20"]
|
H A D | Cargo.toml | 21 keywords = ["aead", "chacha20", "poly1305", "xchacha20", "xchacha20poly1305"] 32 [dependencies.chacha20] 49 default = ["alloc", "chacha20", "xchacha20poly1305"] 51 reduced-round = ["chacha20"] 53 xchacha20poly1305 = ["chacha20/xchacha20"]
|
/dports/lang/zig-devel/zig-0.9.0/lib/std/ |
H A D | crypto.zig | 21 pub const ChaCha20Poly1305 = @import("crypto/chacha20.zig").ChaCha20Poly1305; 22 pub const ChaCha12Poly1305 = @import("crypto/chacha20.zig").ChaCha12Poly1305; 23 pub const ChaCha8Poly1305 = @import("crypto/chacha20.zig").ChaCha8Poly1305; 26 pub const XChaCha8Poly1305 = @import("crypto/chacha20.zig").XChaCha8Poly1305; 133 pub const ChaCha20IETF = @import("crypto/chacha20.zig").ChaCha20IETF; 134 pub const ChaCha12IETF = @import("crypto/chacha20.zig").ChaCha12IETF; 135 pub const ChaCha8IETF = @import("crypto/chacha20.zig").ChaCha8IETF; 139 pub const XChaCha20IETF = @import("crypto/chacha20.zig").XChaCha20IETF; 140 pub const XChaCha12IETF = @import("crypto/chacha20.zig").XChaCha12IETF; 141 pub const XChaCha8IETF = @import("crypto/chacha20.zig").XChaCha8IETF; [all …]
|
/dports/lang/zig/zig-0.9.0/lib/std/ |
H A D | crypto.zig | 21 pub const ChaCha20Poly1305 = @import("crypto/chacha20.zig").ChaCha20Poly1305; 22 pub const ChaCha12Poly1305 = @import("crypto/chacha20.zig").ChaCha12Poly1305; 23 pub const ChaCha8Poly1305 = @import("crypto/chacha20.zig").ChaCha8Poly1305; 26 pub const XChaCha8Poly1305 = @import("crypto/chacha20.zig").XChaCha8Poly1305; 133 pub const ChaCha20IETF = @import("crypto/chacha20.zig").ChaCha20IETF; 134 pub const ChaCha12IETF = @import("crypto/chacha20.zig").ChaCha12IETF; 135 pub const ChaCha8IETF = @import("crypto/chacha20.zig").ChaCha8IETF; 139 pub const XChaCha20IETF = @import("crypto/chacha20.zig").XChaCha20IETF; 140 pub const XChaCha12IETF = @import("crypto/chacha20.zig").XChaCha12IETF; 141 pub const XChaCha8IETF = @import("crypto/chacha20.zig").XChaCha8IETF; [all …]
|
/dports/security/kpmenu/kpmenu-1.4.0/vendor/github.com/aead/chacha20/ |
H A D | README.md | 1 …eference](https://godoc.org/github.com/aead/chacha20?status.svg)](https://godoc.org/github.com/aea… 2 [![Build Status](https://travis-ci.org/aead/chacha20.svg?branch=master)](https://travis-ci.org/aead… 3 …eport Card](https://goreportcard.com/badge/aead/chacha20)](https://goreportcard.com/report/aead/ch… 21 Install in your GOPATH: `go get -u github.com/aead/chacha20`
|
/dports/mail/mailhog/MailHog-1.0.0/vendor/golang.org/x/crypto/chacha20poly1305/ |
H A D | chacha20poly1305_generic.go | 23 chacha20.XORKeyStream(polyKey[:], polyKey[:], &counter, &c.key) 27 chacha20.XORKeyStream(out, plaintext, &counter, &c.key) 51 chacha20.XORKeyStream(polyKey[:], polyKey[:], &counter, &c.key) 68 chacha20.XORKeyStream(out, ciphertext, &counter, &c.key)
|
/dports/lang/gcc8/gcc-8.5.0/libgo/go/golang_org/x/crypto/chacha20poly1305/ |
H A D | chacha20poly1305_generic.go | 23 chacha20.XORKeyStream(polyKey[:], polyKey[:], &counter, &c.key) 27 chacha20.XORKeyStream(out, plaintext, &counter, &c.key) 51 chacha20.XORKeyStream(polyKey[:], polyKey[:], &counter, &c.key) 68 chacha20.XORKeyStream(out, ciphertext, &counter, &c.key)
|
/dports/net/google-cloud-sdk-app-engine-go/platform/google_appengine/goroot-1.9/src/vendor/golang_org/x/crypto/chacha20poly1305/ |
H A D | chacha20poly1305_generic.go | 23 chacha20.XORKeyStream(polyKey[:], polyKey[:], &counter, &c.key) 27 chacha20.XORKeyStream(out, plaintext, &counter, &c.key) 51 chacha20.XORKeyStream(polyKey[:], polyKey[:], &counter, &c.key) 68 chacha20.XORKeyStream(out, ciphertext, &counter, &c.key)
|
/dports/www/firefox-esr/firefox-91.8.0/security/nss/automation/saw/ |
H A D | chacha20.saw | 5 import "chacha20.cry" as chacha20; 8 prove_print abc {{ chacha20::allTestsPass }}; 31 llvm_ensure_eq "*output" {{ chacha20::encrypt k ctr n1 plain }};
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libgo/go/golang_org/x/crypto/chacha20poly1305/ |
H A D | chacha20poly1305_generic.go | 23 chacha20.XORKeyStream(polyKey[:], polyKey[:], &counter, &c.key) 27 chacha20.XORKeyStream(out, plaintext, &counter, &c.key) 51 chacha20.XORKeyStream(polyKey[:], polyKey[:], &counter, &c.key) 68 chacha20.XORKeyStream(out, ciphertext, &counter, &c.key)
|
/dports/databases/tile38/tile38-1.12.0/vendor/golang.org/x/crypto/chacha20poly1305/ |
H A D | chacha20poly1305_generic.go | 23 chacha20.XORKeyStream(polyKey[:], polyKey[:], &counter, &c.key) 27 chacha20.XORKeyStream(out, plaintext, &counter, &c.key) 51 chacha20.XORKeyStream(polyKey[:], polyKey[:], &counter, &c.key) 68 chacha20.XORKeyStream(out, ciphertext, &counter, &c.key)
|
/dports/sysutils/aptly/aptly-1.4.0/vendor/golang.org/x/crypto/chacha20poly1305/ |
H A D | chacha20poly1305_generic.go | 23 chacha20.XORKeyStream(polyKey[:], polyKey[:], &counter, &c.key) 27 chacha20.XORKeyStream(out, plaintext, &counter, &c.key) 51 chacha20.XORKeyStream(polyKey[:], polyKey[:], &counter, &c.key) 68 chacha20.XORKeyStream(out, ciphertext, &counter, &c.key)
|
/dports/security/vault/vault-1.8.2/vendor/github.com/joyent/triton-go/vendor/golang.org/x/crypto/chacha20poly1305/ |
H A D | chacha20poly1305_generic.go | 23 chacha20.XORKeyStream(polyKey[:], polyKey[:], &counter, &c.key) 27 chacha20.XORKeyStream(out, plaintext, &counter, &c.key) 51 chacha20.XORKeyStream(polyKey[:], polyKey[:], &counter, &c.key) 68 chacha20.XORKeyStream(out, ciphertext, &counter, &c.key)
|