/illumos-gate/usr/src/cmd/spell/ |
H A D | hash.c | 49 static long hashsize = HASHSIZE; variable 78 h %= hashsize; 93 pow2[i+1] = (pow2[i]<<LOCHWIDTH) % hashsize; 94 pow2[i+2] = (pow2[i+1]<<HICHWIDTH) % hashsize;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | verify_checksum.c | 42 size_t hashsize; local 68 if ((ret = krb5_c_checksum_length(context, cksum->checksum_type, &hashsize))) 71 if (cksum->length != hashsize) 74 computed.length = hashsize; 82 *valid = (memcmp(computed.contents, cksum->contents, hashsize) == 0);
|
H A D | hmac.c | 113 size_t hashsize, blocksize; local 139 hashsize = hash->hashsize; 144 if (output->length < hashsize) 155 if ((ihash = (unsigned char *) MALLOC(hashsize)) == NULL) { 160 FREE(ihash, hashsize); 181 hashout.length = hashsize; 202 output->length = hashsize; 213 (void) memset(ihash, 0, hashsize); 216 FREE(ihash, hashsize); [all...] |
/illumos-gate/usr/src/lib/libast/common/hash/ |
H A D | hashsize.c | 38 hashsize(register Hash_table_t* tab, int size) function
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/ |
H A D | old_decrypt.c | 48 size_t blocksize, hashsize, plainsize; local 55 hashsize = hash->hashsize; 58 if (input->length < blocksize + hashsize || input->length % blocksize != 0) 60 plainsize = input->length - blocksize - hashsize; 105 (void) memcpy(orig_cksum, output.data+blocksize, hashsize); 106 (void) memset(output.data+blocksize, 0, hashsize); 108 cksum.length = hashsize; 122 (void) memcpy(arg_output->data, output.data+blocksize+hashsize, 125 (void) memmove(arg_output->data, arg_output->data+blocksize+hashsize, [all...] |
H A D | old_encrypt.c | 42 size_t blocksize, hashsize; local 45 hashsize = hash->hashsize; 47 *length = krb5_roundup(blocksize+hashsize+inputlen, blocksize); 62 size_t blocksize, hashsize, enclen; local 67 hashsize = hash->hashsize; 85 (void) memcpy(output->data+blocksize+hashsize, input->data, input->length); 89 datain.length = hashsize;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/ |
H A D | k5_arcfour.c | 27 size_t blocksize, hashsize; local 30 hashsize = hash->hashsize; 33 *length = hashsize + krb5_roundup(8 + inputlen, blocksize); 86 size_t keybytes, blocksize, hashsize; local 91 hashsize = hash->hashsize; 170 checksum.length=hashsize; 174 ciphertext.data=output->data+hashsize; 179 output->length = plaintext.length+hashsize; 282 size_t keybytes, hashsize; local [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/ |
H A D | dk_decrypt.c | 85 size_t hashsize, blocksize, enclen, plainlen; local 106 hashsize = hash->hashsize; 110 hmacsize = hashsize; 111 else if (hmacsize > hashsize) 147 if ((cksum = (unsigned char *) MALLOC(hashsize)) == NULL) { 151 d1.length = hashsize; 201 (void) memset(cksum, 0, hashsize); 202 FREE(cksum, hashsize);
|
H A D | dk_encrypt.c | 50 size_t blocksize, hashsize; local 53 hashsize = hash->hashsize; 54 *length = krb5_roundup(blocksize+inputlen, blocksize) + hashsize; 173 size_t blocksize, hashsize; local 176 hashsize = 96 / 8; 180 *length = blocksize+inputlen + hashsize; 190 size_t hashsize; local 195 hashsize = hash->hashsize; [all...] |
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_index_entry.cc | 128 db_index_entry::relocate(db_index_entry_p *new_tab, unsigned long hashsize) argument 134 hp = &new_tab[np->hashval % hashsize];
|
H A D | db_dictionary.cc | 224 db_table_desc_p *new_tab, unsigned long hashsize) 230 hp = &new_tab[np->hashval % hashsize]; 223 relocate_bucket(db_table_desc* bucket, db_table_desc_p *new_tab, unsigned long hashsize) argument
|
/illumos-gate/usr/src/cmd/sgs/crle/common/ |
H A D | config.c | 40 static const int hashsize[] = { variable 96 for (ndx = 0; ndx < (sizeof (hashsize) / sizeof (int)); ndx++) { 97 if (crle->c_hashstrnum > hashsize[ndx]) 99 hashbkts = hashsize[ndx];
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kobj.h | 78 unsigned int hashsize; member in struct:module
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | rctl.c | 371 uint_t hashsize; member in struct:set_walk_data 403 swd->hashsize = hashsz; 422 if (swd->hashcur >= swd->hashsize) 426 while (swd->hashcur < swd->hashsize) { 434 swd->hashcur >= swd->hashsize) 459 mdb_free(sd->hashloc, sd->hashsize * sizeof (rctl_t *));
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_db.c | 257 uint32_t size, uint32_t hashsize, 279 table->dbt_len = hashsize; 253 rfs4_table_create(rfs4_database_t *db, char *tabname, time_t max_cache_time, uint32_t idxcnt, bool_t (*create)(rfs4_entry_t, void *), void (*destroy)(rfs4_entry_t), bool_t (*expiry)(rfs4_entry_t), uint32_t size, uint32_t hashsize, uint32_t maxentries, id_t start) argument
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge.c | 5004 #define hashsize(n) ((ub4)1<<(n)) macro 5005 #define hashmask(n) (hashsize(n)-1)
|
/illumos-gate/usr/src/cmd/make/include/mksh/ |
H A D | defs.h | 61 hashsize = 2048 /* size of hash table */ enumerator in enum:__anon22
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | k5-int.h | 806 size_t hashsize, blocksize; member in struct:krb5_hash_provider 815 size_t hashsize; member in struct:krb5_keyhash_provider
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 2463 uintptr_t hashsize = (buf->dtb_size >> 3) / sizeof (uintptr_t); local 2465 if ((uintptr_t)agb - hashsize * sizeof (dtrace_aggkey_t *) < 2466 (uintptr_t)tomax || hashsize == 0) { 2479 if (hashsize > (DTRACE_AGGHASHSIZE_SLEW << 3)) 2480 hashsize -= DTRACE_AGGHASHSIZE_SLEW; 2482 agb->dtagb_hashsize = hashsize; 13453 size_t hashsize, maxper, min, chunksize = dstate->dtds_chunksize; local 13480 hashsize = size / (dstate->dtds_chunksize + sizeof (dtrace_dynhash_t)); 13482 if (hashsize != 1 && (hashsize [all...] |