/external/chromium_org/third_party/boringssl/src/include/openssl/ |
dsa.h | 145 /* DSA_do_sign returns a signature of the hash in |digest| by the key in |dsa| 147 OPENSSL_EXPORT DSA_SIG *DSA_do_sign(const uint8_t *digest, size_t digest_len, 151 * |dsa|, of the hash in |digest|. It returns one if so, zero if invalid and -1 160 OPENSSL_EXPORT int DSA_do_verify(const uint8_t *digest, size_t digest_len, 164 * is a valid signature, by the public key in |dsa| of the hash in |digest| 169 OPENSSL_EXPORT int DSA_do_check_signature(int *out_valid, const uint8_t *digest, 180 /* DSA_sign signs |digest| with the key in |dsa| and writes the resulting 186 OPENSSL_EXPORT int DSA_sign(int type, const uint8_t *digest, size_t digest_len, 191 * key in |dsa|, of the hash in |digest|. It returns one if so, zero if invalid 202 OPENSSL_EXPORT int DSA_verify(int type, const uint8_t *digest, [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
PoloChallengeResponse.java | 97 MessageDigest digest; local 99 digest = MessageDigest.getInstance(HASH_ALGORITHM); 101 throw new PoloException("Could not get digest algorithm", e); 129 digest.update(clientModulus); 130 digest.update(clientExponent); 131 digest.update(serverModulus); 132 digest.update(serverExponent); 133 digest.update(nonce); 135 digestBytes = digest.digest(); [all...] |
/external/chromium_org/tools/android/md5sum/ |
md5sum.cc | 43 base::MD5Digest digest; local 44 base::MD5Final(&digest, &ctx); 45 *digest_string = base::MD5DigestToBase16(digest); 83 std::string digest; local 86 if (!MD5Sum(it->c_str(), &digest)) 89 std::cout << digest << " "
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestOutputStreamTest.java | 42 * Message digest algorithm name used during testing 58 * Test message for digest computations 104 MessageDigest digest = new MyMessageDigest1(); local 108 DigestOutputStream dos = new DigestOutputStream(out, digest); 109 assertSame(digest, dos.getMessageDigest()); 122 MessageDigest digest = new MyMessageDigest1(); local 128 dos.setMessageDigest(digest); 129 assertSame(digest, dos.getMessageDigest()); 142 * Assertion: updates associated digest<br> 157 // check that associated digest has been updated properl [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestOutputStreamTest.java | 44 * Message digest algorithm name used during testing 60 * Test message for digest computations 105 MessageDigest digest = new MyMessageDigest1(); local 109 DigestOutputStream dos = new DigestOutputStream(out, digest); 110 assertSame(digest, dos.getMessageDigest()); 122 MessageDigest digest = new MyMessageDigest1(); local 128 dos.setMessageDigest(digest); 129 assertSame(digest, dos.getMessageDigest()); 141 * Assertion: updates associated digest<br> 155 // check that associated digest has been updated properl [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
AuthorityKeyIdentifier.java | 16 import org.bouncycastle.crypto.Digest; 112 Digest digest = AndroidDigestFactory.getSHA1(); local 114 byte[] resBuf = new byte[digest.getDigestSize()]; 117 digest.update(bytes, 0, bytes.length); 118 digest.doFinal(resBuf, 0); 132 Digest digest = AndroidDigestFactory.getSHA1(); local 134 byte[] resBuf = new byte[digest.getDigestSize()]; 137 digest.update(bytes, 0, bytes.length) [all...] |
SubjectKeyIdentifier.java | 8 import org.bouncycastle.crypto.Digest; 130 Digest digest = AndroidDigestFactory.getSHA1(); local 132 byte[] resBuf = new byte[digest.getDigestSize()]; 135 digest.update(bytes, 0, bytes.length); 136 digest.doFinal(resBuf, 0);
|
/external/ppp/pppd/ |
openssl-hash.h | 30 #define SHA1_Final(digest, ctx) { \ 32 EVP_DigestFinal_ex(ctx, digest, &md_len); \
|
/external/skia/dm/ |
DMExpectations.h | 36 const skiagm::GmResultDigest digest(bitmap); 37 return expectations.match(digest);
|
/external/skia/tools/ |
image_expectations.h | 19 * The digest of an image (either an image we have generated locally, or an image expectation). 21 * Currently, this is always a uint64_t hash digest of an SkBitmap. 32 * @param bitmap image to get the digest of 46 * Returns the hash digest type as an SkString. 53 * Returns the hash digest value as a uint64_t. 107 * @param digest description of the image's contents 110 void add(const char *sourceName, const char *fileName, const ImageDigest &digest, 118 * @param digest description of the image's contents 121 bool matchesExpectation(const char *sourceName, const ImageDigest &digest,
|
/external/smack/src/org/xbill/DNS/ |
NSEC3Record.java | 37 public static class Digest { 38 private Digest() {} 44 public static final int SHA1_DIGEST_ID = Digest.SHA1; 230 MessageDigest digest; local 232 case Digest.SHA1: 233 digest = MessageDigest.getInstance("sha-1"); 242 digest.reset(); 244 digest.update(name.toWireCanonical()); 246 digest.update(hash); 248 digest.update(salt) [all...] |
/system/core/include/mincrypt/ |
hash-internal.h | 56 #define HASH_hash(data, len, digest) (ctx)->f->hash(data, len, digest)
|
/build/tools/ |
check_radio_versions.py | 48 digest = sha1(f.read()).hexdigest() variable 65 if digest not in versions: 71 if versions[digest] not in values: 74 fn, versions[digest], key, sys.argv[1])
|
/external/chromium_org/crypto/ |
signature_creator_openssl.cc | 49 const EVP_MD* const digest = ToOpenSSLDigest(hash_alg); local 50 DCHECK(digest); 51 if (!digest) { 54 if (!EVP_SignInit_ex(result->sign_context_, digest, NULL))
|
/external/chromium_org/third_party/libvpx/source/libvpx/ |
md5_utils.h | 2 * This is the header file for the MD5 message-digest algorithm. 12 * To compute the message digest of a chunk of bytes, declare an 15 * will fill a supplied 16-byte array with the digest. 42 void MD5Final(unsigned char digest[16], struct MD5Context *context);
|
/external/chromium_org/third_party/skia/src/utils/ |
SkMD5.h | 24 /** Processes input, adding it to the digest. 34 /** Processes input, adding it to the digest. Calling this after finish is undefined. */ 37 struct Digest { 41 /** Computes and returns the digest. */ 42 void finish(Digest& digest);
|
SkSHA1.h | 24 /** Processes input, adding it to the digest. 34 /** Processes input, adding it to the digest. Calling this after finish is undefined. */ 37 struct Digest { 41 /** Computes and returns the digest. */ 42 void finish(Digest& digest);
|
/external/chromium_org/third_party/webrtc/base/ |
messagedigest.h | 18 // Definitions for the digest algorithms. 31 // Returns the digest output size (e.g. 16 bytes for MD5). 33 // Updates the digest with |len| bytes from |buf|. 35 // Outputs the digest value to |buf| with length |len|. 40 // A factory class for creating digest objects. 46 // A whitelist of approved digest algorithms from RFC 4572 (FIPS 180). 51 // Computes the hash of |in_len| bytes of |input|, using the |digest| hash 55 size_t ComputeDigest(MessageDigest* digest, const void* input, size_t in_len, 57 // Like the previous function, but creates a digest implementation based on 58 // the desired digest name |alg|, e.g. DIGEST_SHA_1. Returns 0 if there is n [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/codeview/ |
cv-dbgfmt.h | 35 unsigned char digest[16]; /* MD5 digest of source file */ member in struct:__anon20934
|
/external/libvpx/libvpx/ |
md5_utils.h | 2 * This is the header file for the MD5 message-digest algorithm. 12 * To compute the message digest of a chunk of bytes, declare an 15 * will fill a supplied 16-byte array with the digest. 42 void MD5Final(unsigned char digest[16], struct MD5Context *context);
|
/external/lzma/C/ |
Xz.c | 66 int XzCheck_Final(CXzCheck *p, Byte *digest)
71 SetUi32(digest, CRC_GET_DIGEST(p->crc));
78 digest[i] = (Byte)(v & 0xFF);
82 Sha256_Final(&p->sha, digest);
|
/external/skia/src/utils/ |
SkMD5.h | 24 /** Processes input, adding it to the digest. 34 /** Processes input, adding it to the digest. Calling this after finish is undefined. */ 37 struct Digest { 41 /** Computes and returns the digest. */ 42 void finish(Digest& digest);
|
SkSHA1.h | 24 /** Processes input, adding it to the digest. 34 /** Processes input, adding it to the digest. Calling this after finish is undefined. */ 37 struct Digest { 41 /** Computes and returns the digest. */ 42 void finish(Digest& digest);
|
/external/smack/src/org/apache/qpid/management/common/sasl/ |
UsernameHashedPasswordCallbackHandler.java | 95 byte[] digest = md.digest(); 97 char[] hash = new char[digest.length ]; 100 for (byte b : digest)
|
/external/smack/src/org/jivesoftware/smackx/pubsub/ |
SubscribeOptionFields.java | 39 digest,
enum constant in enum:SubscribeOptionFields
|