Remove dependencies on deprecated PSA Crypto API definitions
In preparation for moving to mbedtls-3.0.0 where legacy support is
removed, dependencies on deprecated API functions and defines are
modified to align as closely as possible with PSA Crypto API 1.0.
Signed-off-by: Julian Hall <julian.hall@arm.com>
Change-Id: I9f6fc833336a883382229c430ea71122bd550bd8
diff --git a/protocols/service/crypto/protobuf/key_attributes.proto b/protocols/service/crypto/protobuf/key_attributes.proto
index 2415d5c..bdf2a67 100644
--- a/protocols/service/crypto/protobuf/key_attributes.proto
+++ b/protocols/service/crypto/protobuf/key_attributes.proto
@@ -15,7 +15,6 @@
KEY_TYPE_AES = 0x2400;
KEY_TYPE_DES = 0x2301;
KEY_TYPE_CAMELLIA = 0x2403;
- KEY_TYPE_ARC4 = 0x2002;
KEY_TYPE_CHACHA20 = 0x2004;
KEY_TYPE_RSA_PUBLIC_KEY = 0x4001;
KEY_TYPE_RSA_KEY_PAIR = 0x7001;
@@ -43,8 +42,6 @@
/* Crypto algorithms */
enum Alg {
ALG_NONE = 0x00000000;
- ALG_MD2 = 0x02000001;
- ALG_MD4 = 0x02000002;
ALG_MD5 = 0x02000003;
ALG_RIPEMD160 = 0x02000004;
ALG_SHA_1 = 0x02000005;
@@ -106,4 +103,4 @@
uint32 lifetime = 3;
uint32 id = 4;
KeyPolicy policy = 5;
-}
\ No newline at end of file
+}