/external/chromium_org/third_party/skia/bench/ |
ChecksumBench.cpp | 66 SkMD5::Digest digest; local 67 md5.finish(digest); 74 SkSHA1::Digest digest; local 75 sha1.finish(digest);
|
/external/chromium_org/third_party/smhasher/src/ |
sha1.h | 19 void SHA1_Final(SHA1_CTX* context, uint8_t digest[SHA1_DIGEST_SIZE]);
|
/external/chromium_org/third_party/webrtc/base/ |
md5.h | 2 * This is the header file for the MD5 message-digest algorithm. 11 * To compute the message digest of a chunk of bytes, declare an 14 * will fill a supplied 16-byte array with the digest. 40 void MD5Final(MD5Context* context, uint8 digest[16]);
|
sha1.h | 28 void SHA1Final(SHA1_CTX* context, uint8 digest[SHA1_DIGEST_SIZE]);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
md5.h | 28 void yasm_md5_final(unsigned char digest[16], yasm_md5_context *context);
|
/external/flac/libFLAC/include/private/ |
md5.h | 5 * This is the header file for the MD5 message-digest algorithm. 15 * To compute the message digest of a chunk of bytes, declare an 18 * will fill a supplied 16-byte array with the digest. 40 void FLAC__MD5Final(FLAC__byte digest[16], FLAC__MD5Context *context);
|
/external/lzma/C/ |
Sha256.h | 22 void Sha256_Final(CSha256 *p, Byte *digest);
|
/external/skia/bench/ |
ChecksumBench.cpp | 66 SkMD5::Digest digest; local 67 md5.finish(digest); 74 SkSHA1::Digest digest; local 75 sha1.finish(digest);
|
/external/wpa_supplicant_8/src/crypto/ |
md5_i.h | 21 void MD5Final(unsigned char digest[16], struct MD5Context *context);
|
sha1_i.h | 20 void SHA1Final(unsigned char digest[20], struct SHA1Context *context);
|
/frameworks/base/tests/CoreTests/android/core/ |
Sha1Test.java | 24 * Tests SHA1 message digest algorithm. 45 MessageDigest digest = MessageDigest.getInstance("SHA-1"); local 49 digest.update(mTestData[i].input.getBytes()); 50 byte[] hash = digest.digest();
|
/frameworks/compile/libbcc/lib/Support/ |
sha1.h | 23 void SHA1Final(uint8_t digest[HASHSIZE], SHA1_CTX* context);
|
/libcore/benchmarks/src/benchmarks/regression/ |
DigestBenchmark.java | 21 import com.android.org.bouncycastle.crypto.Digest; 41 private Class<? extends Digest> digestClass; 50 className += (algorithm + "Digest"); 55 this.digestClass = (Class<? extends Digest>)Class.forName(className); 60 Digest digest = digestClass.newInstance(); local 61 digest.update(DATA, 0, DATA_SIZE); 62 digest.doFinal(new byte[digest.getDigestSize()], 0);
|
/libcore/luni/src/test/java/tests/targets/security/ |
MessageDigestTestMD2.java | 27 @AndroidOnly("Android doesn't include MD2 message digest algorithm") 30 MessageDigest digest = MessageDigest.getInstance("MD2"); local 37 MessageDigest digest = MessageDigest.getInstance( local 52 MessageDigest digest = MessageDigest.getInstance("MD2"); local 54 digest = MessageDigest.getInstance("1.2.840.113549.2.2");
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_md5.py | 22 self.assertEqual(hexstr(md5(s).digest()), expected) 30 eq('message digest', 'f96b697d7cb7938d525a2f31aaf161d0') 41 self.assertEqual(hexstr(m.digest()), h) 55 self.assertEqual(m1.digest(), m2.digest())
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_md5.py | 22 self.assertEqual(hexstr(md5(s).digest()), expected) 30 eq('message digest', 'f96b697d7cb7938d525a2f31aaf161d0') 41 self.assertEqual(hexstr(m.digest()), h) 55 self.assertEqual(m1.digest(), m2.digest())
|
/system/core/include/mincrypt/ |
sha.h | 42 // Convenience method. Returns digest address. 43 // NOTE: *digest needs to hold SHA_DIGEST_SIZE bytes. 44 const uint8_t* SHA_hash(const void* data, int len, uint8_t* digest);
|
sha256.h | 43 // Convenience method. Returns digest address. 44 const uint8_t* SHA256_hash(const void* data, int len, uint8_t* digest);
|
/external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
decode_to_md5.c | 20 // The Message-Digest 5 (MD5) is a well known hash function. We have provided 21 // an implementation derived from the RSA Data Security, Inc. MD5 Message-Digest 44 static void get_image_md5(const vpx_image_t *img, unsigned char digest[16]) { 62 MD5Final(digest, &md5); 65 static void print_md5(FILE *stream, unsigned char digest[16]) { 69 fprintf(stream, "%02x", digest[i]); 120 unsigned char digest[16]; local 122 get_image_md5(img, digest); 123 print_md5(outfile, digest);
|
/external/libvpx/libvpx/examples/ |
decode_to_md5.c | 20 // The Message-Digest 5 (MD5) is a well known hash function. We have provided 21 // an implementation derived from the RSA Data Security, Inc. MD5 Message-Digest 46 static void get_image_md5(const vpx_image_t *img, unsigned char digest[16]) { 64 MD5Final(digest, &md5); 67 static void print_md5(FILE *stream, unsigned char digest[16]) { 71 fprintf(stream, "%02x", digest[i]); 122 unsigned char digest[16]; local 124 get_image_md5(img, digest); 125 print_md5(outfile, digest);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
decode_to_md5.c | 20 // The Message-Digest 5 (MD5) is a well known hash function. We have provided 21 // an implementation derived from the RSA Data Security, Inc. MD5 Message-Digest 46 static void get_image_md5(const vpx_image_t *img, unsigned char digest[16]) { 64 MD5Final(digest, &md5); 67 static void print_md5(FILE *stream, unsigned char digest[16]) { 71 fprintf(stream, "%02x", digest[i]); 122 unsigned char digest[16]; local 124 get_image_md5(img, digest); 125 print_md5(outfile, digest);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BCPBEKey.java | 18 int digest; field in class:BCPBEKey 32 int digest, 41 this.digest = digest; 99 return digest;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
DigestSignatureSpi.java | 27 import org.bouncycastle.crypto.Digest; 51 private Digest digest; field in class:DigestSignatureSpi 57 Digest digest, 60 this.digest = digest; 68 Digest digest, 71 this.digest = digest [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
MessageDigest2Test.java | 92 MessageDigest.isEqual(d1.digest(), d2.digest())); 153 byte[] hash = sha.digest(data); 196 byte[] hash = sha.digest(data); 201 * java.security.MessageDigest#digest() 207 byte[] digest = sha.digest(); 208 assertTrue("bug in SHA", MessageDigest.isEqual(digest, MESSAGE_DIGEST)); 215 digest = sha.digest(); 244 MessageDigest digest = MessageDigest.getInstance(algorithm, e.getKey().getName()); local 257 MessageDigest digest = MessageDigest.getInstance(algorithm, e.getKey().getName()); local 264 MessageDigest.getInstance("SHA").digest(new byte[] {}, Integer.MAX_VALUE, 755); method [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
MessageDigest1Test.java | 121 * @tests java.security.MessageDigest#digest() 125 assertEquals("incorrect result", 0, md.digest().length); 130 * @tests java.security.MessageDigest#digest(byte[]) 135 assertEquals("incorrect result", 0, md.digest(b).length); 140 * @tests java.security.MessageDigest#digest(byte[], int, int) 145 assertEquals("incorrect result", 0, md.digest(b, 2, 3)); 146 assertTrue("digest failed", md.runEngineDigest); 153 md.digest(null, 0, 1); 159 md.digest(bytes, 0, bytes.length + 1); 165 md.digest(bytes, Integer.MAX_VALUE, 1) [all...] |