Sha256: 3085c9c338509ff11777cea0b7bc457e1b6c3bf1e24da42712d6eb6fe8b131a1

Contents?: true

Size: 580 Bytes

Versions: 15

Compression:

Stored size: 580 Bytes

Contents

#include "crypto_scalarmult.h"

size_t
crypto_scalarmult_bytes(void)
{
    return crypto_scalarmult_BYTES;
}

size_t
crypto_scalarmult_scalarbytes(void)
{
    return crypto_scalarmult_SCALARBYTES;
}

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);
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rbnacl-libsodium-1.0.6 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-1.0.5 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-1.0.4 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-1.0.3 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-1.0.2 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-1.0.1 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-1.0.0 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-0.7.0 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-0.6.1 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-0.6.0 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-0.5.0.1 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-0.5.0.1.pre vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-0.5.0 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-0.4.5 vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
rbnacl-libsodium-0.4.5a vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c