Home
last modified time | relevance | path

Searched refs:SHA256_DIGEST_SIZE (Results 1 – 25 of 30) sorted by relevance

12

/external/vboot_reference/firmware/lib/cryptolib/
Dpadding.c43 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 …]
Dsha_utility.c65 digest = (uint8_t*) VbExMalloc(SHA256_DIGEST_SIZE); in DigestFinal()
66 Memcpy(digest, SHA256_final(ctx->sha256_ctx), SHA256_DIGEST_SIZE); in DigestFinal()
Dsha256.c338 for (i = 0; i < SHA256_DIGEST_SIZE; ++i) { in internal_SHA256()
/external/lzma/CPP/7zip/Crypto/
DRandGen.cpp85 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()
DRandGen.h10 Byte _buff[SHA256_DIGEST_SIZE];
/external/fsverity-utils/programs/
Dtest_sign_digest.c16 #define SHA256_DIGEST_SIZE 32 macro
20 struct libfsverity_digest *d = xzalloc(sizeof(*d) + SHA256_DIGEST_SIZE); in main()
35 d->digest_size = SHA256_DIGEST_SIZE; in main()
39 "\x86\x52", SHA256_DIGEST_SIZE); in main()
Dtest_hash_algs.c14 #define SHA256_DIGEST_SIZE 32 macro
30 SHA256_DIGEST_SIZE); in main()
/external/kernel-headers/original/uapi/linux/nfsd/
Dcld.h34 #ifndef SHA256_DIGEST_SIZE
35 #define SHA256_DIGEST_SIZE 32 macro
56 unsigned char cp_data[SHA256_DIGEST_SIZE]; /* hash of principal */
/external/vboot_reference/firmware/lib/
Dvboot_api_kernel.c645 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/vboot_reference/futility/
Dcmd_pcr.c102 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()
Dmisc.c149 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/vboot_reference/tests/
Dsha_tests.c40 uint8_t sha256_digest[SHA256_DIGEST_SIZE]; in SHA256_tests()
49 if (!memcmp(sha256_digest, sha256_results[i], SHA256_DIGEST_SIZE)) { in SHA256_tests()
Dsha_test_vectors.h39 uint8_t sha256_results[][SHA256_DIGEST_SIZE] = {
/external/vboot_reference/firmware/lib/cryptolib/include/
Dsha.h20 #define SHA256_DIGEST_SIZE 32 macro
44 uint8_t buf[SHA256_DIGEST_SIZE]; /* Used for storing the final digest. */
/external/lzma/C/
DSha256.h11 #define SHA256_DIGEST_SIZE 32 macro
DXz.h253 Byte shaDigest[SHA256_DIGEST_SIZE];
/external/lzma/CPP/Common/
DSha256Reg.cpp40 REGISTER_HASHER(CSha256Hasher, 0xA, "SHA256", SHA256_DIGEST_SIZE)
/external/arm-trusted-firmware/drivers/st/crypto/
Dstm32_hash.c52 #define SHA256_DIGEST_SIZE 32U macro
149 stm32_hash.digest_size = SHA256_DIGEST_SIZE; in hash_hw_init()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DSelfTest.h96 # define DEFAULT_TEST_DIGEST_SIZE SHA256_DIGEST_SIZE
DTpmAlgorithmDefines.h93 #define SHA256_DIGEST_SIZE 32 macro
376 MAX(ALG_SHA256 * SHA256_DIGEST_SIZE, \
/external/arm-trusted-firmware/include/drivers/measured_boot/
Dtcg.h71 #define SHA256_DIGEST_SIZE 32 macro
/external/arm-trusted-firmware/drivers/measured_boot/
Devent_print.c183 sha_size = SHA256_DIGEST_SIZE; in event2_print()
/external/linux-kselftest/tools/testing/selftests/tpm2/
Dtpm2.py69 SHA256_DIGEST_SIZE = 32 variable
188 TPM2_ALG_SHA256: SHA256_DIGEST_SIZE,
/external/curl/lib/
Dsha256.c92 sha256_digest(ctx, SHA256_DIGEST_SIZE, digest); in SHA256_Final()
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/reference/include/
DImplementation.h420 #define SHA256_DIGEST_SIZE 32 macro
1113 MAX(ALG_SHA256 * SHA256_DIGEST_SIZE, \

12