OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hash_descriptor
(Results
26 - 35
of
35
) sorted by null
1
2
/external/dropbear/libtomcrypt/src/prngs/
yarrow.c
151
if ((err =
hash_descriptor
[prng->yarrow.hash].init(&md)) != CRYPT_OK) {
157
if ((err =
hash_descriptor
[prng->yarrow.hash].process(&md, prng->yarrow.pool,
158
hash_descriptor
[prng->yarrow.hash].hashsize)) != CRYPT_OK) {
164
if ((err =
hash_descriptor
[prng->yarrow.hash].process(&md, in, inlen)) != CRYPT_OK) {
170
if ((err =
hash_descriptor
[prng->yarrow.hash].done(&md, prng->yarrow.pool)) != CRYPT_OK) {
202
ks = (int)
hash_descriptor
[prng->yarrow.hash].hashsize;
349
if ((err =
hash_descriptor
[prng.yarrow.hash].test()) != CRYPT_OK) {
/external/dropbear/libtomcrypt/demos/
tv_gen.c
128
for (x = 0;
hash_descriptor
[x].name != NULL; x++) {
129
buf = XMALLOC(2 *
hash_descriptor
[x].blocksize + 1);
134
fprintf(out, "Hash: %s\n",
hash_descriptor
[x].name);
135
for (y = 0; y <= (
hash_descriptor
[x].blocksize * 2); y++) {
245
for (x = 0;
hash_descriptor
[x].name != NULL; x++) {
246
fprintf(out, "HMAC-%s\n",
hash_descriptor
[x].name);
249
for (y = 0; y < (int)
hash_descriptor
[x].hashsize; y++) {
253
input = XMALLOC(
hash_descriptor
[x].blocksize * 2 + 1);
259
for (y = 0; y <= (int)(
hash_descriptor
[x].blocksize * 2); y++) {
264
if ((err = hmac_memory(x, key,
hash_descriptor
[x].hashsize, input, y, output, &len)) != CRYPT_OK)
[
all
...]
encrypt.c
152
ks =
hash_descriptor
[hash_idx].hashsize;
/external/dropbear/libtomcrypt/src/mac/hmac/
hmac_test.c
20
#define HMAC_BLOCKSIZE
hash_descriptor
[hash].blocksize
280
if(XMEMCMP(digest, cases[i].digest, (size_t)
hash_descriptor
[hash].hashsize) != 0) {
286
for(j=0; j <
hash_descriptor
[hash].hashsize; j++) {
290
for(j=0; j <
hash_descriptor
[hash].hashsize; j++) {
/external/dropbear/libtomcrypt/src/pk/pkcs1/
pkcs_1_oaep_encode.c
58
hLen =
hash_descriptor
[hash_idx].hashsize;
pkcs_1_oaep_decode.c
55
hLen =
hash_descriptor
[hash_idx].hashsize;
/external/dropbear/libtomcrypt/src/hashes/chc/
chc.c
73
hash_descriptor
[idx].hashsize =
74
hash_descriptor
[idx].blocksize = cipher_descriptor[cipher].block_length;
/external/dropbear/libtomcrypt/testprof/
x86_prof.c
37
("%-20s: Process at %5lu\n",
hash_descriptor
[results[x].id].name, results[x].spd1 / 1000);
601
for (x = 0;
hash_descriptor
[x].name != NULL; x++) {
604
if ((err =
hash_descriptor
[x].test()) != CRYPT_OK) {
605
fprintf(stderr, "\n\nERROR: Hash %s failed self-test %s\n",
hash_descriptor
[x].name, error_to_string(err));
609
hash_descriptor
[x].init(&md);
614
func =
hash_descriptor
[x].process;
615
len =
hash_descriptor
[x].blocksize;
628
t1 = ((t1 * CONST64(1000))) / ((ulong64)
hash_descriptor
[x].blocksize);
[
all
...]
/external/dropbear/libtomcrypt/src/headers/
tomcrypt_hash.h
192
}
hash_descriptor
[];
/external/dropbear/libtomcrypt/
crypt.tex
[
all
...]
Completed in 508 milliseconds
1
2