Function nrfxlib_sys::ocrypto_spake2p_p256_get_key_share
source · pub unsafe extern "C" fn ocrypto_spake2p_p256_get_key_share(
XY: *mut u8,
w0: *const u8,
xy: *const u8,
MN: *const u8
) -> c_int
Expand description
SPAKE2+ P256 key share calculation.
XY
- Public key share.w0
- First password hash.xy
- Secret key.MN
- Random element.
Returns 0 If the key share is valid. Returns -1 Otherwise.