mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-02-19 08:43:02 +00:00
- Modified XTEA to use uint32_t instead of unsigned long
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
#ifndef POLARSSL_XTEA_H
|
||||
#define POLARSSL_XTEA_H
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#define XTEA_ENCRYPT 1
|
||||
#define XTEA_DECRYPT 0
|
||||
|
||||
@@ -29,7 +31,7 @@
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
unsigned long k[4]; /*!< key */
|
||||
uint32_t k[4]; /*!< key */
|
||||
}
|
||||
xtea_context;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user