Skip to content

Commit c101a22

Browse files
committed
crypto: Update to Mbed Crypto 1.0.0d5
1 parent e03b3b6 commit c101a22

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
mbedcrypto-1.0.0d4
1+
mbedcrypto-1.0.0d5

features/mbedtls/mbed-crypto/importer/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
# Set the Mbed Crypto release to import (this can/should be edited before
3131
# import)
32-
CRYPTO_RELEASE ?= mbedcrypto-1.0.0d4
32+
CRYPTO_RELEASE ?= mbedcrypto-1.0.0d5
3333
CRYPTO_REPO_URL ?= [email protected]:ARMmbed/mbed-crypto.git
3434

3535
# Translate between Mbed Crypto namespace and Mbed OS namespace

features/mbedtls/mbed-crypto/inc/psa/crypto_extra.h

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,29 @@ extern "C" {
3737
/* UID for secure storage seed */
3838
#define PSA_CRYPTO_ITS_RANDOM_SEED_UID 0xFFFFFF52
3939

40+
/*
41+
* Deprecated PSA Crypto error code definitions
42+
*/
43+
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
44+
#define PSA_ERROR_UNKNOWN_ERROR \
45+
MBEDTLS_DEPRECATED_NUMERIC_CONSTANT( PSA_ERROR_GENERIC_ERROR )
46+
#endif
47+
48+
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
49+
#define PSA_ERROR_OCCUPIED_SLOT \
50+
MBEDTLS_DEPRECATED_NUMERIC_CONSTANT( PSA_ERROR_ALREADY_EXISTS )
51+
#endif
52+
53+
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
54+
#define PSA_ERROR_EMPTY_SLOT \
55+
MBEDTLS_DEPRECATED_NUMERIC_CONSTANT( PSA_ERROR_DOES_NOT_EXIST )
56+
#endif
57+
58+
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
59+
#define PSA_ERROR_INSUFFICIENT_CAPACITY \
60+
MBEDTLS_DEPRECATED_NUMERIC_CONSTANT( PSA_ERROR_INSUFFICIENT_DATA )
61+
#endif
62+
4063
/**
4164
* \brief Library deinitialization.
4265
*

0 commit comments

Comments
 (0)