![]() |
nrfxlib API 3.3.99
|
| 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] ) |
#include <crypto/nrf_oberon/include/ocrypto_spake2p_p256.h>
SPAKE2+ P-256 common value calculation.
| [out] | Z | Common value Z. |
| [out] | V | Common value V. |
| w0 | First password hash. | |
| w1 | Second password hash. NULL on server side. | |
| xy | Secret key. | |
| YX | Peer key share. | |
| NM | Peer random element. | |
| L | Password registration. NULL on client side. |
| 0 | If the common values are valid. |
| -1 | Otherwise. |