/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/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/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/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;
|
/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/pk/pkcs1/ |
pkcs_1_mgf1.c | 48 hLen = hash_descriptor[hash_idx].hashsize;
|
pkcs_1_oaep_encode.c | 58 hLen = hash_descriptor[hash_idx].hashsize;
|
pkcs_1_oaep_decode.c | 55 hLen = hash_descriptor[hash_idx].hashsize;
|
pkcs_1_pss_decode.c | 53 hLen = hash_descriptor[hash_idx].hashsize;
|
pkcs_1_pss_encode.c | 56 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) {
|
/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;
|
/external/dropbear/libtomcrypt/src/hashes/chc/ |
chc.c | 73 hash_descriptor[idx].hashsize =
|
/external/openssl/ssl/ |
t1_enc.c | 850 int hashsize = EVP_MD_size(md); local 851 if (hashsize < 0 || hashsize > (int)(sizeof buf - (size_t)(q-buf))) 860 if (i != (unsigned int)hashsize) /* can't really happen */
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_hash.h | 156 unsigned long hashsize; member in struct:ltc_hash_descriptor
|