HomeSort by relevance Sort by last modified time
    Searched refs:digest (Results 26 - 50 of 721) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DigestInfo.java 19 * digest OCTET STRING }
25 private byte[] digest; field in class:DigestInfo
52 byte[] digest)
54 this.digest = digest;
64 digest = ASN1OctetString.getInstance(e.nextElement()).getOctets();
74 return digest;
82 v.add(new DEROctetString(digest));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
OpenSSLPBEParametersGenerator.java 4 import org.bouncycastle.crypto.Digest;
23 private Digest digest = AndroidDigestFactory.getMD5(); field in class:OpenSSLPBEParametersGenerator
52 byte[] buf = new byte[digest.getDigestSize()];
58 digest.update(password, 0, password.length);
59 digest.update(salt, 0, salt.length);
61 digest.doFinal(buf, 0);
75 digest.reset();
76 digest.update(buf, 0, buf.length);
PKCS12ParametersGenerator.java 4 import org.bouncycastle.crypto.Digest;
24 private Digest digest; field in class:PKCS12ParametersGenerator
31 * accept any digest which also implements ExtendedDigest.
33 * @param digest the digest to be used as the source of derived keys.
34 * @exception IllegalArgumentException if an unknown digest is passed in.
37 Digest digest)
39 this.digest = digest
    [all...]
  /external/openssl/crypto/evp/
digest.c 1 /* crypto/evp/digest.c */
153 if (ctx->engine && ctx->digest && (!type ||
154 (type && (type->type == ctx->digest->type))))
185 /* We'll use the ENGINE's private digest definition */
196 if(!ctx->digest)
202 if (ctx->digest != type)
204 if (ctx->digest && ctx->digest->ctx_size)
206 ctx->digest=type;
242 return ctx->digest->init(ctx)
    [all...]
p_verify.c 81 if (ctx->digest->flags & EVP_MD_FLAG_PKEY_METHOD_SIGNATURE)
89 if (EVP_PKEY_CTX_set_signature_md(pkctx, ctx->digest) <= 0)
99 v=ctx->digest->required_pkey_type[i];
112 if (ctx->digest->verify == NULL)
118 return(ctx->digest->verify(ctx->digest->type,m,m_len,
  /external/chromium_org/base/
md5_unittest.cc 16 MD5Digest digest; local
26 digest.a[i] = data[i] & 0xff;
28 std::string actual = MD5DigestToBase16(digest);
35 MD5Digest digest; local
38 MD5Sum(data, strlen(data), &digest);
48 EXPECT_EQ(expected[i], digest.a[i] & 0xFF);
52 MD5Digest digest; local
55 MD5Sum(data, strlen(data), &digest);
65 EXPECT_EQ(expected[i], digest.a[i] & 0xFF);
75 MD5Digest digest; local
93 MD5Digest digest; local
130 MD5Digest digest; local
198 MD5Digest digest; local
241 MD5Digest digest; local
    [all...]
  /dalvik/libdex/
sha1.h 18 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context);
  /external/chromium_org/chrome/browser/profile_resetter/
jtl_foundation.cc 23 unsigned char digest[kHashSizeInBytes]; local
24 if (!hmac_.Sign(input, digest, arraysize(digest))) {
30 cached_hashes_[input] = base::HexEncode(digest, kHashSizeInBytes / 2);
  /external/chromium_org/third_party/boringssl/src/crypto/digest/
digest_error.c 17 #include <openssl/digest.h>
digest.c 57 #include <openssl/digest.h>
93 if (ctx->digest && ctx->digest->ctx_size && ctx->md_data) {
94 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size);
120 if (in == NULL || in->digest == NULL) {
121 OPENSSL_PUT_ERROR(DIGEST, EVP_MD_CTX_copy_ex,
126 if (out->digest == in->digest) {
137 if (in->md_data && in->digest->ctx_size) {
141 out->md_data = OPENSSL_malloc(in->digest->ctx_size)
    [all...]
  /external/openssl/crypto/pkcs12/
p12_p8d.c 66 passlen, p8->digest, 1);
  /external/ppp/pppd/
md5.h 4 ** RSA Data Security, Inc. MD5 Message-Digest Algorithm **
22 ** Digest Algorithm" in all material mentioning or referencing this **
27 ** Data Security, Inc. MD5 Message-Digest Algorithm" in all **
52 /* Data structure for MD5 (Message-Digest) computation */
57 unsigned char digest[16]; /* actual digest after MD5Final call */ member in struct:__anon33490
  /libcore/benchmarks/src/benchmarks/regression/
MessageDigestBenchmark.java 43 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), local
45 digest.update(DATA, 0, DATA_SIZE);
46 digest.digest();
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
MD5Calculator.java 39 final byte[] digest = digester.digest();
41 for (int i = 0; i < digest.length; ++i) {
42 s.append(String.format("%1$02x", digest[i]));
  /external/smack/src/org/xbill/DNS/
DSRecord.java 19 public static class Digest {
20 private Digest() {}
32 public static final int SHA1_DIGEST_ID = Digest.SHA1;
33 public static final int SHA256_DIGEST_ID = Digest.SHA256;
34 public static final int SHA384_DIGEST_ID = Digest.SHA384;
41 private byte [] digest; field in class:DSRecord
54 * @param digestid The digest id code.
55 * @param digest A hash of the original key.
59 int digestid, byte [] digest)
65 this.digest = digest
    [all...]
  /external/wpa_supplicant_8/src/crypto/
sha1-pbkdf2.c 16 u8 *digest)
43 os_memcpy(digest, tmp, SHA1_MAC_LEN);
51 digest[j] ^= tmp2[j];
78 unsigned char digest[SHA1_MAC_LEN]; local
83 count, digest))
86 os_memcpy(pos, digest, plen);
  /system/keymaster/
dsa_operation.h 32 DsaOperation(keymaster_purpose_t purpose, const Logger& logger, keymaster_digest_t digest,
34 : Operation(purpose, logger), dsa_key_(key), digest_(digest), padding_(padding) {}
52 DsaSignOperation(keymaster_purpose_t purpose, const Logger& logger, keymaster_digest_t digest,
54 : DsaOperation(purpose, logger, digest, padding, key) {}
60 DsaVerifyOperation(keymaster_purpose_t purpose, const Logger& logger, keymaster_digest_t digest,
62 : DsaOperation(purpose, logger, digest, padding, key) {}
ecdsa_operation.h 32 EcdsaOperation(keymaster_purpose_t purpose, const Logger& logger, keymaster_digest_t digest,
34 : Operation(purpose, logger), ecdsa_key_(key), digest_(digest), padding_(padding) {}
52 EcdsaSignOperation(keymaster_purpose_t purpose, const Logger& logger, keymaster_digest_t digest,
54 : EcdsaOperation(purpose, logger, digest, padding, key) {}
61 keymaster_digest_t digest, keymaster_padding_t padding, EC_KEY* key)
62 : EcdsaOperation(purpose, logger, digest, padding, key) {}
rsa_operation.h 30 RsaOperation(keymaster_purpose_t purpose, const Logger& logger, keymaster_digest_t digest,
32 : Operation(purpose, logger), rsa_key_(key), digest_(digest), padding_(padding) {}
50 RsaSignOperation(keymaster_purpose_t purpose, const Logger& logger, keymaster_digest_t digest,
52 : RsaOperation(purpose, logger, digest, padding, key) {}
58 RsaVerifyOperation(keymaster_purpose_t purpose, const Logger& logger, keymaster_digest_t digest,
60 : RsaOperation(purpose, logger, digest, padding, key) {}
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
RSADigestSigner.java 19 import org.bouncycastle.crypto.Digest;
32 private final Digest digest; field in class:RSADigestSigner
62 Digest digest)
64 this(digest, (ASN1ObjectIdentifier)oidMap.get(digest.getAlgorithmName()));
68 Digest digest,
71 this.digest = digest
    [all...]
  /external/guava/guava/src/com/google/common/hash/
MessageDigestHashFunction.java 63 private final MessageDigest digest; field in class:MessageDigestHashFunction.MessageDigestHasher
67 private MessageDigestHasher(MessageDigest digest) {
68 this.digest = digest;
74 digest.update(b);
80 digest.update(bytes);
87 digest.update(bytes, off, len);
94 digest.update(scratch.array(), 0, Shorts.BYTES);
102 digest.update(scratch.array(), 0, Ints.BYTES);
110 digest.update(scratch.array(), 0, Longs.BYTES)
    [all...]
  /external/genext2fs/
test-gen.lib 4 # This code is sourced by the other scripts so that digest
43 # calc_digest - Return the MD5 digest of the test image
46 digest=`md5sum ext2.img 2>/dev/null | cut -f 1 -d " "`
47 if [ x$digest != x ] ; then
48 echo $digest
50 digest=`md5 ext2.img 2>/dev/null | cut -f 4 -d " "`
51 echo $digest
  /external/pdfium/core/include/fdrm/
fx_crypt.h 19 void CRYPT_MD5Generate(FX_LPCBYTE data, FX_DWORD size, FX_BYTE digest[16]);
22 void CRYPT_MD5Finish(FX_LPVOID context, FX_BYTE digest[16]);
23 void CRYPT_SHA1Generate(FX_LPCBYTE data, FX_DWORD size, FX_BYTE digest[20]);
26 void CRYPT_SHA1Finish(FX_LPVOID context, FX_BYTE digest[20]);
27 void CRYPT_SHA256Generate(FX_LPCBYTE data, FX_DWORD size, FX_BYTE digest[32]);
30 void CRYPT_SHA256Finish(FX_LPVOID context, FX_BYTE digest[32]);
33 void CRYPT_SHA384Finish(FX_LPVOID context, FX_BYTE digest[48]);
34 void CRYPT_SHA384Generate(FX_LPCBYTE data, FX_DWORD size, FX_BYTE digest[48]);
37 void CRYPT_SHA512Finish(FX_LPVOID context, FX_BYTE digest[64]);
38 void CRYPT_SHA512Generate(FX_LPCBYTE data, FX_DWORD size, FX_BYTE digest[64]);
    [all...]
  /external/chromium_org/third_party/webrtc/base/
sslfingerprint.cc 69 digest.SetData(digest_in, digest_len);
73 : algorithm(from.algorithm), digest(from.digest) {}
77 digest == other.digest;
83 digest.data(), digest.length(), ':');
  /external/chromium_org/third_party/libaddressinput/src/cpp/test/util/
md5_unittest.cc 27 MD5Digest digest; local
37 digest.a[i] = data[i] & 0xff;
39 std::string actual = MD5DigestToBase16(digest);
46 MD5Digest digest; local
49 MD5Sum(data, strlen(data), &digest);
59 EXPECT_EQ(expected[i], digest.a[i] & 0xFF);
63 MD5Digest digest; local
66 MD5Sum(data, strlen(data), &digest);
76 EXPECT_EQ(expected[i], digest.a[i] & 0xFF);
86 MD5Digest digest; local
104 MD5Digest digest; local
141 MD5Digest digest; local
209 MD5Digest digest; local
    [all...]

Completed in 470 milliseconds

12 3 4 5 6 7 8 91011>>