mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-08 23:21:59 +03:00
@ -83,9 +83,15 @@ typedef uint64_t __packed mbedtls_uint64_unaligned_t;
|
|||||||
* We don't enable for older than 4.5.0 as this has not been tested.
|
* We don't enable for older than 4.5.0 as this has not been tested.
|
||||||
*/
|
*/
|
||||||
#define UINT_UNALIGNED_STRUCT
|
#define UINT_UNALIGNED_STRUCT
|
||||||
typedef struct { uint16_t x; } __attribute__((packed)) mbedtls_uint16_unaligned_t;
|
typedef struct {
|
||||||
typedef struct { uint32_t x; } __attribute__((packed)) mbedtls_uint32_unaligned_t;
|
uint16_t x;
|
||||||
typedef struct { uint64_t x; } __attribute__((packed)) mbedtls_uint64_unaligned_t;
|
} __attribute__((packed)) mbedtls_uint16_unaligned_t;
|
||||||
|
typedef struct {
|
||||||
|
uint32_t x;
|
||||||
|
} __attribute__((packed)) mbedtls_uint32_unaligned_t;
|
||||||
|
typedef struct {
|
||||||
|
uint64_t x;
|
||||||
|
} __attribute__((packed)) mbedtls_uint64_unaligned_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user