Sha256: fe78e5ac6a6a3491dc0cb10632fbd5e1e4da243719b5984f1c096af2f41fda8e

Contents?: true

Size: 406 Bytes

Versions: 3

Compression:

Stored size: 406 Bytes

Contents

#ifndef RFC7748_REF10_H
#define RFC7748_REF10_H

#include <stdint.h>

#define X25519_KEYSIZE_BYTES 32
typedef uint8_t X25519_KEY[X25519_KEYSIZE_BYTES];

/* Fixed-base scalar multiplication */
int x25519_ref10_scalarmult(uint8_t *q, const uint8_t *n, const uint8_t *p);

/* Variable-base scalar multiplication */
int x25519_ref10_scalarmult_base(uint8_t *q, const uint8_t *n);

#endif /* RFC7748_REF10_H */

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
x25519-1.0.1 ext/x25519_ref10/x25519_ref10.h
x25519-1.0.0 ext/x25519_ref10/x25519_ref10.h
x25519-0.2.0 ext/x25519_ref10/x25519_ref10.h