all repos — TinyCrypT @ b782db0b7210e4ed32cab69f8c24b9e5f617a740

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