1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-07 06:42:56 +03:00

- Made Camellia use uint32_t for 64-bit compatibility

This commit is contained in:
Paul Bakker
2009-05-03 13:09:15 +00:00
parent 0fdf3cacf2
commit c81f6c3f06
2 changed files with 366 additions and 364 deletions

View File

@@ -20,6 +20,8 @@
#ifndef POLARSSL_CAMELLIA_H
#define POLARSSL_CAMELLIA_H
#include <inttypes.h>
#define CAMELLIA_ENCRYPT 1
#define CAMELLIA_DECRYPT 0
@@ -29,7 +31,7 @@
typedef struct
{
int nr; /*!< number of rounds */
unsigned long rk[68]; /*!< CAMELLIA round keys */
uint32_t rk[68]; /*!< CAMELLIA round keys */
}
camellia_context;