File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -45,21 +45,14 @@ extern "C" {
45
45
#if !defined(MBEDTLS_DEPRECATED_REMOVED )
46
46
#define PSA_ERROR_UNKNOWN_ERROR \
47
47
MBEDTLS_DEPRECATED_NUMERIC_CONSTANT( PSA_ERROR_GENERIC_ERROR )
48
- #endif
49
-
50
- #if !defined(MBEDTLS_DEPRECATED_REMOVED )
51
48
#define PSA_ERROR_OCCUPIED_SLOT \
52
49
MBEDTLS_DEPRECATED_NUMERIC_CONSTANT( PSA_ERROR_ALREADY_EXISTS )
53
- #endif
54
-
55
- #if !defined(MBEDTLS_DEPRECATED_REMOVED )
56
50
#define PSA_ERROR_EMPTY_SLOT \
57
51
MBEDTLS_DEPRECATED_NUMERIC_CONSTANT( PSA_ERROR_DOES_NOT_EXIST )
58
- #endif
59
-
60
- #if !defined(MBEDTLS_DEPRECATED_REMOVED )
61
52
#define PSA_ERROR_INSUFFICIENT_CAPACITY \
62
53
MBEDTLS_DEPRECATED_NUMERIC_CONSTANT( PSA_ERROR_INSUFFICIENT_DATA )
54
+ #define PSA_ERROR_TAMPERING_DETECTED \
55
+ MBEDTLS_DEPRECATED_NUMERIC_CONSTANT( PSA_ERROR_CORRUPTION_DETECTED )
63
56
#endif
64
57
65
58
/** \addtogroup attributes
Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ def _argument_split(cls, arguments):
176
176
'PSA_ERROR_OCCUPIED_SLOT' ,
177
177
'PSA_ERROR_EMPTY_SLOT' ,
178
178
'PSA_ERROR_INSUFFICIENT_CAPACITY' ,
179
+ 'PSA_ERROR_TAMPERING_DETECTED' ,
179
180
])
180
181
def parse_header_line (self , line ):
181
182
"""Parse a C header line, looking for "#define PSA_xxx"."""
You can’t perform that action at this time.
0 commit comments