pub unsafe extern "C" fn ocrypto_ecdh_p256_public_key_iterate(
    ctx: *mut ocrypto_ecdh_p256_ctx
) -> c_int
Expand description

Incremental ECDH P-256 public key generation step.

The key calculation is advanced and the context * ctx - is updated by this function.

  • ctx - Context.

Returns 1 If another call to * ocrypto_ecdh_p256_public_key_init - is needed. Returns 0 If key generation should be completed by a call to * ocrypto_ecdh_p256_public_key_final - .