cleaned up pluto's crypto framework
This commit is contained in:
@@ -32,8 +32,6 @@
|
||||
#define AES_KS_LENGTH 120
|
||||
#define AES_RC_LENGTH 29
|
||||
|
||||
#define AES_BLOCK_SIZE 16
|
||||
|
||||
typedef struct private_aes_crypter_t private_aes_crypter_t;
|
||||
|
||||
/**
|
||||
|
||||
@@ -64,8 +64,6 @@
|
||||
|
||||
#include "blowfish_crypter.h"
|
||||
|
||||
#define BLOWFISH_BLOCK_SIZE 8
|
||||
|
||||
typedef struct private_blowfish_crypter_t private_blowfish_crypter_t;
|
||||
|
||||
/**
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
#include "des_crypter.h"
|
||||
|
||||
typedef u_char des_cblock[8];
|
||||
typedef u_char des_cblock[DES_BLOCK_SIZE];
|
||||
|
||||
typedef struct des_ks_struct {
|
||||
des_cblock _;
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
#include "serpent_crypter.h"
|
||||
#include "serpent.h"
|
||||
|
||||
#define SERPENT_BLOCK_SIZE 16
|
||||
|
||||
typedef struct private_serpent_crypter_t private_serpent_crypter_t;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
#include "twofish_crypter.h"
|
||||
#include "twofish.h"
|
||||
|
||||
#define TWOFISH_BLOCK_SIZE 16
|
||||
|
||||
typedef struct private_twofish_crypter_t private_twofish_crypter_t;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user