mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-09-01 11:16:02 +00:00
Deprecate the bitrotate module; it is superseded by C2y’s stdc_rotate_left and stdc_rotate_right. In several places, prefer the C2y functions to doing things by hand. * lib/arctwo.c (arctwo_encrypt, arctwo_decyrpt): * lib/hash.c (raw_hasher): * lib/hashcode-mem.c (hash_pjw_bare): * lib/hashcode-string1.c (hash_string): * lib/hashcode-string2.c (hash_pjw): * lib/hashkey-string.c (hashkey_string_hash): * lib/mem-hash-map.c (compute_hashval): * lib/struniq.h (hash): * tests/test-array_map.c (string_hash): * tests/test-avltreehash_list.c (string_hash): * tests/test-hash_map.c (string_hash): * tests/test-linkedhash_list.c (string_hash): * tests/test-linkedhash_map.c (string_hash): * tests/test-rbtreehash_list.c (string_hash): Use stdbit.h functions, instead of bitrotate.h functions or doing things by hand. Include stdbit.h to get them. Don’t include bitrotate.h, if it was being included. * lib/getlocalename_l-unsafe.c, lib/getlocalename_l.c: * lib/localename.c: Include stdbit.h, since struniq.h now needs this. * lib/hashcode-mem.c, lib/hashcode-string2.c, lib/hashkey-string.c: * lib/struniq.h, tests/test-array_map.c, tests/test-avltreehash_list.c: * tests/test-hash_map.c, tests/test-linkedhash_list.c: * tests/test-linkedhash_map.c, tests/test-rbtreehash_list.c: (SIZE_BITS): Remove; no longer needed. * modules/array-map-tests, modules/avltreehash-list-tests: * modules/crypto/arctwo, modules/getlocalename_l-simple: * modules/getlocalename_l-unsafe, modules/hash: * modules/hash-map-tests, modules/hashcode-mem: * modules/hashcode-string1, modules/hashcode-string2: * modules/hashkey-string, modules/linkedhash-list-tests: * modules/linkedhash-map-tests, modules/localename: * modules/mem-hash-map, modules/rbtree-list-tests: Depend on stdc_rotate_left. Don’t depend on bitrotate, if we were depending on it. * modules/bitrotate: Deprecate. * modules/crypto/arctwo: Depend on stdc_rotate_right.
25 lines
303 B
Plaintext
25 lines
303 B
Plaintext
Description:
|
|
Compute a hash value for a buffer of known size.
|
|
|
|
Files:
|
|
lib/hashcode-mem.h
|
|
lib/hashcode-mem.c
|
|
lib/hash-pjw-bare.h
|
|
|
|
Depends-on:
|
|
stdc_rotate_left
|
|
|
|
configure.ac:
|
|
|
|
Makefile.am:
|
|
lib_SOURCES += hashcode-mem.h hashcode-mem.c
|
|
|
|
Include:
|
|
"hashcode-mem.h"
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
Jim Meyering
|