mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Improve documentation of absence-of-padding check
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
0d7dd3cd43
commit
baae59cd49
@ -375,6 +375,9 @@ int main( int argc, char *argv[] )
|
|||||||
* of that unpadded type. For example, for a 4-byte int,
|
* of that unpadded type. For example, for a 4-byte int,
|
||||||
* MAX_INT should be 0x7fffffff in int32_t. This assumes that
|
* MAX_INT should be 0x7fffffff in int32_t. This assumes that
|
||||||
* CHAR_BIT == 8, which is checked in check_config.h.
|
* CHAR_BIT == 8, which is checked in check_config.h.
|
||||||
|
*
|
||||||
|
* We assume that [u]intxx_t exist and that they don't
|
||||||
|
* have padding bits, as the standard requires.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define CHECK_PADDING_SIGNED(TYPE, NAME) \
|
#define CHECK_PADDING_SIGNED(TYPE, NAME) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user