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

◆ ocrypto_ecjpake_process_shared_secret()

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.

Parameters
[out]xsClient/server secret key.
x2Secret key 2.
rsReduced shared secret.
Return values
0If the derived secret key is valid.
-1Otherwise.