projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Integer type name change.
[silc.git]
/
lib
/
silccrypt
/
cast.c
diff --git
a/lib/silccrypt/cast.c
b/lib/silccrypt/cast.c
index a814ac021be7fd17d243c0669b75e7dfdb26e1c3..036a0dc88915d580863187b89fb7f880ee0f04c7 100644
(file)
--- a/
lib/silccrypt/cast.c
+++ b/
lib/silccrypt/cast.c
@@
-59,6
+59,7
@@
Mean: 674 cycles = 38.0 mbits/sec
*/
#include "silcincludes.h"
*/
#include "silcincludes.h"
+#include "cast_internal.h"
#include "cast.h"
#define io_swap
#include "cast.h"
#define io_swap
@@
-71,7
+72,7
@@
Mean: 674 cycles = 38.0 mbits/sec
SILC_CIPHER_API_SET_KEY(cast)
{
SILC_CIPHER_API_SET_KEY(cast)
{
-
ui
nt32 k[8];
+
SilcUI
nt32 k[8];
SILC_GET_WORD_KEY(key, k, keylen);
cast_set_key((CastContext *)context, k, keylen);
SILC_GET_WORD_KEY(key, k, keylen);
cast_set_key((CastContext *)context, k, keylen);
@@
-107,7
+108,7
@@
SILC_CIPHER_API_CONTEXT_LEN(cast)
SILC_CIPHER_API_ENCRYPT_CBC(cast)
{
SILC_CIPHER_API_ENCRYPT_CBC(cast)
{
-
ui
nt32 tiv[4];
+
SilcUI
nt32 tiv[4];
int i;
SILC_CBC_GET_IV(tiv, iv);
int i;
SILC_CBC_GET_IV(tiv, iv);
@@
-132,7
+133,7
@@
SILC_CIPHER_API_ENCRYPT_CBC(cast)
SILC_CIPHER_API_DECRYPT_CBC(cast)
{
SILC_CIPHER_API_DECRYPT_CBC(cast)
{
-
ui
nt32 tmp[4], tmp2[4], tiv[4];
+
SilcUI
nt32 tmp[4], tmp2[4], tiv[4];
int i;
SILC_CBC_GET_IV(tiv, iv);
int i;
SILC_CBC_GET_IV(tiv, iv);