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

◆ ocrypto_ecdsa_p521_public_key()

int ocrypto_ecdsa_p521_public_key ( uint8_t pk[132],
const uint8_t sk[66] )

#include <crypto/nrf_oberon/include/ocrypto_ecdsa_p521.h>

ECDSA P-521 public key generation.

Given a secret key sk the corresponding public key is computed and put into pk.

Parameters
[out]pkGenerated public key.
skSecret key. Must be pre-filled with random data.
Return values
0If sk is a valid secret key.
-1Otherwise.