/external/openssh/ |
kexdh.c | 54 const EVP_MD *evp_md = EVP_sha1(); local 77 EVP_DigestInit(&md, evp_md); 84 dump_digest("hash", digest, EVP_MD_size(evp_md)); 87 *hashlen = EVP_MD_size(evp_md);
|
kexecdh.c | 56 const EVP_MD * 68 const EVP_MD *evp_md, 104 EVP_DigestInit(&md, evp_md); 111 dump_digest("hash", digest, EVP_MD_size(evp_md)); 114 *hashlen = EVP_MD_size(evp_md);
|
mac.c | 53 const EVP_MD * (*mdfunc)(void); 80 mac->evp_md = (*macs[which].mdfunc)(); 81 if ((evp_len = EVP_MD_size(mac->evp_md)) <= 0) 117 if (mac->evp_md == NULL) 119 HMAC_Init(&mac->evp_ctx, mac->key, mac->key_len, mac->evp_md); 165 } else if (mac->evp_md != NULL) 167 mac->evp_md = NULL;
|
ssh-ecdsa.c | 51 const EVP_MD *evp_md; local 62 evp_md = key_ec_nid_to_evpmd(key->ecdsa_nid); 63 EVP_DigestInit(&md, evp_md); 100 const EVP_MD *evp_md; local 113 evp_md = key_ec_nid_to_evpmd(key->ecdsa_nid); 154 EVP_DigestInit(&md, evp_md);
|
kexgex.c | 42 const EVP_MD *evp_md, 88 EVP_DigestInit(&md, evp_md); 94 *hashlen = EVP_MD_size(evp_md);
|
schnorr.h | 30 int hash_buffer(const u_char *, u_int, const EVP_MD *, u_char **, u_int *); 43 const EVP_MD *evp_md, const BIGNUM *x, const BIGNUM *g_x, 51 const EVP_MD *evp_md, const BIGNUM *g_x, const u_char *id, u_int idlen,
|
ssh-dss.c | 50 const EVP_MD *evp_md = EVP_sha1(); local 61 EVP_DigestInit(&md, evp_md); 113 const EVP_MD *evp_md = EVP_sha1(); local 175 EVP_DigestInit(&md, evp_md);
|
ssh-rsa.c | 43 const EVP_MD *evp_md; local 56 if ((evp_md = EVP_get_digestbynid(nid)) == NULL) { 60 EVP_DigestInit(&md, evp_md); 111 const EVP_MD *evp_md; local 162 if ((evp_md = EVP_get_digestbynid(nid)) == NULL) { 167 EVP_DigestInit(&md, evp_md);
|
kex.h | 103 const EVP_MD *evp_md; member in struct:Mac 131 const EVP_MD *evp_md; member in struct:Kex 163 kexgex_hash(const EVP_MD *, char *, char *, char *, int, char *, 168 kex_ecdh_hash(const EVP_MD *, const EC_GROUP *, char *, char *, char *, int, 172 const EVP_MD *kex_ecdh_name_to_evpmd(const char *);
|
kex.c | 57 extern const EVP_MD *evp_ssh_sha256(void); 345 k->evp_md = EVP_sha1(); 348 k->evp_md = EVP_sha1(); 351 k->evp_md = EVP_sha1(); 355 k->evp_md = evp_ssh_sha256(); 359 k->evp_md = kex_ecdh_name_to_evpmd(k->name); 488 if ((mdsz = EVP_MD_size(kex->evp_md)) <= 0) 496 EVP_DigestInit(&md, kex->evp_md); 510 EVP_DigestInit(&md, kex->evp_md); 565 const EVP_MD *evp_md = EVP_md5() local [all...] |
schnorr.c | 60 * using the hash function defined by "evp_md". Returns signature as 65 const EVP_MD *evp_md, const BIGNUM *g_v, const BIGNUM *g_x, 91 if (hash_buffer(buffer_ptr(&b), buffer_len(&b), evp_md, 116 * using the hash function "evp_md". 126 const EVP_MD *evp_md, const BIGNUM *x, const BIGNUM *g_x, 176 if ((h = schnorr_hash(grp_p, grp_q, grp_g, evp_md, g_v, g_x, 251 * 'grp_g' using hash "evp_md". 257 const EVP_MD *evp_md, const BIGNUM *g_x, const u_char *id, u_int idlen [all...] |
roaming_client.c | 96 const EVP_MD *evp_md = EVP_sha1(); local 110 EVP_DigestInit(&md, evp_md);
|
kexecdhc.c | 130 kex->evp_md,
|
kexecdhs.c | 123 kex->evp_md,
|
kexgexc.c | 173 kex->evp_md,
|
kexgexs.c | 167 kex->evp_md,
|
/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...] |
NativeCrypto.java | 137 public static native int EVP_MD_size(int evp_md); 139 public static native int EVP_MD_block_size(int evp_md); 149 public static native int EVP_DigestInit(int evp_md);
|
/external/bouncycastle/bcprov/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...] |
/external/openssl/crypto/hmac/ |
hmac.h | 77 const EVP_MD *md; 94 const EVP_MD *md); /* deprecated */ 96 const EVP_MD *md, ENGINE *impl); 99 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
|
hmac.c | 69 const EVP_MD *md, ENGINE *impl) 149 int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md) 225 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, 234 if (!HMAC_Init(&c,key,key_len,evp_md))
|
/external/openssl/include/openssl/ |
hmac.h | 77 const EVP_MD *md; 94 const EVP_MD *md); /* deprecated */ 96 const EVP_MD *md, ENGINE *impl); 99 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
|
/libcore/luni/src/main/native/ |
org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp | 1511 EVP_MD* evp_md = reinterpret_cast<EVP_MD*>(evpMdRef); local 1553 const EVP_MD* evp_md = EVP_get_digestbyname(algorithmChars.c_str()); local [all...] |
/external/openssl/crypto/pkcs7/ |
pk7_doit.c | 108 const EVP_MD *md; 426 const EVP_MD *evp_md; local 486 evp_md=EVP_get_digestbynid(j); 487 if (evp_md == NULL) 493 BIO_set_md(btmp,evp_md); 907 const EVP_MD *md = NULL;
|
/external/openssl/apps/ |
speed.c | 627 const EVP_MD *evp_md=NULL; local 721 evp_md=EVP_get_digestbyname(*argv); 723 if(!evp_cipher && !evp_md) [all...] |