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

◆ ocrypto_ecdh_p256_common_secret_init()

void ocrypto_ecdh_p256_common_secret_init ( ocrypto_ecdh_p256_ctx *  ctx,
const uint8_t  sk[32],
const uint8_t  pk[64] 
)

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

Incremental ECDH P-256 common secret generation start.

Common secret calculation is started and the context ctx is initialized by this function.

Parameters
[out]ctxContext.
skServer private key.
pkClient public key.