/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | hashsum.c | 32 {"hash", 'h', 0, N_("Specify hash to use."), N_("HASH"), ARG_TYPE_STRING}, 33 {"check", 'c', 0, N_("Check hash list file."), N_("FILE"), ARG_TYPE_STRING}, 34 {"prefix", 'p', 0, N_("Base directory for hash list."), N_("DIRECTORY"), 63 hash_file (grub_file_t file, const gcry_md_spec_t *hash, void *result) argument 65 grub_uint8_t context[hash->contextsize]; 69 hash->init (context); 78 hash->write (context, readbuf, r); 80 hash->final (context); 81 grub_memcpy (result, hash 87 check_list(const gcry_md_spec_t *hash, const char *hashfilename, const char *prefix, int keep, int uncompress) argument 185 const gcry_md_spec_t *hash; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/disk/arc/ |
H A D | arcdisk.c | 43 int hash = 0; local 45 hash ^= *devpath++; 46 return (hash & (ARCDISK_HASH_SZ - 1)); 141 struct arcdisk_hash_ent *hash; local 177 hash = arcdisk_hash_find (fullname); 178 if (!hash) 179 hash = arcdisk_hash_add (fullname); 180 if (!hash) 217 disk->id = hash->num;
|
/osnet-11/usr/src/grub/grub2/grub-core/disk/ieee1275/ |
H A D | ofdisk.c | 44 int hash = 0; local 46 hash ^= *devpath++; 47 return (hash & (OFDISK_HASH_SZ - 1));
|
/osnet-11/usr/src/grub/grub2/grub-core/disk/ |
H A D | luks.c | 63 gcry_err_code_t AF_merge (const gcry_md_spec_t * hash, grub_uint8_t * src, 82 const gcry_md_spec_t *hash = NULL, *essiv_hash = NULL; local 241 /* Configure the hash and cipher used for ESSIV. */ 247 "Couldn't load %s hash", hash_str); 265 /* Configure the hash used for the AF splitter and HMAC. */ 266 hash = grub_crypto_lookup_md_by_name (hashspec); 267 if (!hash) 272 grub_error (GRUB_ERR_FILE_NOT_FOUND, "Couldn't load %s hash", 289 newdev->hash = hash; [all...] |
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | cryptodisk.h | 71 const gcry_md_spec_t *essiv_hash, *hash, *iv_hash; member in struct:grub_cryptodisk
|
/osnet-11/usr/src/grub/grub2/include/grub/lib/ |
H A D | LzFind.h | 46 CLzRef *hash; member in struct:_CMatchFinder
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | av.c | 932 * first element of the array should be a hash reference that maps 933 * hash keys to array indices. 941 Perl_croak(aTHX_ "Bad index while coercing array into hash"); 946 S_avhv_index(pTHX_ AV *av, SV *keysv, U32 hash) argument 953 he = hv_fetch_ent(keys, keysv, FALSE, hash); 955 Perl_croak(aTHX_ "No such pseudo-hash field \"%s\"", SvPV(keysv,n_a)); 976 Perl_croak(aTHX_ "Can't coerce array into hash"); 981 Perl_avhv_store_ent(pTHX_ AV *av, SV *keysv, SV *val, U32 hash) argument 983 return av_store(av, avhv_index(av, keysv, hash), val); 987 Perl_avhv_fetch_ent(pTHX_ AV *av, SV *keysv, I32 lval, U32 hash) argument 993 Perl_avhv_delete_ent(pTHX_ AV *av, SV *keysv, I32 flags, U32 hash) argument 1009 Perl_avhv_exists_ent(pTHX_ AV *av, SV *keysv, U32 hash) argument [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/sdbm/ |
H A D | sdbm.c | 228 register long hash; local 242 if (getpage(db, (hash = exhash(key)))) { 257 if (!makroom(db, hash, need)) 283 makroom(register DBM *db, long int hash, int need) argument 303 newp = (hash & db->hmask) | (db->hmask + 1); 330 if (hash & (db->hmask + 1)) { 355 ((hash & (db->hmask + 1)) ? 2 : 1); 408 getpage(register DBM *db, register long int hash) argument 417 dbit = 2 * dbit + ((hash & (1 << hbit++)) ? 2 : 1); 424 pagb = hash [all...] |
/osnet-11/usr/src/lib/libc/port/threads/ |
H A D | tdb_agent.c | 112 * This knows for a fact that the hash table has 183 * There is no point allocating the hash table 263 * On the first time through, initialize the hash table and free list. 277 * Look up an address in the synchronization object hash table. 303 * statistics block of every element in the hash table. 358 uint_t hash; local 367 * never been initiated or there is nothing in the hash bucket. 368 * (Once the hash table is allocated, it is never deallocated.) 371 tdbp->tdb_sync_addr_hash[hash = tdb_addr_hash(addr)] == NULL) 375 sapp = &tdbp->tdb_sync_addr_hash[hash]; [all...] |
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softDSA.c | 303 CK_BYTE hash[SHA1_DIGEST_LENGTH]; local 334 rv = soft_digest_final(session_p, hash, &hash_len); 336 rv = soft_digest(session_p, pData, ulDataLen, hash, &hash_len); 350 rv = soft_dsa_sign(session_p, hash, hash_len, pSigned, pulSignedLen); 418 CK_BYTE hash[SHA1_DIGEST_LENGTH]; local 424 rv = soft_digest_final(session_p, hash, &hash_len); 426 rv = soft_digest(session_p, pData, ulDataLen, hash, &hash_len); 440 rv = soft_dsa_verify(session_p, hash, hash_len,
|
H A D | softEC.c | 439 CK_BYTE hash[SHA1_DIGEST_LENGTH]; local 444 rv = soft_digest_final(session_p, hash, &hash_len); 446 rv = soft_digest(session_p, pData, ulDataLen, hash, 460 rv = soft_ecc_sign(session_p, hash, hash_len, pSigned, pulSignedLen); 609 CK_BYTE hash[SHA1_DIGEST_LENGTH]; local 613 rv = soft_digest_final(session_p, hash, &hash_len); 615 rv = soft_digest(session_p, pData, ulDataLen, hash, &hash_len); 631 rv = soft_ecc_verify(session_p, hash, hash_len,
|
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | mech_rsa.c | 403 CK_BYTE hash[SHA1_DIGEST_LENGTH]; local 437 in_data_len, hash, &hash_len); 442 hash, hash_len); 532 CK_BYTE hash[SHA1_DIGEST_LENGTH]; local 566 in_data_len, hash, &hash_len); 571 hash, hash_len); 657 CK_BYTE hash[SHA1_DIGEST_LENGTH]; local 683 &context->hash_context, hash, &hash_len); 689 hash, hash_len); 739 CK_BYTE hash[SHA1_DIGEST_LENGT local [all...] |
H A D | utility.c | 624 CK_BYTE * hash) 632 SHA1Final(hash, &ctx); 622 compute_sha(CK_BYTE *data, CK_ULONG_32 len, CK_BYTE * hash) argument
|
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_ntlm.c | 66 * Compute an LM hash given a password 69 * hash: 16-byte "LanMan" (LM) hash. 79 smbfs_ntlm_compute_lm_hash(uchar_t *hash, const char *pass) argument 95 /* Compute the hash. */ 96 err = smbfs_encrypt_DES(hash, NTLM_HASH_SZ, 106 * Compute an NT hash given a password in UTF-8. 109 * hash: 16-byte "NT" hash. 115 smbfs_ntlm_compute_nt_hash(uchar_t *hash, cons argument 144 smbfs_ntlm_v1_response(uchar_t *resp, const uchar_t *hash, const uchar_t *chal, int clen) argument [all...] |
/osnet-11/usr/src/lib/libkvm/common/ |
H A D | kvm.c | 238 long hash = DUMP_HASH(&kd->kvm_dump, as, page); local 239 off = kd->kvm_map[hash].dm_first; 248 hash) {
|
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/ |
H A D | ext2.h | 68 struct ext2_buffer_head **hash; member in struct:ext2_buffer_cache
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | db.h | 141 u_int32_t /* hash function */ 142 (*hash) __P((const void *, size_t)); member in struct:__anon1014
|
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | fnmatch_loop.c | 476 int32_t hash; local 498 hash = elem_hash (str, c1); 501 elem = hash % table_size; 504 second = hash % (table_size - 2) + 1; 509 if (symb_table[2 * elem] == hash 697 int32_t hash; local 720 hash = elem_hash (str, c1); 723 elem = hash % table_size; 726 second = hash % (table_size - 2) + 1; 731 if (symb_table[2 * elem] == hash [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/lib/ |
H A D | crypto.c | 98 grub_crypto_hash (const gcry_md_spec_t *hash, void *out, const void *in, argument 101 grub_uint8_t ctx[hash->contextsize]; 102 hash->init (&ctx); 103 hash->write (&ctx, in, inlen); 104 hash->final (&ctx); 105 grub_memcpy (out, hash->read (&ctx), hash->mdlen);
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/ |
H A D | elgamal.c | 782 elg_verify (int algo, gcry_mpi_t hash, gcry_mpi_t *data, gcry_mpi_t *pkey, argument 792 if ((! data[0]) || (! data[1]) || (! hash) 800 if (! verify (data[0], data[1], hash, &pk))
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/ |
H A D | elgamal.c | 782 elg_verify (int algo, gcry_mpi_t hash, gcry_mpi_t *data, gcry_mpi_t *pkey, argument 792 if ((! data[0]) || (! data[1]) || (! hash) 800 if (! verify (data[0], data[1], hash, &pk))
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/xzembed/ |
H A D | xz_dec_stream.c | 79 const gcry_md_spec_t *hash; member in struct:xz_dec 127 struct xz_dec_hash hash; member in struct:xz_dec::__anon610 146 * Hash calculated from the Records (matches block.hash in 149 struct xz_dec_hash hash; member in struct:xz_dec::__anon611 237 * the sizes possibly stored in the Block Header. Update the hash and 267 if (s->hash) 268 s->hash->write(s->hash_context,b->out + s->out_start, 286 s->block.hash.unpadded += s->block_header.size 288 s->block.hash.unpadded += s->hash_size; 290 s->block.hash 383 const gcry_md_spec_t *hash = crc32 ? s->crc32 : s->hash; local [all...] |
/osnet-11/usr/src/grub/grub2/util/ |
H A D | grub-solvers.c | 83 bblk_hash_t bblk_no_hash = {BBLK_NO_HASH, 0, "(no hash)", NULL}; 87 compute_hash(bblk_hs_t *hs, unsigned char *dest, bblk_hash_t *hash) argument 89 if (hs == NULL || dest == NULL || hash == NULL) 92 hash->compute_hash(dest, hs->src_buf, hs->src_size); 107 * 'dest' might be both containing the buffer we want to hash and 124 (void) fprintf(stderr, gettext("%s hash operation failed\n"),
|
/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_graph.c | 119 * Graph structure. Vertices are maintained in a hash indexed by dataset name. 252 * parameter so in the future we can size the hash according to the number of 277 * Destroy a graph object. We have to iterate over all the hash chains, 300 * Graph hash function. Classic bernstein k=33 hash function, taken from 306 size_t hash = 5381; local 310 hash = ((hash << 5) + hash) + c; /* hash * 3 [all...] |
/osnet-11/usr/src/lib/passwdutil/ |
H A D | files_attr.c | 696 char *hash = NULL; local 708 hash = crypt(p->data.val_s, salt); 710 if (hash == NULL) { 715 pwbuf->history = strdup(hash); 722 /* append new password hash */ 724 strlen(hash) + 1; 732 (void) strlcat(pword, hash, len);
|