X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/3b83c93292fbf6c4e859ce513bdf54ad90733f96..d357bccb2ab22037e2b3415ffdd85212112a90a6:/serpent.h diff --git a/serpent.h b/serpent.h index 07176d7..19c01fe 100644 --- a/serpent.h +++ b/serpent.h @@ -8,12 +8,12 @@ struct keyInstance { /* Function protoypes */ void serpent_makekey(struct keyInstance *key, int keyLen, - uint8_t *keyMaterial); + const uint8_t *keyMaterial); -void serpent_encrypt(struct keyInstance *key, uint8_t plaintext[16], +void serpent_encrypt(struct keyInstance *key, const uint8_t plaintext[16], uint8_t ciphertext[16]); -void serpent_decrypt(struct keyInstance *key, uint8_t ciphertext[16], +void serpent_decrypt(struct keyInstance *key, const uint8_t ciphertext[16], uint8_t plaintext[16]); #endif /* serpent_h */