Home
last modified time | relevance | path

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

1234

/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 …]
DMakefile.am12 f2fscrypt_SOURCES = f2fscrypt.c sha512.c
/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/boringssl/src/crypto/fipsmodule/
DCMakeLists.txt18 sha512-x86_64.${ASM_EXT}
37 sha512-586.${ASM_EXT}
55 sha512-armv4.${ASM_EXT}
68 sha512-armv8.${ASM_EXT}
111 perlasm(sha256-armv8.${ASM_EXT} sha/asm/sha512-armv8.pl)
112 perlasm(sha256-x86_64.${ASM_EXT} sha/asm/sha512-x86_64.pl)
113 perlasm(sha512-586.${ASM_EXT} sha/asm/sha512-586.pl)
114 perlasm(sha512-armv4.${ASM_EXT} sha/asm/sha512-armv4.pl)
115 perlasm(sha512-armv8.${ASM_EXT} sha/asm/sha512-armv8.pl)
116 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/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/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/python/cpython3/Lib/test/
Dtest_hmac.py137 hashlib.sha512: '87aa7cdea5ef619d4ff0b4241a1d6cb0'
154 hashlib.sha512: '164b7a7bfcf819e2e395fbe73b56e0a3'
171 hashlib.sha512: 'fa73b0089d56a284efb0f0756c890be9'
188 hashlib.sha512: 'b0ba465637458c6990e5a8c5f61d4af7'
206 hashlib.sha512: '80b24263c7c1a3ebb71493c1dd7be8b4'
227 hashlib.sha512: 'e37b6a775dc87dbaa4dfa9f96e5e3ffd'
243 self._rfc4231_test_cases(hashlib.sha512, 'sha512', 64, 128)
/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/boringssl/src/ssl/test/runner/ed25519/
Ded25519.go86 digest := sha512.Sum512(seed)
115 h := sha512.New()
177 h := sha512.New()
/external/scapy/scapy/layers/tls/crypto/
Dhash.py11 from hashlib import md5, sha1, sha224, sha256, sha384, sha512
64 hash_cls = sha512
/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/boringssl/src/crypto/digest_extra/
Ddigest_test.cc54 static const MD sha512 = { "SHA512", &EVP_sha512, &SHA512 }; variable
132 { sha512, "abc", 1,
135 { sha512,
/external/ltp/runtest/
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_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_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"
Dnet_stress.ipsec_icmp85 icmp4-uni-vti02 icmp-uni-vti.sh -p esp -a sha512 -e des -m tunnel -S fffffffe -k 2 -s "10 100 1000 …
88 icmp4-uni-vti05 icmp-uni-vti.sh -p esp -a sha512 -e twofish -m tunnel -S fffffffe -k 0x7fffffff -s …
90 icmp4-uni-vti07 icmp-uni-vti.sh -p esp -a sha512 -e serpent -m tunnel -S fffffffe -k 0xffff -s "10 …
104 icmp6-uni-vti03 icmp-uni-vti.sh -6 -p esp -a sha512 -e cast5 -m tunnel -S fffffffe -k 1 -s "10 100 …
107 icmp6-uni-vti06 icmp-uni-vti.sh -6 -p esp -a sha512 -e camellia -m tunnel -S fffffffe -k 0x7fffffff…
/external/avb/libavb_atx/
Davb_atx_validate.c44 static void sha512(const uint8_t* data, in sha512() function
90 sha512((const uint8_t*)&certificate->signed_data, in verify_certificate()

1234