nrfxlib API 2.8.99
|
int ocrypto_ecjpake_process_shared_secret | ( | uint8_t | xs[32], |
const uint8_t | x2[32], | ||
const uint8_t | rs[32] ) |
#include <crypto/nrf_oberon/include/ocrypto_ecjpake_p256.h>
EC-JPAKE-P256 shared secret handling.
[out] | xs | Client/server secret key. |
x2 | Secret key 2. | |
rs | Reduced shared secret. |
0 | If the derived secret key is valid. |
-1 | Otherwise. |