pub unsafe extern "C" fn ocrypto_ecdh_p256_common_secret_iterate(
ctx: *mut ocrypto_ecdh_p256_ctx
) -> c_int
Expand description
Incremental ECDH P-256 common secret generation step.
Common secret calculation is advanced and the context * ctx
- is updated by this function.
ctx
- Context.
Returns 1 If another call to * ocrypto_ecdh_p256_common_secret_iterate
- is needed.
Returns 0 If key generation should be completed by a call to * ocrypto_ecdh_p256_common_secret_final
- .