nrfxlib API 0.1.0
Loading...
Searching...
No Matches
ocrypto_curve25519.h File Reference
#include "ocrypto_types.h"

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)])