Home
last modified time | relevance | path

Searched refs:kDigestSize (Results 1 – 25 of 89) sorted by relevance

1234

/dports/archivers/maxcso/maxcso-1.10.0/7zip/CPP/7zip/Crypto/
H A DRar5Aes.cpp143 ctx.SetKey(_hashKey, NSha256::kDigestSize); in Hmac_Convert_Crc32()
147 Byte h[NSha256::kDigestSize]; in Hmac_Convert_Crc32()
150 for (unsigned i = 0; i < NSha256::kDigestSize; i++) in Hmac_Convert_Crc32()
159 ctx.SetKey(_hashKey, NSha256::kDigestSize); in Hmac_Convert_32Bytes()
160 ctx.Update(data, NSha256::kDigestSize); in Hmac_Convert_32Bytes()
200 Byte u[NSha256::kDigestSize]; in CalcKey_and_CheckPassword()
201 Byte key[NSha256::kDigestSize]; in CalcKey_and_CheckPassword()
211 memcpy(key, u, NSha256::kDigestSize); in CalcKey_and_CheckPassword()
222 ctx.Update(u, NSha256::kDigestSize); in CalcKey_and_CheckPassword()
224 for (unsigned s = 0; s < NSha256::kDigestSize; s++) in CalcKey_and_CheckPassword()
[all …]
H A DPbkdf2HmacSha1.cpp25 Byte u[kDigestSize]; in Pbkdf2Hmac()
29 ctx.Final(u, kDigestSize); in Pbkdf2Hmac()
31 const unsigned curSize = (keySize < kDigestSize) ? (unsigned)keySize : kDigestSize; in Pbkdf2Hmac()
39 ctx.Update(u, kDigestSize); in Pbkdf2Hmac()
40 ctx.Final(u, kDigestSize); in Pbkdf2Hmac()
H A DZipStrong.cpp31 for (unsigned i = 0; i < NSha1::kDigestSize; i++) in DeriveKey2()
41 Byte digest[NSha1::kDigestSize]; in DeriveKey()
43 Byte temp[NSha1::kDigestSize * 2]; in DeriveKey()
45 DeriveKey2(digest, 0x5C, temp + NSha1::kDigestSize); in DeriveKey()
H A DHmacSha1.cpp45 Byte digest[kDigestSize]; in Final()
47 _sha2.Update(digest, kDigestSize); in Final()
67 Byte digest[kDigestSize]; in SetKey()
H A DHmacSha256.h12 const unsigned kDigestSize = SHA256_DIGEST_SIZE; variable
/dports/archivers/ppmd-7z/p7zip_9.04/CPP/7zip/Crypto/
H A DPbkdf2HmacSha1.cpp19 Byte u[kDigestSize] = { (Byte)(i >> 24), (Byte)(i >> 16), (Byte)(i >> 8), (Byte)(i) }; in Pbkdf2Hmac()
20 const unsigned int curSize = (keySize < kDigestSize) ? (unsigned int)keySize : kDigestSize; in Pbkdf2Hmac()
22 ctx.Final(u, kDigestSize); in Pbkdf2Hmac()
31 ctx.Update(u, kDigestSize); in Pbkdf2Hmac()
32 ctx.Final(u, kDigestSize); in Pbkdf2Hmac()
H A DRandGen.cpp73 hash.Update(_buff, NCrypto::NSha1::kDigestSize); in Init()
92 hash.Update(_buff, NCrypto::NSha1::kDigestSize); in Generate()
98 hash.Update(_buff, NCrypto::NSha1::kDigestSize); in Generate()
99 Byte buff[NCrypto::NSha1::kDigestSize]; in Generate()
101 for (unsigned int i = 0; i < NCrypto::NSha1::kDigestSize && size > 0; i++, size--) in Generate()
H A DHmacSha1.cpp21 keySize = kDigestSize; in SetKey()
38 Byte digest[kDigestSize]; in Final()
40 _sha2.Update(digest, kDigestSize); in Final()
58 Byte digest[kDigestSize]; in SetKey()
H A DZipStrong.cpp28 for (unsigned i = 0; i < NSha1::kDigestSize; i++) in DeriveKey2()
38 Byte digest[NSha1::kDigestSize]; in DeriveKey()
40 Byte temp[NSha1::kDigestSize * 2]; in DeriveKey()
42 DeriveKey2(digest, 0x5C, temp + NSha1::kDigestSize); in DeriveKey()
H A DSha1.h19 const unsigned kDigestSize = 20; variable
22 const unsigned kDigestSizeInWords = (kDigestSize >> 2);
H A DRandGen.h10 Byte _buff[NCrypto::NSha1::kDigestSize];
/dports/archivers/7-zip/7-zip-21.07/CPP/7zip/Crypto/
H A DRar5Aes.cpp145 ctx.SetKey(_hashKey, NSha256::kDigestSize); in Hmac_Convert_Crc32()
163 ctx.SetKey(_hashKey, NSha256::kDigestSize); in Hmac_Convert_32Bytes()
164 ctx.Update(data, NSha256::kDigestSize); in Hmac_Convert_32Bytes()
206 Byte u[NSha256::kDigestSize]; in CalcKey_and_CheckPassword()
208 Byte key[NSha256::kDigestSize]; in CalcKey_and_CheckPassword()
218 memcpy(key, u, NSha256::kDigestSize); in CalcKey_and_CheckPassword()
229 ctx.Update(u, NSha256::kDigestSize); in CalcKey_and_CheckPassword()
231 for (unsigned s = 0; s < NSha256::kDigestSize; s++) in CalcKey_and_CheckPassword()
236 memcpy((i == 0 ? _key : (i == 1 ? _hashKey : pswCheck)), key, NSha256::kDigestSize); in CalcKey_and_CheckPassword()
H A DZipStrong.cpp32 for (unsigned i = 0; i < NSha1::kDigestSize; i++) in DeriveKey2()
44 Byte digest[NSha1::kDigestSize]; in DeriveKey()
47 Byte temp[NSha1::kDigestSize * 2]; in DeriveKey()
49 DeriveKey2(digest, 0x5C, temp + NSha1::kDigestSize); in DeriveKey()
H A DPbkdf2HmacSha1.cpp39 const unsigned curSize = (keySize < kDigestSize) ? (unsigned)keySize : kDigestSize;; in Pbkdf2Hmac()
H A DHmacSha256.h13 const unsigned kDigestSize = SHA256_DIGEST_SIZE; variable
H A DSha1Cls.h15 const unsigned kDigestSize = SHA1_DIGEST_SIZE; variable
/dports/devel/folly/folly-2021.12.27.00/folly/stats/test/
H A DBufferedStatTest.cpp25 const size_t kDigestSize = 100; variable
39 explicit SimpleDigest(size_t sz) { EXPECT_EQ(kDigestSize, sz); } in SimpleDigest()
81 bufferDuration, bufferSize, kDigestSize); in SetUp()
156 nBuckets, windowDuration, bufferSize, kDigestSize); in SetUp()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/cpp/src/plasma/
H A Dcommon.h82 constexpr int64_t kDigestSize = sizeof(uint64_t); variable
130 unsigned char digest[kDigestSize];
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/plasma/
H A Dcommon.h82 constexpr int64_t kDigestSize = sizeof(uint64_t); variable
130 unsigned char digest[kDigestSize];
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/cpp/src/plasma/
H A Dcommon.h82 constexpr int64_t kDigestSize = sizeof(uint64_t); variable
130 unsigned char digest[kDigestSize];
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/bindings/
H A Dparkable_string.h50 constexpr static size_t kDigestSize = 32; // SHA256. variable
51 using SecureDigest = Vector<uint8_t, kDigestSize>;
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/cpp/src/plasma/lib/java/
H A Dorg_apache_arrow_plasma_PlasmaClientJNI.cc137 unsigned char digest[plasma::kDigestSize]; in Java_org_apache_arrow_plasma_PlasmaClientJNI_hash()
141 jbyteArray ret = env->NewByteArray(plasma::kDigestSize); in Java_org_apache_arrow_plasma_PlasmaClientJNI_hash()
142 env->SetByteArrayRegion(ret, 0, plasma::kDigestSize, in Java_org_apache_arrow_plasma_PlasmaClientJNI_hash()
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/plasma/lib/java/
H A Dorg_apache_arrow_plasma_PlasmaClientJNI.cc137 unsigned char digest[plasma::kDigestSize]; in Java_org_apache_arrow_plasma_PlasmaClientJNI_hash()
141 jbyteArray ret = env->NewByteArray(plasma::kDigestSize); in Java_org_apache_arrow_plasma_PlasmaClientJNI_hash()
142 env->SetByteArrayRegion(ret, 0, plasma::kDigestSize, in Java_org_apache_arrow_plasma_PlasmaClientJNI_hash()
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/cpp/src/plasma/lib/java/
H A Dorg_apache_arrow_plasma_PlasmaClientJNI.cc137 unsigned char digest[plasma::kDigestSize]; in Java_org_apache_arrow_plasma_PlasmaClientJNI_hash()
141 jbyteArray ret = env->NewByteArray(plasma::kDigestSize); in Java_org_apache_arrow_plasma_PlasmaClientJNI_hash()
142 env->SetByteArrayRegion(ret, 0, plasma::kDigestSize, in Java_org_apache_arrow_plasma_PlasmaClientJNI_hash()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/bindings/
H A Dparkable_string.h53 constexpr static size_t kDigestSize = 32; // SHA256. variable
54 using SecureDigest = Vector<uint8_t, kDigestSize>;

1234