Function nrfxlib_sys::ocrypto_srp_public_key_ctx
source · pub unsafe extern "C" fn ocrypto_srp_public_key_ctx(
ctx: *mut ocrypto_srp_ctx,
pub_b: *mut u8,
priv_b: *const u8,
v: *const u8
)
Expand description
SRP-6 public key generation with context.
An ephemeral keypair can be generated based on the password verifier to be used when opening a new session. / /@{*/ / SRP-6 public Key.
The public key for a given private key * priv_b
- is generated using the
password verifier * v
- and put into * pub_b
- .
ctx
- Context.pub_b
- Generated public key, must be 32-bit aligned.priv_b
- Private key.v
- Password verifier.