Searched hist:f2674567dedc4d8f8e5b5c4f5e14e49222da21de (Results 1 – 1 of 1) sorted by relevance
| /optee_os/lib/libutee/ |
| H A D | tee_api_operations.c | f2674567dedc4d8f8e5b5c4f5e14e49222da21de Wed May 06 06:35:28 UTC 2020 Sumit Garg <sumit.garg@linaro.org> libutee: crypto: AE: Explicitly initialize buffer_offs
Explicitly initialize operation param buffer_offs in TEE_AEInit() instead of relying on TEE_AllocateOperation() as it may cause issues while using operation handle allocated once and used in subsequent authenticated encryption operations.
It is quite similar to how TEE_CipherInit() and init_hash_operation() initializes buffer_offs.
Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Reviewed-by: Jerome Forissier <jerome@forissier.org>
|