nrfxlib API 2.8.99
|
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.
[out] | ctx | Context. |
sk | Server private key. | |
pk | Client public key. |