CC3XX: Add checks for output size on Asymmetric Enc/Dec

Asymmetric encrypt and decrypt must check explicitly if the size
of the output buffer is compliant with the expect algorithm in
order to be able to return the correct return code for buffer too
small.

Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
Change-Id: I817fffbd80090863a7be4cf62a42ebe21633489c
1 file changed