Use standard unsigned integer types
This commit is contained in:
@@ -98,7 +98,7 @@ extern "C" {
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#define BF_LONG u_int32_t
|
||||
#define BF_LONG uint32_t
|
||||
#endif
|
||||
|
||||
#define BF_ROUNDS 16
|
||||
|
||||
@@ -84,14 +84,14 @@ struct private_blowfish_crypter_t {
|
||||
/**
|
||||
* Key size of this Blowfish cipher object.
|
||||
*/
|
||||
u_int32_t key_size;
|
||||
uint32_t key_size;
|
||||
};
|
||||
|
||||
METHOD(crypter_t, decrypt, bool,
|
||||
private_blowfish_crypter_t *this, chunk_t data, chunk_t iv,
|
||||
chunk_t *decrypted)
|
||||
{
|
||||
u_int8_t *in, *out;
|
||||
uint8_t *in, *out;
|
||||
|
||||
if (decrypted)
|
||||
{
|
||||
@@ -116,7 +116,7 @@ METHOD(crypter_t, encrypt, bool,
|
||||
private_blowfish_crypter_t *this, chunk_t data, chunk_t iv,
|
||||
chunk_t *encrypted)
|
||||
{
|
||||
u_int8_t *in, *out;
|
||||
uint8_t *in, *out;
|
||||
|
||||
if (encrypted)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user