/external/wpa_supplicant_8/src/crypto/ |
fips_prf_nss.c | 16 #include <openssl/sha.h>
|
fips_prf_openssl.c | 16 #include <openssl/sha.h>
|
/frameworks/compile/libbcc/tools/ |
gen-sha1-stamp.py | 9 import sha namespace 10 sha1 = sha.sha
|
gen-build-stamp.py | 13 import sha namespace 14 sha1 = sha.sha
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
MessageDigest2Test.java | 95 private void testSerializationSHA_DATA_2(MessageDigest sha) { 97 sha.reset(); 153 byte[] hash = sha.digest(data); 163 private void testSerializationSHA_DATA_1(MessageDigest sha) { 165 sha.reset(); 203 byte[] hash = sha.digest(data); 215 MessageDigest sha = null; local 217 sha = MessageDigest.getInstance("SHA"); 218 assertNotNull(sha); [all...] |
/bootable/bootloader/legacy/libc/ |
rsa.h | 51 const uint8_t* sha);
|
Android.mk | 22 sha.c
|
/system/core/include/mincrypt/ |
rsa.h | 50 const uint8_t* sha);
|
/system/core/libmincrypt/ |
Android.mk | 7 LOCAL_SRC_FILES := rsa.c sha.c 13 LOCAL_SRC_FILES := rsa.c sha.c
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
DigitalSignatureTest.java | 51 MessageDigest sha = null; local 54 sha = MessageDigest.getInstance("SHA-1"); 69 sha.update(pivateKeyEncoding); 72 sha.digest(sha_hash, 0, sha_hash.length);
|
/external/openssl/crypto/sha/ |
sha1_one.c | 1 /* crypto/sha/sha1_one.c */ 61 #include <openssl/sha.h>
|
sha.c | 1 /* crypto/sha/sha.c */ 61 #include <openssl/sha.h> 88 printf("SHA(%s)= ",argv[i]);
|
sha1.c | 1 /* crypto/sha/sha1.c */ 61 #include <openssl/sha.h>
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
MessageDigest2Test.java | 100 private void testSerializationSHA_DATA_2(MessageDigest sha) throws Exception { 101 sha.reset(); 153 byte[] hash = sha.digest(data); 160 private void testSerializationSHA_DATA_1(MessageDigest sha) throws Exception { 161 sha.reset(); 196 byte[] hash = sha.digest(data); 204 MessageDigest sha = MessageDigest.getInstance("SHA"); local 205 assertNotNull(sha); 206 sha.update(MESSAGE.getBytes()) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
PRF.java | 39 protected static MessageDigest sha; field in class:PRF 57 sha = MessageDigest.getInstance("SHA-1"); 72 if (sha == null) { 81 sha.update(pref); 82 sha.update(secret); 83 sha.update(seed); 85 md5.update(sha.digest());
|
DigitalSignature.java | 60 private final MessageDigest sha; field in class:DigitalSignature 73 sha = MessageDigest.getInstance("SHA-1"); 137 if (sha != null) { 138 sha.update(data); 154 * Sets SHA hash 178 if (sha != null && sha_hash == null) { 180 sha.digest(sha_hash, 0, sha_hash.length);
|
HandshakeIODataStream.java | 68 private static final MessageDigest sha; field in class:HandshakeIODataStream 73 sha = MessageDigest.getInstance("SHA-1"); 388 * Returns the SHA-1 digest of the data passed throught the stream 389 * @return SHA-1 digest 392 synchronized (sha) { 396 sha.update(buffer, 0, len); 397 return sha.digest(); 414 * Returns the SHA-1 digest of the data passed throught the stream 416 * @return SHA-1 diges [all...] |
HandshakeProtocol.java | 381 MessageDigest sha; local 384 sha = MessageDigest.getInstance("SHA-1"); 401 sha.update(handshake_messages); 402 sha.update(sender); 403 sha.update(session.master_secret); 404 b = sha.digest(SSLv3Constants.SHApad1); 405 sha.update(session.master_secret); 406 sha.update(SSLv3Constants.SHApad2); 407 System.arraycopy(sha.digest(b), 0, buf, 16, 20) [all...] |
/device/samsung/crespo/ |
releasetools.py | 15 import sha namespace 60 len(source_radio_img), sha.sha(source_radio_img).hexdigest(), 61 len(target_radio_img), sha.sha(target_radio_img).hexdigest()))
|
/external/openssl/crypto/jpake/ |
jpake.c | 4 #include <openssl/sha.h> 132 static void hashlength(SHA_CTX *sha, size_t l) 139 SHA1_Update(sha, b, 2); 142 static void hashstring(SHA_CTX *sha, const char *string) 146 hashlength(sha, l); 147 SHA1_Update(sha, string, l); 150 static void hashbn(SHA_CTX *sha, const BIGNUM *bn) 155 hashlength(sha, l); 157 SHA1_Update(sha, bin, l); 166 SHA_CTX sha; local 446 SHA_CTX sha; local [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
MessageDigestTest.java | 37 MessageDigest sha = MessageDigest.getInstance("SHA"); local 38 sha.update(new byte[] { 1, 2, 3 }); 39 sha.reset(); 40 sha.update(new byte[] { 4, 5, 6 }); 41 assertEquals(Arrays.toString(sha_456), Arrays.toString(sha.digest())); 109 putExpectation("SHA", 114 putExpectation("SHA-1", 119 putExpectation("SHA-256", 125 putExpectation("SHA-384" [all...] |
/external/chromium/base/ |
sha1_portable.cc | 13 // Implementation of SHA-1. Only handles data in byte-sized blocks, 22 // SecureHashAlgorithm sha; 24 // sha.Update(moredata, size of data); 25 // sha.Final(); 26 // memcpy(somewhere, sha.Digest(), 20); 28 // to reuse the instance of sha, call sha.Init(); 208 SecureHashAlgorithm sha; local 209 sha.Update(data, len); 210 sha.Final() [all...] |
/external/openssl/crypto/dsa/ |
dsa_depr.c | 63 * Appendix 2.2 (i.e. use SHA as defined in FIPS PUB 180) */ 67 * also Appendix 2.2 of FIPS PUB 186-1 (i.e. use SHA as defined in 83 #include <openssl/sha.h>
|
/external/openssl/ |
import_openssl.sh | 140 perl crypto/sha/asm/sha1-armv4-large.pl > crypto/sha/asm/sha1-armv4-large.s 141 perl crypto/sha/asm/sha256-armv4.pl > crypto/sha/asm/sha256-armv4.s 142 perl crypto/sha/asm/sha512-armv4.pl > crypto/sha/asm/sha512-armv4.s
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_pwd_common.h | 19 #include <openssl/sha.h>
|