summaryrefslogtreecommitdiff
path: root/ext/ed25519-amd64-asm/sc25519_from64bytes.c
blob: 8e76a1b36911a4e0249729de53d5514805cd011c (plain)
1
2
3
4
5
6
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); 
}