nrfxlib API 2.7.99
Loading...
Searching...
No Matches
ECC Curve25519 low-level APIs

Type declarations and APIs for low-level elliptic curve point operations based on Curve25519. More...

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

Type declarations and APIs for low-level elliptic curve point operations based on Curve25519.

Curve25519 is an elliptic curve offering 128 bits of security. It is designed for use in the Elliptic Curve Diffie-Hellman (ECDH) key agreement scheme.

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