~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shore up the `grand' protocol.
[catacomb]
/
symm
/
chacha.c
diff --git
a/symm/chacha.c
b/symm/chacha.c
index
bd94ffd
..
e694ad2
100644
(file)
--- a/
symm/chacha.c
+++ b/
symm/chacha.c
@@
-672,7
+672,7
@@
static void grdestroy(grand *r)
static const grand_ops grops_rand_##rr = { \
"chacha" #rr, GRAND_CRYPTO, 0, \
grmisc, grdestroy, grword, \
static const grand_ops grops_rand_##rr = { \
"chacha" #rr, GRAND_CRYPTO, 0, \
grmisc, grdestroy, grword, \
- grbyte, grword, grand_
range, grfill
\
+ grbyte, grword, grand_
defaultrange, grfill
\
}; \
\
grand *chacha##rr##_rand(const void *k, size_t ksz, const void *n) \
}; \
\
grand *chacha##rr##_rand(const void *k, size_t ksz, const void *n) \
@@
-714,7
+714,7
@@
CHACHA_VARS(DEFGRAND)
static const grand_ops grxops_rand_##rr = { \
"xchacha" #rr, GRAND_CRYPTO, 0, \
grmisc, grxdestroy_##rr, grword, \
static const grand_ops grxops_rand_##rr = { \
"xchacha" #rr, GRAND_CRYPTO, 0, \
grmisc, grxdestroy_##rr, grword, \
- grbyte, grword, grand_
range, grfill
\
+ grbyte, grword, grand_
defaultrange, grfill
\
}; \
\
grand *xchacha##rr##_rand(const void *k, size_t ksz, const void *n) \
}; \
\
grand *xchacha##rr##_rand(const void *k, size_t ksz, const void *n) \