You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keys generated using this method above will overwrite the PUB_X/PUB_Y values without generating any errors.
I believe this to be a regression unless there is an interface that I am not aware for this use case.
From the documentation it seems that OSSL_PKEY_PARAM_EC_PUB_X and OSSL_PKEY_PARAM_EC_PUB_Y can only be used to read those values back - not to set them.
If anyone could help either by accepting the bug report or proposing an alternative that would be much appreciated .
The text was updated successfully, but these errors were encountered:
Some criptoIPs can generate the EC PUB_X/PUB_Y affine coordinates on EC curves (their private keys never accessible outside the silicon)
These cryptographic IPs can be under control of a Trusted Execution Environment (see)
OP-TEE/optee_client#352 and the TEE at https://github.com/OP-TEE/optee_os/blob/master/core/pta/imx/manufacturing_protection.c
The following code, allows the user to validate the values read from the cryptographic IP and convert the public key to DER or PEM format
foundriesio/lmp-device-register@e763be5#diff-2d0eeb1947d28eea137eceb59a6a329480209c4848d432396bcb6c1fe49fd327R189
The issue with the code is that it uses many deprecated calls.
I have been trying to rewrite the function using EVP_KEY but I believe there is a regression:
Keys generated using this method above will overwrite the PUB_X/PUB_Y values without generating any errors.
I believe this to be a regression unless there is an interface that I am not aware for this use case.
From the documentation it seems that OSSL_PKEY_PARAM_EC_PUB_X and OSSL_PKEY_PARAM_EC_PUB_Y can only be used to read those values back - not to set them.
If anyone could help either by accepting the bug report or proposing an alternative that would be much appreciated .
The text was updated successfully, but these errors were encountered: