![]() |
nrfxlib API 3.3.99
|
| 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+ P-256 key share calculation.
| [out] | XY | Public key share. |
| w0 | First password hash. | |
| xy | Secret key. | |
| MN | Random element. |
| 0 | If the key share is valid. |
| -1 | Otherwise. |