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

◆ ocrypto_srp_scrambling_parameter_ctx()

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.

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