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
/
silccipher.c
diff --git
a/lib/silccrypt/silccipher.c
b/lib/silccrypt/silccipher.c
index 3517317ec5c352a99eee7bd41417e1d372d8f84e..35155c5103379a048a8063340d4aba7892129a0c 100644
(file)
--- a/
lib/silccrypt/silccipher.c
+++ b/
lib/silccrypt/silccipher.c
@@
-253,7
+253,7
@@
char *silc_cipher_get_supported(void)
/* Encrypts */
bool silc_cipher_encrypt(SilcCipher cipher, const unsigned char *src,
/* Encrypts */
bool silc_cipher_encrypt(SilcCipher cipher, const unsigned char *src,
- unsigned char *dst,
ui
nt32 len,
+ unsigned char *dst,
SilcUI
nt32 len,
unsigned char *iv)
{
return cipher->cipher->encrypt(cipher->context, src, dst, len, iv);
unsigned char *iv)
{
return cipher->cipher->encrypt(cipher->context, src, dst, len, iv);
@@
-262,7
+262,7
@@
bool silc_cipher_encrypt(SilcCipher cipher, const unsigned char *src,
/* Decrypts */
bool silc_cipher_decrypt(SilcCipher cipher, const unsigned char *src,
/* Decrypts */
bool silc_cipher_decrypt(SilcCipher cipher, const unsigned char *src,
- unsigned char *dst,
ui
nt32 len,
+ unsigned char *dst,
SilcUI
nt32 len,
unsigned char *iv)
{
return cipher->cipher->decrypt(cipher->context, src, dst, len, iv);
unsigned char *iv)
{
return cipher->cipher->decrypt(cipher->context, src, dst, len, iv);
@@
-271,7
+271,7
@@
bool silc_cipher_decrypt(SilcCipher cipher, const unsigned char *src,
/* Sets the key for the cipher */
bool silc_cipher_set_key(SilcCipher cipher, const unsigned char *key,
/* Sets the key for the cipher */
bool silc_cipher_set_key(SilcCipher cipher, const unsigned char *key,
-
ui
nt32 keylen)
+
SilcUI
nt32 keylen)
{
return cipher->cipher->set_key(cipher->context, key, keylen);
}
{
return cipher->cipher->set_key(cipher->context, key, keylen);
}
@@
-294,14
+294,14
@@
void silc_cipher_get_iv(SilcCipher cipher, unsigned char *iv)
/* Returns the key length of the cipher. */
/* Returns the key length of the cipher. */
-
ui
nt32 silc_cipher_get_key_len(SilcCipher cipher)
+
SilcUI
nt32 silc_cipher_get_key_len(SilcCipher cipher)
{
return cipher->cipher->key_len;
}
/* Returns the block size of the cipher. */
{
return cipher->cipher->key_len;
}
/* Returns the block size of the cipher. */
-
ui
nt32 silc_cipher_get_block_len(SilcCipher cipher)
+
SilcUI
nt32 silc_cipher_get_block_len(SilcCipher cipher)
{
return cipher->cipher->block_len;
}
{
return cipher->cipher->block_len;
}