OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:hash
(Results
26 - 50
of
2206
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/oprofile/libutil/
op_string.c
24
size_t
hash
= 0;
local
26
hash
^= (
hash
<< 16) ^ (
hash
>> 8) ^ *str;
27
return
hash
;
/external/dropbear/libtomcrypt/src/mac/hmac/
hmac_init.c
20
#define HMAC_BLOCKSIZE hash_descriptor[
hash
].blocksize
25
@param
hash
The index of the
hash
you want to use
30
int hmac_init(hmac_state *hmac, int
hash
, const unsigned char *key, unsigned long keylen)
40
/* valid
hash
? */
41
if ((err = hash_is_valid(
hash
)) != CRYPT_OK) {
44
hmac->
hash
=
hash
;
45
hashsize = hash_descriptor[
hash
].hashsize;
68
if ((err = hash_memory(
hash
, key, keylen, hmac->key, &z)) != CRYPT_OK)
[
all
...]
/external/dropbear/libtomcrypt/src/headers/
tomcrypt_hash.h
1
/* ----
HASH
FUNCTIONS ---- */
149
/**
hash
descriptor */
151
/** name of
hash
*/
164
/** Init a
hash
state
165
@param
hash
The
hash
to initialize
168
int (*init)(hash_state *
hash
);
170
@param
hash
The
hash
state
171
@param in The data to
hash
[
all
...]
/external/dropbear/libtomcrypt/src/hashes/helper/
hash_file.c
15
Hash
a file, Tom St Denis
19
@param
hash
The index of the
hash
desired
20
@param fname The name of the file you wish to
hash
25
int hash_file(int
hash
, const char *fname, unsigned char *out, unsigned long *outlen)
36
if ((err = hash_is_valid(
hash
)) != CRYPT_OK) {
45
err = hash_filehandle(
hash
, in, out, outlen);
/external/dropbear/libtomcrypt/src/misc/crypt/
crypt_unregister_hash.c
15
Unregister a
hash
, Tom St Denis
19
Unregister a
hash
from the descriptor table
20
@param
hash
The
hash
descriptor to remove
23
int unregister_hash(const struct ltc_hash_descriptor *
hash
)
27
LTC_ARGCHK(
hash
!= NULL);
32
if (XMEMCMP(&hash_descriptor[x],
hash
, sizeof(struct ltc_hash_descriptor)) == 0) {