Home
last modified time | relevance | path

Searched refs:cshake (Results 1 – 16 of 16) sorted by relevance

/dports/java/bouncycastle15/crypto-169/core/src/test/java/org/bouncycastle/crypto/test/
H A DCSHAKETest.java32 cshake.doOutput(res, 0, res.length); in performTest()
38 cshake.update(Hex.decode( in performTest()
55 cshake.doOutput(res, 0, res.length); in performTest()
65 cshake.doOutput(res, 0, res.length); in performTest()
75 cshake.update(Hex.decode( in performTest()
92 cshake.doOutput(res, 0, res.length); in performTest()
178 cshake.update(hex0123, 0, 4); in longBlockTest()
180 cshake.doFinal(res, 0, 16); in longBlockTest()
185 cshake.update(data, 0, 200); in longBlockTest()
187 cshake.doFinal(res, 0, 32); in longBlockTest()
[all …]
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/crypto/digests/
H A DTupleHash.java20 private final CSHAKEDigest cshake; field in TupleHash
48 this.cshake = new CSHAKEDigest(original.cshake); in TupleHash()
49 this.bitLength = cshake.fixedOutputLength; in TupleHash()
61 return cshake.getByteLength(); in getByteLength()
73 cshake.update(bytes, 0, bytes.length); in update()
80 cshake.update(bytes, 0, bytes.length); in update()
87 cshake.update(encOut, 0, encOut.length); in wrapUp()
100 int rv = cshake.doFinal(out, outOff, getDigestSize()); in doFinal()
114 int rv = cshake.doFinal(out, outOff, outLen); in doFinal()
128 return cshake.doOutput(out, outOff, outLen); in doOutput()
[all …]
H A DParallelHash.java21 private final CSHAKEDigest cshake; field in ParallelHash
47 this.cshake = new CSHAKEDigest(bitLength, N_PARALLEL_HASH, S); in ParallelHash()
60 this.cshake = new CSHAKEDigest(source.cshake); in ParallelHash()
76 return cshake.getByteLength(); in getByteLength()
156 cshake.update(nOut, 0, nOut.length); in wrapUp()
157 cshake.update(encOut, 0, encOut.length); in wrapUp()
170 int rv = cshake.doFinal(out, outOff, getDigestSize()); in doFinal()
184 int rv = cshake.doFinal(out, outOff, outLen); in doFinal()
198 return cshake.doOutput(out, outOff, outLen); in doOutput()
203 cshake.reset(); in reset()
[all …]
/dports/net/krill/krill-0.9.4/cargo-crates/tiny-keccak-2.0.2/tests/
H A Dcshake.rs14 let mut cshake = CShake::v128(name, custom); in test_cshake128_one() localVariable
15 cshake.update(input); in test_cshake128_one()
16 cshake.finalize(&mut output); in test_cshake128_one()
45 let mut cshake = CShake::v128(name, custom); in test_cshake128_two() localVariable
46 cshake.update(input); in test_cshake128_two()
47 cshake.finalize(&mut output); in test_cshake128_two()
64 let mut cshake = CShake::v256(name, custom); in test_cshake256_one() localVariable
65 cshake.update(input); in test_cshake256_one()
66 cshake.finalize(&mut output); in test_cshake256_one()
97 cshake.update(input); in test_cshake256_two()
[all …]
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/crypto/macs/
H A DKMAC.java24 private final CSHAKEDigest cshake; field in KMAC
63 return cshake.getByteLength(); in getByteLength()
84 cshake.update(in); in update()
95 cshake.update(in, inOff, len); in update()
110 cshake.update(encOut, 0, encOut.length); in doFinal()
113 int rv = cshake.doFinal(out, outOff, getMacSize()); in doFinal()
131 cshake.update(encOut, 0, encOut.length); in doFinal()
134 int rv = cshake.doFinal(out, outOff, outLen); in doFinal()
152 cshake.update(encOut, 0, encOut.length); in doOutput()
157 return cshake.doOutput(out, outOff, outLen); in doOutput()
[all …]
/dports/net/krill/krill-0.9.4/cargo-crates/tiny-keccak-2.0.2/
H A DCargo.toml.orig-cargo31 cshake = []
35 kmac = ["cshake"]
36 parallel_hash = ["cshake"]
39 sp800 = ["cshake", "kmac", "tuple_hash"]
40 tuple_hash = ["cshake"]
47 name = "cshake"
48 required-features = ["cshake"]
H A DCargo.toml42 name = "cshake"
43 required-features = ["cshake"]
80 cshake = []
85 kmac = ["cshake"]
86 parallel_hash = ["cshake"]
89 sp800 = ["cshake", "kmac", "tuple_hash"]
90 tuple_hash = ["cshake"]
H A D.travis.yml24 - env: TARGET=x86_64-unknown-linux-gnu FEATURES="--features cshake"
H A DREADME.md21 Available options are: `cshake`, `fips202`, `k12`, `keccak`, `kmac`, `parallel_hash`, `sha3`,
/dports/science/gromacs/gromacs-2021.4/src/gromacs/mdlib/
H A Dshake.h131 void cshake(const int iatom[],
H A Dshake.cpp270 void cshake(const int iatom[], in cshake() function
505 cshake(iatom, ncon, &nit, maxnit, constraint_distance_squared, prime, pbc, rij, in vec_shakef()
/dports/security/s2n/s2n-tls-1.1.2/tests/saw/sike_r1/proof/
H A Dshake.saw1 // cshake.saw Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
/dports/net/krill/krill-0.9.4/cargo-crates/tiny-keccak-2.0.2/src/
H A Dlib.rs177 mod cshake; module
180 pub use cshake::CShake;
/dports/security/s2n/s2n-tls-1.1.2/tests/saw/sike_r1/
H A DREADME.md18 | 4 |CShake | 1|flips202.c | Keccak.cry | cshake.saw
30 …efined in flips202.c, are modeleled in Keccak.cry and verified with proofs defined in cshake.saw.
/dports/science/gromacs/gromacs-2021.4/src/gromacs/mdlib/tests/
H A Dshake.cpp198 cshake(iatom.data(), numConstraints, &numIterations, ShakeTest::maxNumIterations_, in runTest()
/dports/textproc/kibana7/kibana-7.16.2-darwin-x86_64/node_modules/js-sha3/
H A DREADME.md81 // specify cshake output bits, function name and customization when creating