nrfxlib API 3.3.99
Loading...
Searching...
No Matches

EC-JPAKE algorithm based on P-256. More...

Files

file  ocrypto_ecjpake_p256.h
 EC-JPAKE algorithm based on P-256.
 

Functions

int ocrypto_ecjpake_get_public_key (uint8_t X[64], const uint8_t G[64], const uint8_t x[32])
 
void ocrypto_ecjpake_get_zkp_hash (uint8_t hash[32], const uint8_t X[64], const uint8_t V[64], const uint8_t G[64], const char *id, size_t id_len)
 
int ocrypto_ecjpake_zkp_sign (uint8_t r[32], const uint8_t x[32], const uint8_t v[32], const uint8_t *hash, size_t hash_len)
 
int ocrypto_ecjpake_zkp_verify (const uint8_t G[64], const uint8_t X[64], const uint8_t V[64], const uint8_t r[32], const uint8_t *hash, size_t hash_len)
 
int ocrypto_ecjpake_get_key (uint8_t X[64], uint8_t V[64], uint8_t r[32], const uint8_t G[64], const uint8_t x[32], const uint8_t v[32], const char *id, size_t id_len)
 
int ocrypto_ecjpake_verify_key (const uint8_t G[64], const uint8_t X[64], const uint8_t V[64], const uint8_t r[32], const char *id, size_t id_len)
 
int ocrypto_ecjpake_get_generator (uint8_t G[64], const uint8_t X1[64], const uint8_t X2[64], const uint8_t X3[64])
 
void ocrypto_ecjpake_read_shared_secret (uint8_t rs[32], const uint8_t *secret, size_t secret_len)
 
int ocrypto_ecjpake_process_shared_secret (uint8_t xs[32], const uint8_t x2[32], const uint8_t rs[32])
 
int ocrypto_ecjpake_get_premaster_secret_key (uint8_t secret[64], const uint8_t Xr[64], const uint8_t X2[64], const uint8_t xs[32], const uint8_t x2[32])
 
int ocrypto_ecjpake_get_premaster_secret (uint8_t secret[32], const uint8_t Xr[64], const uint8_t X2[64], const uint8_t xs[32], const uint8_t x2[32])
 

Detailed Description

EC-JPAKE algorithm based on P-256.

See also
RFC - J-PAKE: Password-Authenticated Key Exchange by Juggling