/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
DSASigner.java | 24 import org.bouncycastle.crypto.Digest; 42 private Digest digest; field in class:DSASigner 47 Digest digest, 50 this.digest = digest; 87 digest.reset(); 113 digest.reset(); 121 digest.update(b) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
DSAParametersGenerator.java | 6 import org.bouncycastle.crypto.Digest; 22 private Digest digest; field in class:DSAParametersGenerator 41 public DSAParametersGenerator(Digest digest) 43 this.digest = digest; 101 if (digest.getDigestSize() * 8 < N) 103 throw new IllegalStateException("Digest output size too small for value of N"); 130 if (!(digest.getAlgorithmName().equals("SHA-1")) [all...] |
PKCS5S2ParametersGenerator.java | 4 import org.bouncycastle.crypto.Digest; 38 public PKCS5S2ParametersGenerator(Digest digest) 40 hMac = new HMac(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...] |
CipherSpi.java | 27 import org.bouncycastle.crypto.Digest; 85 Digest digest = DigestFactory.getDigest(mgfParams.getDigestAlgorithm()); local 87 if (digest == null) 89 throw new NoSuchPaddingException("no match on OAEP constructor for digest algorithm: "+ mgfParams.getDigestAlgorithm()); 92 cipher = new OAEPEncoding(new RSABlindedEngine(), digest, ((PSource.PSpecified)pSpec.getPSource()).getValue()); 296 Digest digest = DigestFactory.getDigest(spec.getDigestAlgorithm()); local 298 if (digest == null) 300 throw new InvalidAlgorithmParameterException("no match on digest algorithm: "+ spec.getDigestAlgorithm()) [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
SubtleCrypto.cpp | 71 case Digest: 116 // All operations other than Digest require a valid Key. 117 if (operationType != Digest) { 151 case Digest: 152 platformCrypto->digest(algorithm, result); 191 PassRefPtr<CryptoOperation> SubtleCrypto::digest(const Dictionary& rawAlgorithm, ExceptionState& es) function in class:WebCore::SubtleCrypto 193 return createCryptoOperation(rawAlgorithm, 0, Digest, 0, es);
|
/external/chromium_org/third_party/skia/src/utils/ |
SkBitmapHasher.cpp | 46 SkMD5::Digest digest; local 47 out.finish(digest); 48 *result = first_8_bytes_as_uint64(digest.data);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/digest/ |
MAC.java | 5 package ch.ethz.ssh2.crypto.digest; 15 Digest mac; 84 mac.digest(out, off);
|
/external/ppp/pppd/ |
chap_ms.c | 619 u_char Digest[SHA1_SIGNATURE_SIZE]; 626 SHA1_Final(Digest, &sha1Context); 631 SHA1_Update(&sha1Context, Digest, sizeof(Digest)); 634 SHA1_Final(Digest, &sha1Context); 637 for (i = 0; i < MAX((MS_AUTH_RESPONSE_LENGTH / 2), sizeof(Digest)); i++) 638 sprintf((char *)&authResponse[i * 2], "%02X", Digest[i]); 673 u_char Digest[SHA1_SIGNATURE_SIZE]; /* >= MPPE_MAX_KEY_LEN */ 679 SHA1_Final(Digest, &sha1Context); 682 BCOPY(Digest, mppe_send_key, sizeof(mppe_send_key)) [all...] |
/external/skia/src/utils/ |
SkBitmapHasher.cpp | 46 SkMD5::Digest digest; local 47 out.finish(digest); 48 *result = first_8_bytes_as_uint64(digest.data);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
SignatureSpi.java | 17 import org.bouncycastle.crypto.Digest; 42 SignatureSpi(Digest digest, DSA signer, DSAEncoder encoder) 44 super(digest, signer, encoder); 52 digest.reset(); 62 digest.reset();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/ |
DigestFactory.java | 12 import org.bouncycastle.crypto.Digest; 92 public static Digest getDigest(
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
CertBlacklist.java | 32 import org.bouncycastle.crypto.Digest; 208 Digest digest = AndroidDigestFactory.getSHA1(); local 209 digest.update(encoded, 0, encoded.length); 210 byte[] out = new byte[digest.getDigestSize()]; 211 digest.doFinal(out, 0);
|
/external/chromium/base/ |
sha1_portable.cc | 26 // memcpy(somewhere, sha.Digest(), 20); 44 // 20 bytes of message digest. 45 const unsigned char* Digest() const { 212 memcpy(hash, sha.Digest(), SecureHashAlgorithm::kDigestSizeBytes);
|
/external/chromium_org/base/ |
sha1_portable.cc | 26 // memcpy(somewhere, sha.Digest(), 20); 44 // 20 bytes of message digest. 45 const unsigned char* Digest() const { 212 memcpy(hash, sha.Digest(), SecureHashAlgorithm::kDigestSizeBytes);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
svn-unapply | 63 use Digest::MD5; 131 my $checksum = Digest::MD5->new->addfile(*FILE)->hexdigest();
|
svn-apply | 63 use Digest::MD5; 219 my $checksum = Digest::MD5->new->addfile(*FILE)->hexdigest();
|
/external/openfst/src/include/fst/ |
compat.h | 101 string Digest() {
|
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
MockWebCrypto.cpp | 49 Digest, 79 if (m_algorithm.id() == WebKit::WebCryptoAlgorithmIdSha1 && m_operation == Digest) { 154 void MockWebCrypto::digest(const WebKit::WebCryptoAlgorithm& algorithm, WebKit::WebCryptoOperationResult& result) function in class:WebTestRunner::MockWebCrypto 156 result.initializationSucceeded(new MockCryptoOperation(algorithm, Digest, result));
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
compat.cpp | 130 string MD5::Digest() { return ""; } // every matches! ?OP?
|
symbol-table.h | 112 check_sum_string_ = check_sum_.Digest();
|
/external/antlr/antlr-3.4/runtime/Perl5/tools/ |
port.pl | 8 use Digest; 51 my $sha1 = Digest->new('SHA-1'); 53 my $digest = $sha1->hexdigest; 55 return $digest; 126 my $digest = sha1sum($path); 128 'sha1' => $digest, 146 my $digest = sha1sum($path); 148 if ($digest ne $fstatus->{sha1}) {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
DESedeWrapEngine.java | 6 import org.bouncycastle.crypto.Digest; 55 // checksum digest 58 Digest sha1 = AndroidDigestFactory.getSHA1(); 60 byte[] digest = new byte[20]; field in class:DESedeWrapEngine 323 sha1.doFinal(digest, 0); 325 System.arraycopy(digest, 0, result, 0, 8);
|
/external/openfst/src/lib/ |
symbol-table.cc | 98 check_sum_string_ = check_sum.Digest(); 117 labeled_check_sum_string_ = labeled_check_sum.Digest();
|
/external/chromium_org/v8/test/mjsunit/ |
md5.js | 29 // Digest Algorithm, as defined in RFC 1321.
|