1From af6aa988020a21895688dd2d8221119fbe6d3cf3 Mon Sep 17 00:00:00 2001 2From: Jens Wiklander <jens.wiklander@linaro.org> 3Date: Wed, 19 Aug 2020 17:53:31 +0200 4Subject: [PATCH 11/11] TEE_Crypto_API.xml 5 6Disabling case: 7- Invoke_Crypto_MACInit_init_vector_not_required_length (50-ea-af) 8 9CBC MAC doesn't take any IV so TEE_MACInit() is supposed to ignore IV 10and IVLen. 11 12Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> 13--- 14 packages/Crypto/xmlstable/TEE_Crypto_API.xml | 2 ++ 15 1 file changed, 2 insertions(+) 16 17diff --git a/packages/Crypto/xmlstable/TEE_Crypto_API.xml b/packages/Crypto/xmlstable/TEE_Crypto_API.xml 18index 11013c152fb2..b8246376866e 100644 19--- a/packages/Crypto/xmlstable/TEE_Crypto_API.xml 20+++ b/packages/Crypto/xmlstable/TEE_Crypto_API.xml 21@@ -130401,6 +130401,7 @@ 22 </call> 23 </postamble> 24 </scenario> 25+<!-- CMAC doesn't take any IV either 26 <scenario name="Invoke_Crypto_MACInit_init_vector_not_required_length (50-ea-af)" destructive="no"> 27 <req name="MAC_INIT_PANIC"> 28 <description><![CDATA[Panic Reasons • operation is not a valid operation handle of class TEE_OPERATION_MAC. • No key is programmed in the operation. • The Initialization Vector does not have the length required by the algorithm. • Hardware or cryptographic algorithm failure • If the Implementation detects any other error.]]></description> 29@@ -130747,6 +130748,7 @@ 30 </call> 31 </postamble> 32 </scenario> 33+--> 34 <scenario name="Invoke_Crypto_MACInit_invalid_operation_class (50-27-d0)" destructive="no"> 35 <req name="MAC_INIT_PANIC"> 36 <description><![CDATA[Panic Reasons • operation is not a valid operation handle of class TEE_OPERATION_MAC. • No key is programmed in the operation. • The Initialization Vector does not have the length required by the algorithm. • Hardware or cryptographic algorithm failure • If the Implementation detects any other error.]]></description> 37-- 382.25.1 39 40