nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ ocrypto_ecdh_p256_public_key_init()

void ocrypto_ecdh_p256_public_key_init ( ocrypto_ecdh_p256_ctx *  ctx,
const uint8_t  sk[32] 
)

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

Incremental ECDH P-256 public key generation start.

Key generation is started and the context ctx is initialized by this function.

Parameters
[out]ctxContext.
skSecret key. Must be pre-filled with random data.