Searched hist:ad7aa2a537fbbaadc5ebd9bd69ea7cc1e842ca14 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/lib/libutee/ |
| H A D | tee_api_operations.c | ad7aa2a537fbbaadc5ebd9bd69ea7cc1e842ca14 Thu Jan 06 09:34:19 UTC 2022 Sadiq Hussain <sadiq.muchumarri@intel.com> libutee: Panic when IV is provided for ECB modes
Ideally, the ECB mode doesn't need an IV at all. The GlobalPlatform spec says "IV required: No" for the algorithms that use this mode (Table 6-6b).
So, in order to be inclined to the requirement of the spec, the implementation can panic when IV is provided for ECB modes.
Signed-off-by: Sadiq Hussain <sadiq.muchumarri@intel.com> Reviewed-by: Jerome Forissier <jerome@forissier.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
|