diff options
| author | Mark Murray <markm@FreeBSD.org> | 2002-07-15 13:58:35 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 2002-07-15 13:58:35 +0000 |
| commit | bbf09ad887f1ebc18052ee12f5074c05d69a4e46 (patch) | |
| tree | fb7e9c3d811aeb44859d7b6f68ad78e9fda5e601 /sys/dev/random/hash.h | |
| parent | d56fb9ceb03aa4f84769867422a3d544e99b6073 (diff) | |
Notes
Diffstat (limited to 'sys/dev/random/hash.h')
| -rw-r--r-- | sys/dev/random/hash.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/random/hash.h b/sys/dev/random/hash.h index 5a308210d690..b307bfcb09f2 100644 --- a/sys/dev/random/hash.h +++ b/sys/dev/random/hash.h @@ -26,14 +26,10 @@ * $FreeBSD$ */ -#define KEYSIZE 32 /* in bytes - 32 bytes == 256 bits */ +#define KEYSIZE 32 /* (in bytes) 32 bytes == 256 bits */ struct yarrowhash { /* Big! Make static! */ - keyInstance hashkey; /* Data cycles through here */ - cipherInstance cipher; /* Rijndael internal */ - u_char hash[KEYSIZE]; /* Repeatedly encrypted */ - char accum[KEYSIZE]; /* Accumulate partial chunks */ - u_int partial; /* Keep track of < KEYSIZE chunks */ + SHA256_CTX sha; }; struct yarrowkey { /* Big! Make static! */ |
