all repos — TinyCrypT @ 60d5e34d19d776b1e9f86e3619584bb252134810

Short and sweet classical cryptographic primitives

tinycrypt/x25519.h (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
#ifndef TCT_X25519_H
#define TCT_X25519_H

#include <stdint.h>

/// Implements the X25519 ECDH key derivation function as described in RFC 7748
void tct_x25519 (const uint8_t *key, const uint8_t *u, uint8_t *out);

#endif