diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2018-03-19 11:18:54 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2018-03-19 11:18:54 -0700 |
| commit | 209f6d9d2d6f826fa37ca841ef51c5d6e065ff5e (patch) | |
| tree | 181342018acb72d37ddc57412a4727d168345a89 /ext/ed25519-amd64-asm/sc25519_from64bytes.c | |
| parent | b601041b5bd82aca1e52967c37c78ed953be7751 (diff) | |
| parent | 916077012ed4810492d6e45ed07222cdbb750fc0 (diff) | |
| download | infinitytier-209f6d9d2d6f826fa37ca841ef51c5d6e065ff5e.tar.gz infinitytier-209f6d9d2d6f826fa37ca841ef51c5d6e065ff5e.zip | |
Merge branch 'dev' into edge
Diffstat (limited to 'ext/ed25519-amd64-asm/sc25519_from64bytes.c')
| -rw-r--r-- | ext/ed25519-amd64-asm/sc25519_from64bytes.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/ed25519-amd64-asm/sc25519_from64bytes.c b/ext/ed25519-amd64-asm/sc25519_from64bytes.c new file mode 100644 index 00000000..8e76a1b3 --- /dev/null +++ b/ext/ed25519-amd64-asm/sc25519_from64bytes.c @@ -0,0 +1,7 @@ +#include "sc25519.h" + +void sc25519_from64bytes(sc25519 *r, const unsigned char x[64]) +{ + /* assuming little-endian representation of unsigned long long */ + sc25519_barrett(r, (unsigned long long *)x); +} |
