Searched hist:c9cf332036ae9aac78794357b92215fc11f34473 (Results 1 – 3 of 3) sorted by relevance
| /optee_os/ta/pkcs11/src/ |
| H A D | processing_ec.c | c9cf332036ae9aac78794357b92215fc11f34473 Thu Jul 27 12:56:58 UTC 2023 Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> ta: pkcs11: add hidden EC point support
The PKCS#11 standard does not allow one to have CKA_EC_POINT for private keys but TEE internal API requires one to be present when performing private key operations. Instead of calculating it each time it is needed store it as hidden attribute.
This fixes EC private key generation to function as specified in standard.
There is backwards support for existing keys that has been created inadvertently with CKA_EC_POINT included.
Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> Reviewed-by: Ayoub Zaki <ayoub.zaki@embetrix.com> Tested-by: Ayoub Zaki <ayoub.zaki@embetrix.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
|
| H A D | pkcs11_helpers.c | c9cf332036ae9aac78794357b92215fc11f34473 Thu Jul 27 12:56:58 UTC 2023 Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> ta: pkcs11: add hidden EC point support
The PKCS#11 standard does not allow one to have CKA_EC_POINT for private keys but TEE internal API requires one to be present when performing private key operations. Instead of calculating it each time it is needed store it as hidden attribute.
This fixes EC private key generation to function as specified in standard.
There is backwards support for existing keys that has been created inadvertently with CKA_EC_POINT included.
Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> Reviewed-by: Ayoub Zaki <ayoub.zaki@embetrix.com> Tested-by: Ayoub Zaki <ayoub.zaki@embetrix.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
|
| /optee_os/ta/pkcs11/include/ |
| H A D | pkcs11_ta.h | c9cf332036ae9aac78794357b92215fc11f34473 Thu Jul 27 12:56:58 UTC 2023 Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> ta: pkcs11: add hidden EC point support
The PKCS#11 standard does not allow one to have CKA_EC_POINT for private keys but TEE internal API requires one to be present when performing private key operations. Instead of calculating it each time it is needed store it as hidden attribute.
This fixes EC private key generation to function as specified in standard.
There is backwards support for existing keys that has been created inadvertently with CKA_EC_POINT included.
Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> Reviewed-by: Ayoub Zaki <ayoub.zaki@embetrix.com> Tested-by: Ayoub Zaki <ayoub.zaki@embetrix.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
|