2017-11-05 07:38:55 -08:00
|
|
|
#ifndef TREZORHAL_SECBOOL_H
|
|
|
|
#define TREZORHAL_SECBOOL_H
|
2017-10-26 14:51:39 -07:00
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
typedef uint32_t secbool;
|
2017-10-30 10:31:31 -07:00
|
|
|
#define sectrue 0xAAAAAAAAU
|
|
|
|
#define secfalse 0x00000000U
|
2017-10-26 14:51:39 -07:00
|
|
|
|
2017-12-16 08:54:04 -08:00
|
|
|
#ifndef __wur
|
|
|
|
#define __wur __attribute__ ((warn_unused_result))
|
|
|
|
#endif
|
|
|
|
|
2017-10-26 14:51:39 -07:00
|
|
|
#endif
|