nrfxlib API 3.3.99
Loading...
Searching...
No Matches

SPAKE2+ algorithm based on P-256. More...

Files

file  ocrypto_spake2p_p256.h
 SPAKE2+ algorithm based on P-256.
 

Functions

void ocrypto_spake2p_p256_reduce (uint8_t x[32], const uint8_t *xs, size_t xs_len)
 
int ocrypto_spake2p_p256_check_key (const uint8_t K[65])
 
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])
 
int ocrypto_spake2p_p256_get_ZV (uint8_t Z[65], uint8_t V[65], const uint8_t w0[32], const uint8_t w1[32], const uint8_t xy[32], const uint8_t YX[65], const uint8_t NM[65], const uint8_t L[65])
 

Detailed Description

SPAKE2+ algorithm based on P-256.

SPAKE2+ is a Password Authenticated Key Exchange (PAKE) protocol run between two parties for deriving a strong shared key with no risk of disclosing the password.

See also
RFC - SPAKE2+, an Augmented Password-Authenticated Key Exchange (PAKE) Protocol