~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unaligned.h: rationalise; provide buf_append_uint8 et al
[secnet]
/
serpent.h
diff --git
a/serpent.h
b/serpent.h
index
dbbd36e
..
07176d7
100644
(file)
--- a/
serpent.h
+++ b/
serpent.h
@@
-10,10
+10,10
@@
struct keyInstance {
void serpent_makekey(struct keyInstance *key, int keyLen,
uint8_t *keyMaterial);
void serpent_makekey(struct keyInstance *key, int keyLen,
uint8_t *keyMaterial);
-void serpent_encrypt(struct keyInstance *key, uint
32_t plaintext[4
],
- uint
32_t ciphertext[4
]);
+void serpent_encrypt(struct keyInstance *key, uint
8_t plaintext[16
],
+ uint
8_t ciphertext[16
]);
-void serpent_decrypt(struct keyInstance *key, uint
32_t ciphertext[4
],
- uint
32_t plaintext[4
]);
+void serpent_decrypt(struct keyInstance *key, uint
8_t ciphertext[16
],
+ uint
8_t plaintext[16
]);
#endif /* serpent_h */
#endif /* serpent_h */