chiark / gitweb /
Correct a couple of errors in the README.
[secnet.git] / serpent.h
index dbbd36e1f8ad3c1f0313efdc5dace56b7a1422d1..07176d76d806f58faf7171fca9a847849ec7cd1b 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_encrypt(struct keyInstance *key, uint32_t plaintext[4],
-                    uint32_t ciphertext[4]);
+void serpent_encrypt(struct keyInstance *key, uint8_t plaintext[16],
+                    uint8_t ciphertext[16]);
 
-void serpent_decrypt(struct keyInstance *key, uint32_t ciphertext[4],
-                    uint32_t plaintext[4]);
+void serpent_decrypt(struct keyInstance *key, uint8_t ciphertext[16],
+                    uint8_t plaintext[16]);
 
 #endif /* serpent_h */