HomeSort by relevance Sort by last modified time
    Searched full:digest_length (Results 1 - 21 of 21) sorted by null

  /external/libchrome/crypto/
hmac.cc 49 size_t digest_length = DigestLength();
51 new unsigned char[digest_length]);
52 if (!Sign(data, computed_digest.get(), digest_length))
56 std::min(digest.size(), digest_length));
hmac_openssl.cc 47 size_t digest_length) const {
50 ScopedOpenSSLSafeSizeBuffer<EVP_MAX_MD_SIZE> result(digest, digest_length);
hmac_nss.cc 79 size_t digest_length) const {
110 digest, &len, digest_length) != SECSuccess) {
hmac.h 66 // returned in |digest|, which has |digest_length| bytes of storage available.
68 size_t digest_length) const WARN_UNUSED_RESULT;
hmac_win.cc 172 size_t digest_length) const {
178 data.size(), digest, digest_length);
206 DWORD sha1_size = static_cast<DWORD>(digest_length);
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
MessageDigestSpiTest.java 40 final int DIGEST_LENGTH = 2;
45 return DIGEST_LENGTH;
49 return new byte[DIGEST_LENGTH]; // return non-null value
56 md.engineDigest(null, 1, DIGEST_LENGTH);
62 md.engineDigest(b, 1, DIGEST_LENGTH - 1);
67 assertEquals("incorrect result", DIGEST_LENGTH, md
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
SHA384Digest.java 21 private static final int DIGEST_LENGTH = 48;
51 return DIGEST_LENGTH;
69 return DIGEST_LENGTH;
SHA512Digest.java 21 private static final int DIGEST_LENGTH = 64;
51 return DIGEST_LENGTH;
71 return DIGEST_LENGTH;
SHA1Digest.java 16 private static final int DIGEST_LENGTH = 20;
78 return DIGEST_LENGTH;
125 return DIGEST_LENGTH;
SHA224Digest.java 23 private static final int DIGEST_LENGTH = 28;
93 return DIGEST_LENGTH;
142 return DIGEST_LENGTH;
SHA256Digest.java 23 private static final int DIGEST_LENGTH = 32;
94 return DIGEST_LENGTH;
144 return DIGEST_LENGTH;
MD5Digest.java 12 private static final int DIGEST_LENGTH = 16;
58 return DIGEST_LENGTH;
110 return DIGEST_LENGTH;
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
MessageDigestSpiTest.java 69 final int DIGEST_LENGTH = 2;
74 return DIGEST_LENGTH;
78 return new byte[DIGEST_LENGTH]; // return non-null value
85 md.engineDigest(null, 1, DIGEST_LENGTH);
91 md.engineDigest(b, 1, DIGEST_LENGTH - 1);
113 assertEquals("incorrect result", DIGEST_LENGTH, md
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
SHA1Constants.java 81 public static final int DIGEST_LENGTH = 20;
SHA1PRNG_SecureRandomImpl.java 179 nextBytes = new byte[DIGEST_LENGTH];
256 myRandom.engineSetSeed(getRandomBytes(DIGEST_LENGTH));
300 updateSeed(getRandomBytes(DIGEST_LENGTH));
499 nextBytes = new byte[DIGEST_LENGTH];
  /system/tpm/trunks/
hmac_authorization_delegate.cc 277 unsigned int digest_length; local
284 &digest_length); local
285 CHECK_EQ(digest_length, kHashDigestSize);
286 return std::string(reinterpret_cast<char*>(digest), digest_length);
  /system/update_engine/
certificate_checker.cc 147 unsigned int digest_length; local
152 &digest_length,
162 string digest_string = base::HexEncode(digest, digest_length);
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/
MSOutlookKeyIdCalculator.java 167 private static final int DIGEST_LENGTH = 20;
189 return DIGEST_LENGTH;
236 return DIGEST_LENGTH;
  /external/webrtc/webrtc/base/
opensslstreamadapter.cc 1052 size_t digest_length; local
1057 &digest_length)) {
1062 Buffer computed_digest(digest, digest_length);
    [all...]
  /development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
InsecureSHA1PRNGKeyDerivator.java 181 private static final int DIGEST_LENGTH = 20;
211 nextBytes = new byte[DIGEST_LENGTH];
  /external/boringssl/src/ssl/
s3_srvr.c 1740 size_t digest_length; local
    [all...]

Completed in 1471 milliseconds