Latest update.
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
*/
|
||||
|
||||
#include <openssl/camellia.h>
|
||||
#include "cmll_locl.h"
|
||||
#include "cmll_local.h"
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
#include <openssl/camellia.h>
|
||||
#include "cmll_locl.h"
|
||||
#include "cmll_local.h"
|
||||
|
||||
void Camellia_ecb_encrypt(const unsigned char *in, unsigned char *out,
|
||||
const CAMELLIA_KEY *key, const int enc)
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
* to the OpenSSL project.
|
||||
*/
|
||||
|
||||
#ifndef HEADER_CAMELLIA_LOCL_H
|
||||
# define HEADER_CAMELLIA_LOCL_H
|
||||
#ifndef OSSL_CRYPTO_CAMELLIA_CMLL_LOCAL_H
|
||||
# define OSSL_CRYPTO_CAMELLIA_CMLL_LOCAL_H
|
||||
|
||||
typedef unsigned int u32;
|
||||
typedef unsigned char u8;
|
||||
@@ -40,4 +40,4 @@ 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[]);
|
||||
#endif /* #ifndef HEADER_CAMELLIA_LOCL_H */
|
||||
#endif /* #ifndef OSSL_CRYPTO_CAMELLIA_CMLL_LOCAL_H */
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include <openssl/opensslv.h>
|
||||
#include <openssl/camellia.h>
|
||||
#include "cmll_locl.h"
|
||||
#include "cmll_local.h"
|
||||
|
||||
int Camellia_set_key(const unsigned char *userKey, const int bits,
|
||||
CAMELLIA_KEY *key)
|
||||
|
||||
Reference in New Issue
Block a user