Searched refs:hashsize (Results 1 - 25 of 35) sorted by relevance

12

/external/chromium_org/third_party/smhasher/src/
H A DSpeedTest.h6 void TinySpeedTest ( pfHash hash, int hashsize, int keysize, uint32_t seed, bool verbose, double & outCycles );
/external/dropbear/libtomcrypt/src/misc/crypt/
H A Dcrypt_find_hash_any.c38 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/
H A Dhmac_done.c32 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);
H A Dhmac_init.c33 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;
H A Dhmac_test.c280 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/
H A Dhash_filehandle.c44 if (*outlen < hash_descriptor[hash].hashsize) {
45 *outlen = hash_descriptor[hash].hashsize;
52 *outlen = hash_descriptor[hash].hashsize;
H A Dhash_memory.c40 if (*outlen < hash_descriptor[hash].hashsize) {
41 *outlen = hash_descriptor[hash].hashsize;
57 *outlen = hash_descriptor[hash].hashsize;
H A Dhash_memory_multi.c45 if (*outlen < hash_descriptor[hash].hashsize) {
46 *outlen = hash_descriptor[hash].hashsize;
75 *outlen = hash_descriptor[hash].hashsize;
/external/srec/srec/crec/
H A Dastar_pphash.c37 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;
H A Dastar_pphash.h41 int hashsize; member in struct:__anon26798
/external/dropbear/libtomcrypt/src/misc/pkcs5/
H A Dpkcs_5_1.c79 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/
H A Dalgo.h62 unsigned char hashsize; member in struct:dropbear_hash
H A Dpacket.c160 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/
H A Dhashsum.c47 for (x = 0; x < (int)hash_descriptor[idx].hashsize; x++) {
57 for (x = 0; x < (int)hash_descriptor[idx].hashsize; x++) {
H A Dencrypt.c152 ks = hash_descriptor[hash_idx].hashsize;
/external/dropbear/libtomcrypt/src/pk/pkcs1/
H A Dpkcs_1_mgf1.c48 hLen = hash_descriptor[hash_idx].hashsize;
H A Dpkcs_1_oaep_encode.c58 hLen = hash_descriptor[hash_idx].hashsize;
H A Dpkcs_1_oaep_decode.c55 hLen = hash_descriptor[hash_idx].hashsize;
H A Dpkcs_1_pss_decode.c53 hLen = hash_descriptor[hash_idx].hashsize;
H A Dpkcs_1_pss_encode.c56 hLen = hash_descriptor[hash_idx].hashsize;
/external/dropbear/libtomcrypt/src/pk/dsa/
H A Ddsa_encrypt_key.c56 if (inlen > hash_descriptor[hash].hashsize) {
/external/dropbear/libtomcrypt/src/pk/ecc/
H A Decc_encrypt_key.c62 if (inlen > hash_descriptor[hash].hashsize) {
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dphash.c15 #define hashsize(n) ((ub4)1<<(n)) macro
16 #define hashmask(n) (hashsize(n)-1)
80 In which case, the hash table should have hashsize(10) elements.
/external/opencv/cxcore/src/
H A Dcxcopy.cpp315 if( src1->heap->active_count >= dst1->hashsize*CV_SPARSE_HASH_RATIO )
318 dst1->hashsize = src1->hashsize;
320 (void**)cvAlloc( dst1->hashsize*sizeof(dst1->hashtable[0])));
323 memset( dst1->hashtable, 0, dst1->hashsize*sizeof(dst1->hashtable[0]));
329 int tabidx = node->hashval & (dst1->hashsize - 1);
715 memset( mat1->hashtable, 0, mat1->hashsize*sizeof(mat1->hashtable[0]));
/external/dropbear/libtomcrypt/src/prngs/
H A Dyarrow.c158 hash_descriptor[prng->yarrow.hash].hashsize)) != CRYPT_OK) {
202 ks = (int)hash_descriptor[prng->yarrow.hash].hashsize;

Completed in 874 milliseconds

12