argon2id_ctx

Function argon2id_ctx 

Source
pub unsafe extern "C" fn argon2id_ctx(
    context: *mut argon2_context,
) -> c_int
Expand description

Argon2id: Version of Argon2 where the first half-pass over memory is password-independent, the rest are password-dependent (on the password and salt). OK against side channels (they reduce to 1/2-pass Argon2i), and better with w.r.t. tradeoff attacks (similar to Argon2d).


@param context Pointer to current Argon2 context

@return Zero if successful, a non zero error code otherwise