Searched hist:d17c25d22f82e2a9a0dae2ed8d8a6b00a2b4cfee (Results 1 – 2 of 2) sorted by relevance
| /optee_os/ta/pkcs11/src/ |
| H A D | attributes.h | d17c25d22f82e2a9a0dae2ed8d8a6b00a2b4cfee Tue Dec 29 06:46:34 UTC 2020 Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> ta: pkcs11: get_attribute: fix returning values into larger buffer
It is completely fine for callee to allocate more memory than what is needed.
Now attributes value is wholly copied and copied data amount is returned.
Reviewed-by: Ruchika Gupta <ruchika.gupta@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
|
| H A D | attributes.c | d17c25d22f82e2a9a0dae2ed8d8a6b00a2b4cfee Tue Dec 29 06:46:34 UTC 2020 Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> ta: pkcs11: get_attribute: fix returning values into larger buffer
It is completely fine for callee to allocate more memory than what is needed.
Now attributes value is wholly copied and copied data amount is returned.
Reviewed-by: Ruchika Gupta <ruchika.gupta@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
|