Fix warnings/errors(!).
This commit is contained in:
parent
78ef9b0205
commit
f851acbfff
@ -71,7 +71,8 @@
|
||||
typedef unsigned int u32;
|
||||
typedef unsigned char u8;
|
||||
|
||||
int Camellia_Ekeygen(int keyBitLength, const u8 *rawKey, KEY_TABLE_TYPE keyTable);
|
||||
int Camellia_Ekeygen(int keyBitLength, const u8 *rawKey,
|
||||
KEY_TABLE_TYPE keyTable);
|
||||
void Camellia_EncryptBlock_Rounds(int grandRounds, const u8 plaintext[],
|
||||
const KEY_TABLE_TYPE keyTable, u8 ciphertext[]);
|
||||
void Camellia_DecryptBlock_Rounds(int grandRounds, const u8 ciphertext[],
|
||||
@ -80,4 +81,6 @@ void Camellia_EncryptBlock(int keyBitLength, const u8 plaintext[],
|
||||
const KEY_TABLE_TYPE keyTable, u8 ciphertext[]);
|
||||
void Camellia_DecryptBlock(int keyBitLength, const u8 ciphertext[],
|
||||
const KEY_TABLE_TYPE keyTable, u8 plaintext[]);
|
||||
int private_Camellia_set_key(const unsigned char *userKey, const int bits,
|
||||
CAMELLIA_KEY *key);
|
||||
#endif /* #ifndef HEADER_CAMELLIA_LOCL_H */
|
||||
|
@ -54,8 +54,6 @@
|
||||
#include <openssl/camellia.h>
|
||||
#include "cmll_locl.h"
|
||||
|
||||
const char CAMELLIA_version[]="CAMELLIA" OPENSSL_VERSION_PTEXT;
|
||||
|
||||
int Camellia_set_key(const unsigned char *userKey, const int bits,
|
||||
CAMELLIA_KEY *key)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user