commit | 707caf76fd9563fce0a6d9c5cf342ae8b745c997 | [log] [tgz] |
---|---|---|
author | Jamie Fox <jamie.fox@arm.com> | Wed May 29 15:14:18 2019 +0100 |
committer | Jamie Fox <jamie.fox@arm.com> | Wed May 29 15:40:27 2019 +0100 |
tree | b759a2e0b4219722df0c765ea93a2f38ac6e62c6 | |
parent | 3298664e6865a07b4022e80d533be6528df2a51c [diff] |
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 <jamie.fox@arm.com>