Sha256: aa73798c89b109899b2a10c581c09c3551dc97e09cb6f29ea3687aef47f7c70c

Contents?: true

Size: 403 Bytes

Versions: 10

Compression:

Stored size: 403 Bytes

Contents

#ifndef X25519_REF10_H
#define X25519_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 /* X25519_REF10_H */

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
x25519-1.0.10 ext/x25519_ref10/x25519_ref10.h
x25519-1.0.9 ext/x25519_ref10/x25519_ref10.h
x25519-termux-1.1.0 ext/x25519_ref10/x25519_ref10.h
x25519-1.0.8 ext/x25519_ref10/x25519_ref10.h
x25519-1.0.7 ext/x25519_ref10/x25519_ref10.h
x25519-1.0.6 ext/x25519_ref10/x25519_ref10.h
x25519-1.0.5 ext/x25519_ref10/x25519_ref10.h
x25519-1.0.4 ext/x25519_ref10/x25519_ref10.h
x25519-1.0.3 ext/x25519_ref10/x25519_ref10.h
x25519-1.0.2 ext/x25519_ref10/x25519_ref10.h