nrfxlib API 2.8.99
|
void ocrypto_srp_scrambling_parameter_ctx | ( | ocrypto_srp_ctx * | ctx, |
uint8_t | u[(64)], | ||
const uint8_t | pub_a[(384)], | ||
const uint8_t | pub_b[(384)] ) |
#include <crypto/nrf_oberon/include/ocrypto_srp.h>
SRP-6 scrambling parameter.
The scrambling parameter is computed from both the client's public key pub_a
and the server's public key pub_b
. The scrambling parameter is required to compute the premaster secret.
ctx | Context. | |
[out] | u | Generated scrambling parameter. |
pub_a | Client public key. | |
pub_b | Server public key. |