/dalvik/libdex/ |
sha1.h | 13 #define HASHSIZE 20 18 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context);
|
sha1.c | 241 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* 259 for (i = 0; i < HASHSIZE; i++) { 265 memset(context->state, 0, HASHSIZE); 295 memset(digest, 0, HASHSIZE); 333 unsigned char digest[HASHSIZE]; 334 unsigned char expected_digest[HASHSIZE]; 359 for (k=0, j=5; k < HASHSIZE; k++) 372 for (k=0; k<HASHSIZE; k++) 379 for (k=0; k<HASHSIZE; k++) 383 for (k=0; k<HASHSIZE; k++ [all...] |
/external/dropbear/libtomcrypt/src/mac/hmac/ |
hmac_done.c | 32 unsigned long hashsize, i; local 45 hashsize = hash_descriptor[hash].hashsize; 49 isha = XMALLOC(hashsize); 77 if ((err = hash_descriptor[hash].process(&hmac->md, isha, hashsize)) != CRYPT_OK) { 85 for (i = 0; i < hashsize && i < *outlen; i++) { 94 zeromem(isha, hashsize); 95 zeromem(buf, hashsize);
|
hmac_init.c | 33 unsigned long hashsize; local 45 hashsize = hash_descriptor[hash].hashsize; 71 if(hashsize < HMAC_BLOCKSIZE) { 72 zeromem((hmac->key) + hashsize, (size_t)(HMAC_BLOCKSIZE - hashsize)); 74 keylen = hashsize;
|
hmac_test.c | 280 if(XMEMCMP(digest, cases[i].digest, (size_t)hash_descriptor[hash].hashsize) != 0) { 286 for(j=0; j < hash_descriptor[hash].hashsize; j++) { 290 for(j=0; j < hash_descriptor[hash].hashsize; j++) {
|
/external/dropbear/libtomcrypt/src/misc/crypt/ |
crypt_find_hash_any.c | 38 if ((int)hash_descriptor[x].hashsize >= digestlen && (int)hash_descriptor[x].hashsize < y) { 40 y = hash_descriptor[x].hashsize;
|
/external/dropbear/libtomcrypt/src/hashes/helper/ |
hash_filehandle.c | 44 if (*outlen < hash_descriptor[hash].hashsize) { 45 *outlen = hash_descriptor[hash].hashsize; 52 *outlen = hash_descriptor[hash].hashsize;
|
hash_memory.c | 40 if (*outlen < hash_descriptor[hash].hashsize) { 41 *outlen = hash_descriptor[hash].hashsize; 57 *outlen = hash_descriptor[hash].hashsize;
|
hash_memory_multi.c | 45 if (*outlen < hash_descriptor[hash].hashsize) { 46 *outlen = hash_descriptor[hash].hashsize; 75 *outlen = hash_descriptor[hash].hashsize;
|
/external/srec/srec/crec/ |
astar_pphash.c | 37 hash->hashsize = FSH_HASHSIZE; 38 for (i = 0; i < hash->hashsize; i++) 99 hkey_index = hkey_index % hash->hashsize; 121 hkey_index = hkey_index % hash->hashsize; 156 hkey_index = hkey_index % hash->hashsize;
|
astar_pphash.h | 41 int hashsize; member in struct:__anon7413
|
/external/dropbear/libtomcrypt/demos/ |
hashsum.c | 47 for (x = 0; x < (int)hash_descriptor[idx].hashsize; x++) { 57 for (x = 0; x < (int)hash_descriptor[idx].hashsize; x++) {
|
encrypt.c | 152 ks = hash_descriptor[hash_idx].hashsize;
|
/external/dropbear/libtomcrypt/src/misc/pkcs5/ |
pkcs_5_1.c | 79 if ((err = hash_memory(hash_idx, buf, hash_descriptor[hash_idx].hashsize, buf, &x)) != CRYPT_OK) { 85 for (x = 0; x < hash_descriptor[hash_idx].hashsize && x < *outlen; x++) {
|
/external/dropbear/ |
algo.h | 62 unsigned char hashsize; member in struct:dropbear_hash
|
packet.c | 160 macsize = ses.keys->recv_algo_mac->hashsize; 236 macsize = ses.keys->recv_algo_mac->hashsize; 323 macsize = ses.keys->recv_algo_mac->hashsize; 420 macsize = ses.keys->trans_algo_mac->hashsize; 530 macsize = ses.keys->trans_algo_mac->hashsize;
|
common-algo.c | 67 {&hash_desc, keysize, hashsize} */
|
/external/dropbear/libtomcrypt/src/pk/pkcs1/ |
pkcs_1_mgf1.c | 48 hLen = hash_descriptor[hash_idx].hashsize;
|
pkcs_1_oaep_decode.c | 55 hLen = hash_descriptor[hash_idx].hashsize;
|
pkcs_1_oaep_encode.c | 58 hLen = hash_descriptor[hash_idx].hashsize;
|
pkcs_1_pss_decode.c | 53 hLen = hash_descriptor[hash_idx].hashsize;
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
dsa_encrypt_key.c | 56 if (inlen > hash_descriptor[hash].hashsize) {
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ecc_encrypt_key.c | 62 if (inlen > hash_descriptor[hash].hashsize) {
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
CipherSuite.java | 78 final private int hashSize; 617 hashSize = 16; 621 hashSize = 20; 625 hashSize = 0; 742 return hashSize;
|
/external/dropbear/libtomcrypt/src/prngs/ |
yarrow.c | 158 hash_descriptor[prng->yarrow.hash].hashsize)) != CRYPT_OK) { 202 ks = (int)hash_descriptor[prng->yarrow.hash].hashsize;
|