summaryrefslogtreecommitdiff
path: root/ext/ed25519-amd64-asm/sc25519_mul_shortsc.c
blob: 0c67250d705ff234dee7f0d73f3d4e6e504a7f31 (plain)
1
2
3
4
5
6
7
8
9
#include "sc25519.h"

void sc25519_mul_shortsc(sc25519 *r, const sc25519 *x, const shortsc25519 *y)
{
  /* XXX: This wants to be faster */
  sc25519 t;
  sc25519_from_shortsc(&t, y);
  sc25519_mul(r, x, &t);
}