/external/vboot_reference/firmware/lib/cryptolib/ |
D | padding.c | 43 const uint8_t paddingRSA1024_SHA256[RSA1024NUMBYTES - SHA256_DIGEST_SIZE] = { 58 const uint8_t paddingRSA2048_SHA256[RSA2048NUMBYTES - SHA256_DIGEST_SIZE] = { 73 const uint8_t paddingRSA4096_SHA256[RSA4096NUMBYTES - SHA256_DIGEST_SIZE] = { 88 const uint8_t paddingRSA8192_SHA256[RSA8192NUMBYTES - SHA256_DIGEST_SIZE] = { 168 RSA1024NUMBYTES - SHA256_DIGEST_SIZE, 171 RSA2048NUMBYTES - SHA256_DIGEST_SIZE, 174 RSA4096NUMBYTES - SHA256_DIGEST_SIZE, 177 RSA8192NUMBYTES - SHA256_DIGEST_SIZE, 198 SHA256_DIGEST_SIZE, 201 SHA256_DIGEST_SIZE, [all …]
|
D | sha_utility.c | 65 digest = (uint8_t*) VbExMalloc(SHA256_DIGEST_SIZE); in DigestFinal() 66 Memcpy(digest, SHA256_final(ctx->sha256_ctx), SHA256_DIGEST_SIZE); in DigestFinal()
|
D | sha256.c | 338 for (i = 0; i < SHA256_DIGEST_SIZE; ++i) { in internal_SHA256()
|
/external/lzma/CPP/7zip/Crypto/ |
D | RandGen.cpp | 85 Sha256_Update(&hash, _buff, SHA256_DIGEST_SIZE); in Init() 110 Sha256_Update(&hash, _buff, SHA256_DIGEST_SIZE); in Generate() 116 Sha256_Update(&hash, _buff, SHA256_DIGEST_SIZE); in Generate() 117 Byte buff[SHA256_DIGEST_SIZE]; in Generate() 119 for (unsigned i = 0; i < SHA256_DIGEST_SIZE && size != 0; i++, size--) in Generate()
|
D | RandGen.h | 10 Byte _buff[SHA256_DIGEST_SIZE];
|
/external/vboot_reference/firmware/lib/ |
D | vboot_api_kernel.c | 645 uint8_t expected_hash[SHA256_DIGEST_SIZE]; in VbEcSoftwareSync() 722 if (ec_hash_size != SHA256_DIGEST_SIZE) { in VbEcSoftwareSync() 725 ec_hash_size, SHA256_DIGEST_SIZE)); in VbEcSoftwareSync() 731 for (i = 0; i < SHA256_DIGEST_SIZE; i++) in VbEcSoftwareSync() 755 } else if (rw_hash_size != SHA256_DIGEST_SIZE) { in VbEcSoftwareSync() 758 rw_hash_size, SHA256_DIGEST_SIZE)); in VbEcSoftwareSync() 763 for (i = 0; i < SHA256_DIGEST_SIZE; i++) in VbEcSoftwareSync() 767 need_update = SafeMemcmp(ec_hash, rw_hash, SHA256_DIGEST_SIZE); in VbEcSoftwareSync() 794 for (i = 0; i < SHA256_DIGEST_SIZE; i++) in VbEcSoftwareSync() 805 SHA256_DIGEST_SIZE); in VbEcSoftwareSync() [all …]
|
/external/fio/crc/ |
D | sha256.h | 4 #define SHA256_DIGEST_SIZE 32 macro 9 uint32_t state[SHA256_DIGEST_SIZE / 4];
|
/external/vboot_reference/futility/ |
D | cmd_pcr.c | 102 uint8_t accum[SHA256_DIGEST_SIZE * 2]; in do_pcr() 103 uint8_t pcr[SHA256_DIGEST_SIZE]; in do_pcr() 119 digest_size = SHA256_DIGEST_SIZE; in do_pcr()
|
D | misc.c | 149 for (i = 0; i < SHA256_DIGEST_SIZE; i++) { in print_hwid_digest() 174 memcpy(gbb->hwid_digest, digest, SHA256_DIGEST_SIZE); in update_hwid_digest()
|
/external/mmc-utils/3rdparty/hmac_sha/ |
D | hmac_sha2.c | 137 unsigned char key_temp[SHA256_DIGEST_SIZE]; in hmac_sha256_init() 145 num = SHA256_DIGEST_SIZE; in hmac_sha256_init() 194 unsigned char digest_inside[SHA256_DIGEST_SIZE]; in hmac_sha256_final() 195 unsigned char mac_temp[SHA256_DIGEST_SIZE]; in hmac_sha256_final() 198 sha256_update(&ctx->ctx_outside, digest_inside, SHA256_DIGEST_SIZE); in hmac_sha256_final() 518 mac_256_size = SHA256_DIGEST_SIZE; in main()
|
D | sha2.h | 42 #define SHA256_DIGEST_SIZE ( 256 / 8) macro
|
D | sha2.c | 920 test(vectors[1][0], digest, SHA256_DIGEST_SIZE); in main() 922 test(vectors[1][1], digest, SHA256_DIGEST_SIZE); in main() 924 test(vectors[1][2], digest, SHA256_DIGEST_SIZE); in main()
|
/external/libconstrainedcrypto/ |
D | rsa.c | 235 static const uint8_t kExpectedPadSha256Rsa2048[SHA256_DIGEST_SIZE] = { 267 hash_len != SHA256_DIGEST_SIZE) { in RSA_verify() 292 case SHA256_DIGEST_SIZE: in RSA_verify()
|
D | sha256.c | 119 SHA256_DIGEST_SIZE 182 memcpy(digest, SHA256_final(&ctx), SHA256_DIGEST_SIZE); in SHA256_hash()
|
/external/vboot_reference/tests/ |
D | sha_tests.c | 40 uint8_t sha256_digest[SHA256_DIGEST_SIZE]; in SHA256_tests() 49 if (!memcmp(sha256_digest, sha256_results[i], SHA256_DIGEST_SIZE)) { in SHA256_tests()
|
D | sha_test_vectors.h | 39 uint8_t sha256_results[][SHA256_DIGEST_SIZE] = {
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
D | sha.h | 20 #define SHA256_DIGEST_SIZE 32 macro 44 uint8_t buf[SHA256_DIGEST_SIZE]; /* Used for storing the final digest. */
|
/external/libconstrainedcrypto/include/constrainedcrypto/ |
D | sha256.h | 46 #define SHA256_DIGEST_SIZE 32 macro
|
/external/lzma/C/ |
D | Sha256.h | 11 #define SHA256_DIGEST_SIZE 32 macro
|
D | Xz.h | 221 Byte shaDigest[SHA256_DIGEST_SIZE];
|
/external/tpm2/ |
D | CpriHashData.c | 16 {TPM_ALG_SHA256, SHA256_DIGEST_SIZE, SHA256_BLOCK_SIZE,
|
D | Global.h | 376 BYTE sha256[NUM_STATIC_PCR][SHA256_DIGEST_SIZE]; 1109 BYTE sha256Pcr[SHA256_DIGEST_SIZE];
|
D | Implementation.h | 283 #define CONTEXT_INTEGRITY_HASH_SIZE SHA256_DIGEST_SIZE 485 #define SHA256_DIGEST_SIZE 32 macro 881 MAX(ALG_SHA256 * SHA256_DIGEST_SIZE, \
|
/external/lzma/CPP/Common/ |
D | Sha256Reg.cpp | 40 REGISTER_HASHER(CSha256Hasher, 0xA, "SHA256", SHA256_DIGEST_SIZE)
|
/external/libconstrainedcrypto/test/ |
D | ecdsa_test.c | 220 unsigned char hash_buf[SHA256_DIGEST_SIZE]; in main()
|