]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - cast5.c
adding mickey-v2 128
[avr-crypto-lib.git] / cast5.c
diff --git a/cast5.c b/cast5.c
index 427b8b10b1e63c82489557a4fae404c2ddc7ae7c..57d6f4335edc14a3af773b25172e1bfa738867bb 100644 (file)
--- a/cast5.c
+++ b/cast5.c
@@ -1,6 +1,6 @@
 /* cast5.c */
 /*
-    This file is part of the This file is part of the AVR-Crypto-Lib.
+    This file is part of the AVR-Crypto-Lib.
     Copyright (C) 2008  Daniel Otte (daniel.otte@rub.de)
 
     This program is free software: you can redistribute it and/or modify
@@ -131,7 +131,7 @@ void cast5_init_rM(uint8_t *klo, uint8_t *khi, uint8_t offset, uint8_t *src, boo
 
 
 void cast5_init(const void* key, uint16_t keylength_b, cast5_ctx_t* s){
-        /* we migth return if the key is valid and if setup was sucessfull */
+        /* we migth return if the key is valid and if setup was successful */
        uint32_t x[4], z[4];
        #define BPX ((uint8_t*)&(x[0]))
        #define BPZ ((uint8_t*)&(z[0]))