pub unsafe extern "C" fn ocrypto_srp_proof_m2(
m2: *mut u8,
pub_a: *const u8,
m1: *const u8,
k: *const u8,
)Expand description
SRP-6 proof M2 (server to client).
A second proof is generated by the server and sent back to the client to
assert that the server is in possession of the shared session key * k - . The
client also generates the proof. If the proofs match, both parties can assume
that they share the same session key * k - . The second proof is based on the
client public key * pub_a - , the first proof * m1 - and the session key * k - .
m2- Generated proof.pub_a- Client public key.m1- First proof; generated with *ocrypto_srp_proof_m1- .k- Session key.