Sha256: 3aa1ce5272c4d77a0b03791becff2949a82db8c590dc10a423802984cbc08e99

Contents?: true

Size: 579 Bytes

Versions: 11

Compression:

Stored size: 579 Bytes

Contents

#include "crypto_scalarmult.h"

const char *
crypto_scalarmult_primitive(void)
{
    return crypto_scalarmult_PRIMITIVE;
}

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

int
crypto_scalarmult(unsigned char *q, const unsigned char *n,
                  const unsigned char *p)
{
    return crypto_scalarmult_curve25519(q, n, p);
}

size_t
crypto_scalarmult_bytes(void)
{
    return crypto_scalarmult_BYTES;
}

size_t
crypto_scalarmult_scalarbytes(void)
{
    return crypto_scalarmult_SCALARBYTES;
}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
laag-libsodium-1.0.16.2 vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
laag-libsodium-1.0.16.0 vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-1.0.16 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-1.0.15.1 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-1.0.15 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-1.0.13 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-1.0.11 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-1.0.10 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-1.0.9 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-1.0.8 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-1.0.7 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c