pub unsafe extern "C" fn ocrypto_ecdh_p256_common_secret_init(
ctx: *mut ocrypto_ecdh_p256_ctx,
sk: *const u8,
pk: *const u8
)
Expand description
Incremental ECDH P-256 common secret generation start.
Common secret calculation is started and the context * ctx
- is initialized by this function.
ctx
- Context.sk
- Server private key.pk
- Client public key.