Sha256: c274ec2c571bf4701b94903f91e14c6f4872d374e7ebcc6c5b086a0e4790f545

Contents?: true

Size: 244 Bytes

Versions: 10

Compression:

Stored size: 244 Bytes

Contents

#include "api.h"
#include "crypto_scalarmult.h"

#ifndef HAVE_TI_MODE

static const unsigned char basepoint[32] = {9};

int crypto_scalarmult_base(unsigned char *q,const unsigned char *n)
{
  return crypto_scalarmult(q,n,basepoint);
}

#endif

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rbnacl-libsodium-1.0.6 vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/base_curve25519_ref10.c
rbnacl-libsodium-1.0.5 vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/base_curve25519_ref10.c
rbnacl-libsodium-1.0.4 vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/base_curve25519_ref10.c
rbnacl-libsodium-1.0.3 vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/base_curve25519_ref10.c
rbnacl-libsodium-1.0.2 vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/base_curve25519_ref10.c
rbnacl-libsodium-1.0.1 vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/base_curve25519_ref10.c
rbnacl-libsodium-1.0.0 vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/base_curve25519_ref10.c
rbnacl-libsodium-0.7.0 vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/base_curve25519_ref10.c
rbnacl-libsodium-0.6.1 vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/base_curve25519_ref10.c
rbnacl-libsodium-0.6.0 vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/base_curve25519_ref10.c