Home
last modified time | relevance | path

Searched refs:sha512 (Results 1 – 25 of 81) sorted by relevance

1234

/external/e2fsprogs/lib/ext2fs/
Dsha512.c112 struct sha512_state sha512; member
122 S[i] = md->sha512.state[i]; in sha512_compress()
149 md->sha512.state[i] = md->sha512.state[i] + S[i]; in sha512_compress()
155 md->sha512.curlen = 0; in sha512_init()
156 md->sha512.length = 0; in sha512_init()
157 md->sha512.state[0] = CONST64(0x6a09e667f3bcc908); in sha512_init()
158 md->sha512.state[1] = CONST64(0xbb67ae8584caa73b); in sha512_init()
159 md->sha512.state[2] = CONST64(0x3c6ef372fe94f82b); in sha512_init()
160 md->sha512.state[3] = CONST64(0xa54ff53a5f1d36f1); in sha512_init()
161 md->sha512.state[4] = CONST64(0x510e527fade682d1); in sha512_init()
[all …]
/external/f2fs-tools/tools/
Dsha512.c132 struct sha512_state sha512; member
142 S[i] = md->sha512.state[i]; in sha512_compress()
169 md->sha512.state[i] = md->sha512.state[i] + S[i]; in sha512_compress()
175 md->sha512.curlen = 0; in sha512_init()
176 md->sha512.length = 0; in sha512_init()
177 md->sha512.state[0] = CONST64(0x6a09e667f3bcc908); in sha512_init()
178 md->sha512.state[1] = CONST64(0xbb67ae8584caa73b); in sha512_init()
179 md->sha512.state[2] = CONST64(0x3c6ef372fe94f82b); in sha512_init()
180 md->sha512.state[3] = CONST64(0xa54ff53a5f1d36f1); in sha512_init()
181 md->sha512.state[4] = CONST64(0x510e527fade682d1); in sha512_init()
[all …]
/external/boringssl/src/crypto/fipsmodule/
DCMakeLists.txt19 sha512-x86_64.${ASM_EXT}
39 sha512-586.${ASM_EXT}
57 sha512-armv4.${ASM_EXT}
71 sha512-armv8.${ASM_EXT}
118 perlasm(sha256-armv8.${ASM_EXT} sha/asm/sha512-armv8.pl)
119 perlasm(sha256-x86_64.${ASM_EXT} sha/asm/sha512-x86_64.pl)
120 perlasm(sha512-586.${ASM_EXT} sha/asm/sha512-586.pl)
121 perlasm(sha512-armv4.${ASM_EXT} sha/asm/sha512-armv4.pl)
122 perlasm(sha512-armv8.${ASM_EXT} sha/asm/sha512-armv8.pl)
123 perlasm(sha512-x86_64.${ASM_EXT} sha/asm/sha512-x86_64.pl)
/external/vboot_reference/tests/
Dgen_fuzz_test_cases.sh31 --datapubkey ${TESTKEY_DIR}/key_rsa4096.sha512.vbpubk \
38 --datapubkey ${TESTKEY_DIR}/key_rsa4096.sha512.vbpubk \
49 --kernelkey ${TESTKEY_DIR}/key_rsa4096.sha512.vbpubk
51 cp ${TESTKEY_DIR}/key_rsa8192.sha512.vbpubk ${TESTCASE_DIR}/root_key.vbpubk
63 cp ${TESTKEY_DIR}/key_rsa4096.sha512.vbpubk \
Drun_vbutil_tests.sh56 test_vbutil_key_single 11 8192 sha512
202 test_vbutil_keyblock_single 11 8192 sha512 4 2048 sha256
203 test_vbutil_keyblock_single 11 8192 sha512 7 4096 sha256
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DDigestFactory.java25 private static Set sha512 = new HashSet(); field in DigestFactory
60 sha512.add("SHA512");
61 sha512.add("SHA-512");
62 sha512.add(NISTObjectIdentifiers.id_sha512.getId()); in NISTObjectIdentifiers.id_sha512.getId()
168 if (sha512.contains(digestName)) in getDigest()
215 || (sha512.contains(digest1) && sha512.contains(digest2)) in isSameDigest()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/util/
DDigestFactory.java29 private static Set sha512 = new HashSet(); field in DigestFactory
64 sha512.add("SHA512");
65 sha512.add("SHA-512");
66 sha512.add(NISTObjectIdentifiers.id_sha512.getId()); in NISTObjectIdentifiers.id_sha512.getId()
172 if (sha512.contains(digestName)) in getDigest()
219 || (sha512.contains(digest1) && sha512.contains(digest2)) in isSameDigest()
/external/python/cpython2/Lib/test/
Dtest_hmac.py97 hashlib.sha512: '87aa7cdea5ef619d4ff0b4241a1d6cb0'
114 hashlib.sha512: '164b7a7bfcf819e2e395fbe73b56e0a3'
131 hashlib.sha512: 'fa73b0089d56a284efb0f0756c890be9'
148 hashlib.sha512: 'b0ba465637458c6990e5a8c5f61d4af7'
166 hashlib.sha512: '80b24263c7c1a3ebb71493c1dd7be8b4'
187 hashlib.sha512: 'e37b6a775dc87dbaa4dfa9f96e5e3ffd'
203 self._rfc4231_test_cases(hashlib.sha512)
/external/vboot_reference/firmware/2lib/
D2sha_utility.c102 vb2_sha512_init(&dc->sha512); in vb2_digest_init()
127 vb2_sha512_update(&dc->sha512, buf, size); in vb2_digest_extend()
155 vb2_sha512_finalize(&dc->sha512, digest); in vb2_digest_finalize()
/external/boringssl/src/crypto/cipher_extra/
Dtls_cbc.c212 SHA512_CTX sha512; member
224 SHA512_Transform(&ctx->sha512, block); in tls1_sha512_transform()
247 SHA512_CTX *sha512 = &ctx->sha512; in tls1_sha512_final_raw() local
249 u64toBE(sha512->h[i], md_out); in tls1_sha512_final_raw()
303 SHA384_Init(&md_state.sha512); in EVP_tls_cbc_digest_record()
/external/syzkaller/pkg/email/
Dpatch_test.go192 text: `crypto/sha512-mb: Correct initialization value for lane lens
193 diff --git a/arch/x86/crypto/sha512-mb/sha512_mb_mgr_init_avx2.c b/arch/x86/crypto/sha512-mb/sha512…
195 --- a/arch/x86/crypto/sha512-mb/sha512_mb_mgr_init_avx2.c
196 +++ b/arch/x86/crypto/sha512-mb/sha512_mb_mgr_init_avx2.c
215 diff: `--- a/arch/x86/crypto/sha512-mb/sha512_mb_mgr_init_avx2.c
216 +++ b/arch/x86/crypto/sha512-mb/sha512_mb_mgr_init_avx2.c
/external/vboot_reference/tests/futility/
Dtest_create.sh17 for hash in sha1 sha256 sha512; do
31 for hash in sha1 sha256 sha512; do
Dtest_sign_keyblocks.sh70 --signpubkey ${TESTKEYS}/key_rsa4096.sha512.vbpubk
94 --signpubkey ${TESTKEYS}/key_rsa4096.sha512.vbpubk
/external/guava/guava-tests/test/com/google/common/hash/
DHashingTest.java73 HashTestUtils.checkAvalanche(Hashing.sha512(), 100, 0.4); in testSha512()
74 HashTestUtils.checkNo2BitCharacteristics(Hashing.sha512()); in testSha512()
75 HashTestUtils.checkNoFunnels(Hashing.sha512()); in testSha512()
76 HashTestUtils.assertInvariants(Hashing.sha512()); in testSha512()
77 assertEquals("Hashing.sha512()", Hashing.sha512().toString()); in testSha512()
402 .put(Hashing.sha512(), EMPTY_STRING,
405 .put(Hashing.sha512(), TQBFJOTLD,
408 .put(Hashing.sha512(), TQBFJOTLDP,
DMessageDigestHashFunctionTest.java50 .put("SHA-512", Hashing.sha512())
93 assertEquals("Hashing.sha512()", Hashing.sha512().toString()); in testToString()
/external/scapy/scapy/layers/tls/crypto/
Dhash.py11 from hashlib import md5, sha1, sha224, sha256, sha384, sha512
64 hash_cls = sha512
/external/boringssl/src/ssl/test/runner/ed25519/
Ded25519.go104 digest := sha512.Sum512(seed)
130 h := sha512.New()
192 h := sha512.New()
/external/python/cpython3/Lib/test/
Dtest_hmac.py175 hashlib.sha512: '87aa7cdea5ef619d4ff0b4241a1d6cb0'
192 hashlib.sha512: '164b7a7bfcf819e2e395fbe73b56e0a3'
209 hashlib.sha512: 'fa73b0089d56a284efb0f0756c890be9'
226 hashlib.sha512: 'b0ba465637458c6990e5a8c5f61d4af7'
244 hashlib.sha512: '80b24263c7c1a3ebb71493c1dd7be8b4'
265 hashlib.sha512: 'e37b6a775dc87dbaa4dfa9f96e5e3ffd'
281 self._rfc4231_test_cases(hashlib.sha512, 'sha512', 64, 128)
/external/wpa_supplicant_8/src/crypto/
Dcrypto_internal.c31 struct sha512_state sha512; member
72 sha512_init(&ctx->u.sha512); in crypto_hash_init()
170 sha512_process(&ctx->u.sha512, data, len); in crypto_hash_update()
241 sha512_done(&ctx->u.sha512, mac); in crypto_hash_finish()
/external/ltp/runtest/
Dnet_stress.ipsec_tcp32 tcp4_ipsec32 tcp_ipsec.sh -p esp -a sha512 -e camellia -m transport -s 100:1000:65535
33 tcp4_ipsec33 tcp_ipsec.sh -p esp -a sha512 -e camellia -m tunnel -s 100:1000:65535
69 tcp6_ipsec32 tcp_ipsec.sh -6 -p esp -a sha512 -e camellia -m transport -s 100:1000:65535
70 tcp6_ipsec33 tcp_ipsec.sh -6 -p esp -a sha512 -e camellia -m tunnel -s 100:1000:65535
90 tcp4_ipsec_vti16 tcp_ipsec_vti.sh -p esp -a sha512 -e camellia -m tunnel -s 100:1000:65535
108 tcp6_ipsec_vti16 tcp_ipsec_vti.sh -6 -p esp -a sha512 -e camellia -m tunnel -s 100:1000:65535
Dnet_stress.ipsec_dccp32 dccp4_ipsec32 dccp_ipsec.sh -p esp -a sha512 -e camellia -m transport -s 100:500:1000
33 dccp4_ipsec33 dccp_ipsec.sh -p esp -a sha512 -e camellia -m tunnel -s 100:500:1000
69 dccp6_ipsec32 dccp_ipsec.sh -6 -p esp -a sha512 -e camellia -m transport -s 100:500:1000
70 dccp6_ipsec33 dccp_ipsec.sh -6 -p esp -a sha512 -e camellia -m tunnel -s 100:500:1000
90 dccp4_ipsec_vti16 dccp_ipsec_vti.sh -p esp -a sha512 -e camellia -m tunnel -s 100:500:1000
108 dccp6_ipsec_vti16 dccp_ipsec_vti.sh -6 -p esp -a sha512 -e camellia -m tunnel -s 100:500:1000
Dnet_stress.ipsec_udp32 udp4_ipsec32 udp_ipsec.sh -p esp -a sha512 -e camellia -m transport -s 100:1000:65446
33 udp4_ipsec33 udp_ipsec.sh -p esp -a sha512 -e camellia -m tunnel -s 100:1000:65426
69 udp6_ipsec32 udp_ipsec.sh -6 -p esp -a sha512 -e camellia -m transport -s 100:1000:65462
70 udp6_ipsec33 udp_ipsec.sh -6 -p esp -a sha512 -e camellia -m tunnel -s 100:1000:65527
90 udp4_ipsec_vti16 udp_ipsec_vti.sh -p esp -a sha512 -e camellia -m tunnel -s 100:1000:65426
108 udp6_ipsec_vti16 udp_ipsec_vti.sh -6 -p esp -a sha512 -e camellia -m tunnel -s 100:1000:65527
Dnet_stress.ipsec_sctp32 sctp4_ipsec32 sctp_ipsec.sh -p esp -a sha512 -e camellia -m transport -s 100:1000:65535
33 sctp4_ipsec33 sctp_ipsec.sh -p esp -a sha512 -e camellia -m tunnel -s 100:1000:65535
69 sctp6_ipsec32 sctp_ipsec.sh -6 -p esp -a sha512 -e camellia -m transport -s 100:1000:65535
70 sctp6_ipsec33 sctp_ipsec.sh -6 -p esp -a sha512 -e camellia -m tunnel -s 100:1000:65535
90 sctp4_ipsec_vti16 sctp_ipsec_vti.sh -p esp -a sha512 -e camellia -m tunnel -s 100:1000:65535
108 sctp6_ipsec_vti16 sctp_ipsec_vti.sh -6 -p esp -a sha512 -e camellia -m tunnel -s 100:1000:65535
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DUkey2Handshake.java837 actualClientFinishHash = sha512(handshakeMessage); in verifyCommitment()
901 ByteString.copyFrom(sha512(rawMessage3Map.get(HandshakeCipher.P256_SHA512)))); in generateP256SHA512Commitment()
998 private byte[] sha512(byte[] input) throws HandshakeException { in sha512() method in Ukey2Handshake
999 MessageDigest sha512; in sha512() local
1001 sha512 = MessageDigest.getInstance("SHA-512"); in sha512()
1002 return sha512.digest(input); in sha512()
/external/boringssl/src/crypto/digest_extra/
Ddigest_test.cc55 static const MD sha512 = { "SHA512", &EVP_sha512, &SHA512 }; variable
133 { sha512, "abc", 1,
136 { sha512,

1234