Sha256: 7c534be0c8849297c913425adc909bb1801a4fd5dac45047c290b257d8825df5
Contents?: true
Size: 820 Bytes
Versions: 1
Compression:
Stored size: 820 Bytes
Contents
#include "rfc7748_precomputed.h" /* Detect support for 4th gen (e.g. Haswell) or newer CPUs */ int check_4th_gen_intel_core_features(); /********************************** * rfc7748_precomputed prototypes * **********************************/ /* Fixed-base scalar multiplication */ void x25519_rfc7748_precomputed_scalarmult_base(uint8_t *session_key, uint8_t *private_key); /* Variable-base scalar multiplication */ void x25519_rfc7748_precomputed_scalarmult(uint8_t *shared, uint8_t *private_key, uint8_t *session_key); /******************** * ref10 prototypes * ********************/ /* Fixed-base scalar multiplication */ int x25519_ref10_scalarmult_base(uint8_t *q, const uint8_t *n); /* Variable-base scalar multiplication */ int x25519_ref10_scalarmult(uint8_t *q, const uint8_t *n, const uint8_t *p);
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
x25519-0.1.0 | ext/x25519/x25519.h |