Home
last modified time | relevance | path

Searched hist:a9aa45d85ee6880c6260f0d3e111263e6ecff2b4 (Results 1 – 3 of 3) sorted by relevance

/optee_os/ta/pkcs11/src/
H A Dpkcs11_attributes.ha9aa45d85ee6880c6260f0d3e111263e6ecff2b4 Mon Dec 05 12:09:41 UTC 2022 Valerii Chubar <valerii_chubar@epam.com> ta: pkcs11: Copy secret key data for wrapping

Currently the secret-key data is returned as a pointer to
the key attribute parameter. But the RSA private key
constitites of multiple parameters, some memory has to be
allocated and populated. After the unwrapping an allocated
memory has to be freed. To generalise, return the secret
key value as a copy.

Signed-off-by: Valerii Chubar <valerii_chubar@epam.com>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
H A Dprocessing.ca9aa45d85ee6880c6260f0d3e111263e6ecff2b4 Mon Dec 05 12:09:41 UTC 2022 Valerii Chubar <valerii_chubar@epam.com> ta: pkcs11: Copy secret key data for wrapping

Currently the secret-key data is returned as a pointer to
the key attribute parameter. But the RSA private key
constitites of multiple parameters, some memory has to be
allocated and populated. After the unwrapping an allocated
memory has to be freed. To generalise, return the secret
key value as a copy.

Signed-off-by: Valerii Chubar <valerii_chubar@epam.com>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
H A Dpkcs11_attributes.ca9aa45d85ee6880c6260f0d3e111263e6ecff2b4 Mon Dec 05 12:09:41 UTC 2022 Valerii Chubar <valerii_chubar@epam.com> ta: pkcs11: Copy secret key data for wrapping

Currently the secret-key data is returned as a pointer to
the key attribute parameter. But the RSA private key
constitites of multiple parameters, some memory has to be
allocated and populated. After the unwrapping an allocated
memory has to be freed. To generalise, return the secret
key value as a copy.

Signed-off-by: Valerii Chubar <valerii_chubar@epam.com>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>