Skip to content
Commit 707caf76 authored by Jamie Fox's avatar Jamie Fox
Browse files

Crypto: Fixes for PSA Crypto API compliance



Details:
 - Require that setup functions are called with handles initialised to
   0. Make 0 the invalid handle and number handles from 1.
 - Return PSA_ERROR_BUFFER_TOO_SMALL if the output buffer is too small
   in psa_asymmetric_encrypt.
 - Release generator operations if setup or abort operations fail.

Change-Id: Ic1da83e056a00364ef8eba3ea23cbf191f8886e4
Signed-off-by: Jamie Fox's avatarJamie Fox <jamie.fox@arm.com>
parent 3298664e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment