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

  /external/chromium_org/crypto/
hmac.cc 47 size_t digest_length = DigestLength();
49 new unsigned char[digest_length]);
50 if (!Sign(data, computed_digest.get(), digest_length))
54 std::min(digest.size(), digest_length));
hmac_openssl.cc 45 size_t digest_length) const {
48 ScopedOpenSSLSafeSizeBuffer<EVP_MAX_MD_SIZE> result(digest, digest_length);
hmac_nss.cc 78 size_t digest_length) const {
109 digest, &len, digest_length) != SECSuccess) {
hmac.h 64 // returned in |digest|, which has |digest_length| bytes of storage available.
66 size_t digest_length) const WARN_UNUSED_RESULT;
hmac_win.cc 171 size_t digest_length) const {
177 data.size(), digest, digest_length);
205 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;
46 return DIGEST_LENGTH;
64 return DIGEST_LENGTH;
SHA512Digest.java 21 private static final int DIGEST_LENGTH = 64;
46 return DIGEST_LENGTH;
66 return DIGEST_LENGTH;
SHA1Digest.java 15 private static final int DIGEST_LENGTH = 20;
60 return DIGEST_LENGTH;
107 return DIGEST_LENGTH;
SHA256Digest.java 22 private static final int DIGEST_LENGTH = 32;
72 return DIGEST_LENGTH;
122 return DIGEST_LENGTH;
MD5Digest.java 12 private static final int DIGEST_LENGTH = 16;
58 return DIGEST_LENGTH;
110 return DIGEST_LENGTH;
  /external/chromium/crypto/
hmac_openssl.cc 45 int digest_length) {
46 DCHECK_GE(digest_length, 0);
49 ScopedOpenSSLSafeSizeBuffer<EVP_MAX_MD_SIZE> result(digest, digest_length);
hmac_mac.cc 44 int digest_length) {
61 if (digest_length < algorithm_digest_length) {
hmac.h 46 // returned in |digest|, which has |digest_length| bytes of storage available.
47 bool Sign(const std::string& data, unsigned char* digest, int digest_length);
hmac_nss.cc 78 int digest_length) {
109 digest, &len, digest_length) != SECSuccess) {
hmac_win.cc 159 int digest_length) {
165 data.size(), digest, digest_length);
193 DWORD sha1_size = digest_length;
  /external/chromium_org/content/public/browser/
media_device_id.cc 19 const size_t digest_length = hmac.DigestLength(); local
20 std::vector<uint8> digest(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/
SHA1_MessageDigestImpl.java 161 byte[] hash = new byte[DIGEST_LENGTH];
205 if (len < DIGEST_LENGTH) {
206 throw new DigestException("len < DIGEST_LENGTH");
214 return DIGEST_LENGTH;
227 return DIGEST_LENGTH;
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];
  /external/chromium_org/chrome/browser/extensions/api/music_manager_private/
device_id.cc 22 const size_t digest_length = hmac.DigestLength(); local
23 std::vector<uint8> digest(digest_length);
  /external/chromium_org/third_party/libjingle/source/talk/base/
nssstreamadapter.cc 803 std::size_t digest_length; local
807 digest, sizeof(digest), &digest_length)) {
810 Buffer computed_digest(digest, digest_length);
opensslstreamadapter.cc 856 std::size_t digest_length; local
862 &digest_length)) {
863 Buffer computed_digest(digest, digest_length);
  /dalvik/hit/samples/
android.hprof     [all...]

Completed in 220 milliseconds