Crypto: migrate support to MbedTLS v2.23.0
This patch migrates the mbedcrypto dependancy for TF-M to
mbedTLS repo v2.23.0 which is the latest release tag. The
PSA crypto headers and the crypto service implementation in
TF-M is updated for additional functionality in this version.
The userguide and other relevant documentation are updated to
reflect the changes to location of repo.
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Change-Id: Ia7d3f95dc961c5815eb4416d2afbd90ec5c0c19e
diff --git a/interface/include/psa/crypto.h b/interface/include/psa/crypto.h
index 1459195..cea2fae 100644
--- a/interface/include/psa/crypto.h
+++ b/interface/include/psa/crypto.h
@@ -920,7 +920,7 @@
const uint8_t *input,
size_t input_length,
const uint8_t *hash,
- const size_t hash_length);
+ size_t hash_length);
/** The type of the state data structure for multipart hash operations.
*
@@ -1288,7 +1288,7 @@
const uint8_t *input,
size_t input_length,
const uint8_t *mac,
- const size_t mac_length);
+ size_t mac_length);
/** The type of the state data structure for multipart MAC operations.
*
@@ -3490,10 +3490,10 @@
* length is determined by the curve, and sets the mandatory bits
* accordingly. That is:
*
- * - #PSA_ECC_CURVE_CURVE25519: draw a 32-byte string
- * and process it as specified in RFC 7748 §5.
- * - #PSA_ECC_CURVE_CURVE448: draw a 56-byte string
- * and process it as specified in RFC 7748 §5.
+ * - Curve25519 (#PSA_ECC_CURVE_MONTGOMERY, 255 bits): draw a 32-byte
+ * string and process it as specified in RFC 7748 §5.
+ * - Curve448 (#PSA_ECC_CURVE_MONTGOMERY, 448 bits): draw a 56-byte
+ * string and process it as specified in RFC 7748 §5.
*
* - For key types for which the key is represented by a single sequence of
* \p bits bits with constraints as to which bit sequences are acceptable,