~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math/mpx-mul4-*.S: Use more portable type syntax for ambiguous instructions.
[catacomb]
/
symm
/
chacha.h
diff --git
a/symm/chacha.h
b/symm/chacha.h
index
994cfa2
..
6c380dc
100644
(file)
--- a/
symm/chacha.h
+++ b/
symm/chacha.h
@@
-64,8
+64,8
@@
typedef uint32 chacha_matrix[16];
typedef struct chacha_ctx {
chacha_matrix a;
typedef struct chacha_ctx {
chacha_matrix a;
- octet b
uf
[CHACHA_OUTSZ];
-
size_t bufi
;
+ octet b[CHACHA_OUTSZ];
+
unsigned off
;
} chacha_ctx;
#define XCHACHA_DEFCTX(name) \
} chacha_ctx;
#define XCHACHA_DEFCTX(name) \
@@
-89,8
+89,8
@@
XCHACHA_DEFCTX(xchacha8_ctx);
*/
extern void chacha_init(chacha_ctx */*ctx*/,
*/
extern void chacha_init(chacha_ctx */*ctx*/,
-
const void */*key*/, size_t /*ksz*/,
-
const void */*nonce*/);
+ const void */*key*/, size_t /*ksz*/,
+ const void */*nonce*/);
/* --- @chacha_setnonce{,_ietf}@ --- *
*
/* --- @chacha_setnonce{,_ietf}@ --- *
*