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

Elliptic curve Diffie-Hellman algorithm based on the Curve25519 curve. More...

Files

file  ocrypto_curve25519.h
 Elliptic curve Diffie-Hellman algorithm based on the Curve25519 curve.
 

Macros

#define ocrypto_curve25519_SCALAR_BYTES   (32)
 
#define ocrypto_curve25519_BYTES   (32)
 

Functions

void ocrypto_curve25519_scalarmult_base (uint8_t r[(32)], const uint8_t n[(32)])
 
void ocrypto_curve25519_scalarmult (uint8_t r[(32)], const uint8_t n[(32)], const uint8_t p[(32)])
 
void ocrypto_curve25519_scalarmult_base_ctx (ocrypto_curve25519_ctx *ctx, uint8_t r[(32)], const uint8_t n[(32)])
 
void ocrypto_curve25519_scalarmult_ctx (ocrypto_curve25519_ctx *ctx, uint8_t r[(32)], const uint8_t n[(32)], const uint8_t p[(32)])
 

Detailed Description

Elliptic curve Diffie-Hellman algorithm based on the Curve25519 curve.

X25519 is the combination of the Curve25519 elliptic curve with the Diffie-Hellman operation. Curve25519 is an elliptic curve offering 128 bits of security.

See also
RFC - Elliptic Curves for Security
Curve25519: high-speed elliptic-curve cryptography