/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/ |
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;
|
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...] |
/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 | checksum_length.c | 46 *length = krb5_cksumtypes_list[i].keyhash->hashsize; 50 *length = krb5_cksumtypes_list[i].hash->hashsize;
|
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...] |
H A D | make_checksum.c | 58 cksumlen = krb5_cksumtypes_list[i].keyhash->hashsize; 60 cksumlen = krb5_cksumtypes_list[i].hash->hashsize;
|
/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/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/lib/libast/common/hash/ |
H A D | hashsize.c | 38 hashsize(register Hash_table_t* tab, int size) function
|
H A D | hashlook.c | 278 hashsize(tab, tab->size << 1);
|
/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/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];
|
/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/lib/libast/amd64/include/ast/ |
H A D | hash.h | 206 extern __MANGLE__ void hashsize __PROTO__((Hash_table_t*, int));
|
/illumos-gate/usr/src/lib/libast/common/include/ |
H A D | hash.h | 196 extern void hashsize(Hash_table_t*, int);
|
/illumos-gate/usr/src/lib/libast/i386/include/ast/ |
H A D | hash.h | 206 extern __MANGLE__ void hashsize __PROTO__((Hash_table_t*, int));
|
/illumos-gate/usr/src/lib/libast/sparc/include/ast/ |
H A D | hash.h | 206 extern __MANGLE__ void hashsize __PROTO__((Hash_table_t*, int));
|
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | hash.h | 206 extern __MANGLE__ void hashsize __PROTO__((Hash_table_t*, int));
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kobj.h | 78 unsigned int hashsize; member in struct:module
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_hash.c | 97 #define DAPL_DOHASH(key, hashsize) ((uint64_t)((key) % (hashsize)))
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj.c | 762 mp->hashsize = *(uint_t *)dyn->d_un.d_ptr; 841 mp->buckets = kobj_zalloc(mp->hashsize * sizeof (symid_t), KM_WAIT); 940 mp->hashsize = kobj_gethashsize(mp->nsyms); 943 (mp->hashsize + mp->nsyms) * sizeof (symid_t); 946 mp->buckets = kobj_zalloc(mp->hashsize * sizeof (symid_t), KM_WAIT); 1535 mp->hashsize = kobj_gethashsize(mp->nsyms); 1549 (mp->hashsize + mp->nsyms) * sizeof (symid_t) + strsize; 1567 mp->chains = (symid_t *)(mp->buckets + mp->hashsize); 2542 mp->hashsize = kobj_gethashsize(mp->nsyms); 2548 (mp->hashsize [all...] |
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt.h | 289 #define call_hash(xid, hashsize) \ 290 (xid % hashsize);
|
/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
|