pub unsafe extern "C" fn ocrypto_ecdh_p256_public_key_init(
    ctx: *mut ocrypto_ecdh_p256_ctx,
    sk: *const u8
)
Expand description

Incremental ECDH P-256 public key generation start.

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

  • ctx - Context.
  • sk - Secret key. Must be pre-filled with random data.