/external/bouncycastle/src/main/java/org/bouncycastle/crypto/digests/ |
OpenSSLDigest.java | 33 * Holds the EVP_MD for the hashing algorithm, e.g. EVP_get_digestbyname("sha1"); 35 private final int evp_md; field in class:OpenSSLDigest 63 private OpenSSLDigest(String algorithm, int evp_md, int size, int blockSize) { 65 this.evp_md = evp_md; 104 ctx = NativeCrypto.EVP_DigestInit(evp_md); 126 private static final int EVP_MD = NativeCrypto.EVP_get_digestbyname("md5"); 127 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD); 128 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD); 129 public MD5() { super("MD5", EVP_MD, SIZE, BLOCK_SIZE); [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLMessageDigestJDK.java | 33 * Holds the EVP_MD for the hashing algorithm, e.g. EVP_get_digestbyname("sha1"); 35 private final int evp_md; field in class:OpenSSLMessageDigestJDK 51 private OpenSSLMessageDigestJDK(String algorithm, int evp_md, int size) 54 this.evp_md = evp_md; 95 ctx = NativeCrypto.EVP_DigestInit(evp_md); 116 private static final int EVP_MD = NativeCrypto.EVP_get_digestbyname("md5"); 117 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD); 119 super("MD5",EVP_MD, SIZE); 124 private static final int EVP_MD = NativeCrypto.EVP_get_digestbyname("sha1") [all...] |
/external/openssl/crypto/pkcs7/ |
pk7_doit.c | 108 const EVP_MD *md; 419 const EVP_MD *evp_md; local 477 evp_md=EVP_get_digestbynid(j); 478 if (evp_md == NULL) 484 BIO_set_md(btmp,evp_md); 860 const EVP_MD *md = NULL;
|
/external/openssl/apps/ |
speed.c | 598 const EVP_MD *evp_md=NULL; local 692 evp_md=EVP_get_digestbyname(*argv); 694 if(!evp_cipher && !evp_md) [all...] |
/libcore/luni/src/main/native/ |
org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp | 683 static int NativeCrypto_EVP_DigestInit(JNIEnv* env, jclass, EVP_MD* evp_md) { 684 JNI_TRACE("NativeCrypto_EVP_DigestInit(%p)", evp_md); 686 if (evp_md == NULL) { 698 int ok = EVP_DigestInit(ctx.get(), evp_md); 725 const EVP_MD* evp_md = EVP_get_digestbyname(algorithmChars.c_str()); local 726 if (evp_md == NULL) { 731 JNI_TRACE("NativeCrypto_EVP_get_digestbyname(%s) => %p", algorithmChars.c_str(), evp_md); 732 return (jint) evp_md; [all...] |