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

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

Go to the source code of this file.

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.