all repos — TinyCrypT @ 18220c954688befc03aacf31bfe51d4bfe3dc1aa

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