nrfxlib API 0.1.0
|
Type declarations and APIs for EC-JPAKE-P256. More...
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]) |
Type declarations and APIs for EC-JPAKE-P256.