nrfxlib API 0.1.0
|
int ocrypto_ecdh_p256_public_key_final | ( | ocrypto_ecdh_p256_ctx * | ctx, |
uint8_t | pk[64] | ||
) |
#include <crypto/nrf_oberon/include/ocrypto_ecdh_p256.h>
Incremental ECDH P-256 public key generation final step.
Key generation is finalized and the context ctx
is used to generate the key.
ctx | Context. | |
[out] | pk | Generated public key. |
0 | If sk is a valid secret key. |
-1 | Otherwise. |