Function nrfxlib_sys::ocrypto_srp_verifier_ctx
source · pub unsafe extern "C" fn ocrypto_srp_verifier_ctx(
ctx: *mut ocrypto_srp_ctx,
v: *mut u8,
salt: *const u8,
user: *const u8,
user_len: usize,
pass: *const u8,
pass_len: usize
)
Expand description
SRP-6 password verifier generation with context.
A password verifier is generated from a user name and a password. The
password * pass
- may be discarded, as only the verifier is used in subsequent
computations.
/
/@{*/
/
SRP-6 password verifier.
The verifier is generated for a given user name * user
- , a password * pass
-
and salt * salt
- .
ctx
- Context.v
- Generated password verifier, must be 32-bit aligned.salt
- Salt.user
- User name.user_len
- Length of *user
- .pass
- Password.pass_len
- Length of *pass
- .