nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ ocrypto_ecdh_p256_public_key_final()

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.

Parameters
ctxContext.
[out]pkGenerated public key.
Return values
0If sk is a valid secret key.
-1Otherwise.