/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/ |
H A D | old_decrypt.c | 48 size_t blocksize, hashsize, plainsize; in krb5_old_decrypt() local 55 hashsize = hash->hashsize; in krb5_old_decrypt() 58 if (input->length < blocksize + hashsize || input->length % blocksize != 0) in krb5_old_decrypt() 60 plainsize = input->length - blocksize - hashsize; in krb5_old_decrypt() 105 (void) memcpy(orig_cksum, output.data+blocksize, hashsize); in krb5_old_decrypt() 106 (void) memset(output.data+blocksize, 0, hashsize); in krb5_old_decrypt() 108 cksum.length = hashsize; in krb5_old_decrypt() 122 (void) memcpy(arg_output->data, output.data+blocksize+hashsize, in krb5_old_decrypt() 125 (void) memmove(arg_output->data, arg_output->data+blocksize+hashsize, in krb5_old_decrypt() 144 (void) memset(new_cksum, 0, hashsize); in krb5_old_decrypt()
|
H A D | old_encrypt.c | 42 size_t blocksize, hashsize; in krb5_old_encrypt_length() local 45 hashsize = hash->hashsize; in krb5_old_encrypt_length() 47 *length = krb5_roundup(blocksize+hashsize+inputlen, blocksize); in krb5_old_encrypt_length() 62 size_t blocksize, hashsize, enclen; in krb5_old_encrypt() local 67 hashsize = hash->hashsize; in krb5_old_encrypt() 85 (void) memcpy(output->data+blocksize+hashsize, input->data, input->length); in krb5_old_encrypt() 89 datain.length = hashsize; in krb5_old_encrypt()
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | hmac.c | 113 size_t hashsize, blocksize; in krb5_hmac() local 139 hashsize = hash->hashsize; in krb5_hmac() 144 if (output->length < hashsize) in krb5_hmac() 155 if ((ihash = (unsigned char *) MALLOC(hashsize)) == NULL) { in krb5_hmac() 160 FREE(ihash, hashsize); in krb5_hmac() 181 hashout.length = hashsize; in krb5_hmac() 202 output->length = hashsize; in krb5_hmac() 213 (void) memset(ihash, 0, hashsize); in krb5_hmac() 216 FREE(ihash, hashsize); in krb5_hmac()
|
H A D | verify_checksum.c | 42 size_t hashsize; in krb5_c_verify_checksum() local 68 if ((ret = krb5_c_checksum_length(context, cksum->checksum_type, &hashsize))) in krb5_c_verify_checksum() 71 if (cksum->length != hashsize) in krb5_c_verify_checksum() 74 computed.length = hashsize; in krb5_c_verify_checksum() 82 *valid = (memcmp(computed.contents, cksum->contents, hashsize) == 0); in krb5_c_verify_checksum()
|
H A D | checksum_length.c | 46 *length = krb5_cksumtypes_list[i].keyhash->hashsize; in krb5_c_checksum_length() 50 *length = krb5_cksumtypes_list[i].hash->hashsize; in krb5_c_checksum_length()
|
H A D | make_checksum.c | 58 cksumlen = krb5_cksumtypes_list[i].keyhash->hashsize; in krb5_c_make_checksum() 60 cksumlen = krb5_cksumtypes_list[i].hash->hashsize; in krb5_c_make_checksum()
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/ |
H A D | dk_decrypt.c | 85 size_t hashsize, blocksize, enclen, plainlen; in krb5_dk_decrypt_maybe_trunc_hmac() local 106 hashsize = hash->hashsize; in krb5_dk_decrypt_maybe_trunc_hmac() 110 hmacsize = hashsize; in krb5_dk_decrypt_maybe_trunc_hmac() 111 else if (hmacsize > hashsize) in krb5_dk_decrypt_maybe_trunc_hmac() 147 if ((cksum = (unsigned char *) MALLOC(hashsize)) == NULL) { in krb5_dk_decrypt_maybe_trunc_hmac() 151 d1.length = hashsize; in krb5_dk_decrypt_maybe_trunc_hmac() 201 (void) memset(cksum, 0, hashsize); in krb5_dk_decrypt_maybe_trunc_hmac() 202 FREE(cksum, hashsize); in krb5_dk_decrypt_maybe_trunc_hmac()
|
H A D | dk_encrypt.c | 50 size_t blocksize, hashsize; in krb5_dk_encrypt_length() local 53 hashsize = hash->hashsize; in krb5_dk_encrypt_length() 54 *length = krb5_roundup(blocksize+inputlen, blocksize) + hashsize; in krb5_dk_encrypt_length() 173 size_t blocksize, hashsize; local 176 hashsize = 96 / 8; 180 *length = blocksize+inputlen + hashsize; 190 size_t hashsize; in trunc_hmac() local 195 hashsize = hash->hashsize; in trunc_hmac() 196 if (hashsize < output->length) in trunc_hmac() 199 tmphash.length = hashsize; in trunc_hmac()
|
/titanic_41/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 286 hashsize = hash->hashsize; [all …]
|
/titanic_41/usr/src/cmd/spell/ |
H A D | hash.c | 49 static long hashsize = HASHSIZE; variable 78 h %= hashsize; in hash() 93 pow2[i+1] = (pow2[i]<<LOCHWIDTH) % hashsize; in hashinit() 94 pow2[i+2] = (pow2[i+1]<<HICHWIDTH) % hashsize; in hashinit()
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | rctl.c | 371 uint_t hashsize; member 403 swd->hashsize = hashsz; in rctl_set_walk_init() 422 if (swd->hashcur >= swd->hashsize) in rctl_set_walk_step() 426 while (swd->hashcur < swd->hashsize) { in rctl_set_walk_step() 434 swd->hashcur >= swd->hashsize) in rctl_set_walk_step() 459 mdb_free(sd->hashloc, sd->hashsize * sizeof (rctl_t *)); in rctl_set_walk_fini()
|
/titanic_41/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++) { in genconfig() 97 if (crle->c_hashstrnum > hashsize[ndx]) in genconfig() 99 hashbkts = hashsize[ndx]; in genconfig()
|
/titanic_41/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) in relocate() argument 134 hp = &new_tab[np->hashval % hashsize]; in relocate()
|
/titanic_41/usr/src/lib/libast/common/hash/ |
H A D | hashsize.c | 38 hashsize(register Hash_table_t* tab, int size) in hashsize() function
|
/titanic_41/usr/src/cmd/fs.d/cachefs/fsck/ |
H A D | fsck.c | 962 int hashsize = 0; in process_fsdir() local 1073 ++hashsize; in process_fsdir() 1074 if (hcreate(hashsize + 1000) == 0) { in process_fsdir() 1077 hashsize = 0; in process_fsdir() 1186 if (hashsize != 0) in process_fsdir()
|
/titanic_41/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_hash.c | 97 #define DAPL_DOHASH(key, hashsize) ((uint64_t)((key) % (hashsize))) argument
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | kobj.h | 78 unsigned int hashsize; member
|
/titanic_41/usr/src/lib/libast/common/include/ |
H A D | hash.h | 196 extern void hashsize(Hash_table_t*, int);
|
/titanic_41/usr/src/uts/common/krtld/ |
H A D | kobj.c | 762 mp->hashsize = *(uint_t *)dyn->d_un.d_ptr; in load_exec() 841 mp->buckets = kobj_zalloc(mp->hashsize * sizeof (symid_t), KM_WAIT); in load_exec() 940 mp->hashsize = kobj_gethashsize(mp->nsyms); in load_linker() 943 (mp->hashsize + mp->nsyms) * sizeof (symid_t); in load_linker() 946 mp->buckets = kobj_zalloc(mp->hashsize * sizeof (symid_t), KM_WAIT); in load_linker() 1535 mp->hashsize = kobj_gethashsize(mp->nsyms); in kobj_export_ksyms() 1549 (mp->hashsize + mp->nsyms) * sizeof (symid_t) + strsize; in kobj_export_ksyms() 1567 mp->chains = (symid_t *)(mp->buckets + mp->hashsize); in kobj_export_ksyms() 2542 mp->hashsize = kobj_gethashsize(mp->nsyms); in get_syms() 2548 (mp->hashsize + mp->nsyms) * sizeof (symid_t) + mp->strhdr->sh_size; in get_syms() [all …]
|
/titanic_41/usr/src/lib/libast/amd64/include/ast/ |
H A D | hash.h | 206 extern __MANGLE__ void hashsize __PROTO__((Hash_table_t*, int));
|
/titanic_41/usr/src/lib/libast/sparc/include/ast/ |
H A D | hash.h | 206 extern __MANGLE__ void hashsize __PROTO__((Hash_table_t*, int));
|
/titanic_41/usr/src/lib/libast/i386/include/ast/ |
H A D | hash.h | 206 extern __MANGLE__ void hashsize __PROTO__((Hash_table_t*, int));
|
/titanic_41/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | hash.h | 206 extern __MANGLE__ void hashsize __PROTO__((Hash_table_t*, int));
|
/titanic_41/usr/src/uts/common/rpc/ |
H A D | clnt.h | 289 #define call_hash(xid, hashsize) \ argument 290 (xid % hashsize);
|
/titanic_41/usr/src/lib/libast/common/ |
H A D | README | 30 hashsize explicitly change table size (usually automatic)
|