nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ ocrypto_srp_scrambling_parameter()

void ocrypto_srp_scrambling_parameter ( 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.

Parameters
[out]uGenerated scrambling parameter.
pub_aClient public key.
pub_bServer public key.