nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ ocrypto_spake2p_p256_get_key_share()

int ocrypto_spake2p_p256_get_key_share ( uint8_t  XY[65],
const uint8_t  w0[32],
const uint8_t  xy[32],
const uint8_t  MN[65] 
)

#include <crypto/nrf_oberon/include/ocrypto_spake2p_p256.h>

SPAKE2+ P256 key share calculation.

Parameters
[out]XYPublic key share.
w0First password hash.
xySecret key.
MNRandom element.
Return values
0If the key share is valid.
-1Otherwise.