~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
symm/blkc.h: Define a new `BLKC_ADD' macro.
[catacomb]
/
symm
/
chacha.c
diff --git
a/symm/chacha.c
b/symm/chacha.c
index
9b83eea
..
a554c19
100644
(file)
--- a/
symm/chacha.c
+++ b/
symm/chacha.c
@@
-224,7
+224,7
@@
void chacha_seek(chacha_ctx *ctx, unsigned long i)
void chacha_seeku64(chacha_ctx *ctx, kludge64 i)
{
ctx->a[12] = LO64(i); ctx->a[13] = HI64(i);
- ctx->
bufi
= CHACHA_OUTSZ;
+ ctx->
off
= CHACHA_OUTSZ;
}
void chacha_seek_ietf(chacha_ctx *ctx, uint32 i)