mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
- Modified XTEA to use uint32_t instead of unsigned long
This commit is contained in:
parent
c500bb7c43
commit
0fdf3cacf2
2 changed files with 23 additions and 14 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue