Sha256: f8436a367957406453c3e60acf9a689d285f4430a110b376b2cc1e11ba72000b

Contents?: true

Size: 872 Bytes

Versions: 5

Compression:

Stored size: 872 Bytes

Contents

#ifndef crypto_scalarmult_curve25519_H
#define crypto_scalarmult_curve25519_H

#include <stddef.h>

#include "export.h"

#ifdef __cplusplus
extern "C" {
#endif

#define crypto_scalarmult_curve25519_BYTES 32U
SODIUM_EXPORT
size_t crypto_scalarmult_curve25519_bytes(void);

#define crypto_scalarmult_curve25519_SCALARBYTES 32U
SODIUM_EXPORT
size_t crypto_scalarmult_curve25519_scalarbytes(void);

SODIUM_EXPORT
int crypto_scalarmult_curve25519(unsigned char *q, const unsigned char *n,
                                 const unsigned char *p)
            __attribute__ ((warn_unused_result));

SODIUM_EXPORT
int crypto_scalarmult_curve25519_base(unsigned char *q, const unsigned char *n);

/* ------------------------------------------------------------------------- */

int _crypto_scalarmult_curve25519_pick_best_implementation(void);

#ifdef __cplusplus
}
#endif

#endif

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rbnacl-libsodium-1.0.11 vendor/libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h
rbnacl-libsodium-1.0.10 vendor/libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h
rbnacl-libsodium-1.0.9 vendor/libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h
rbnacl-libsodium-1.0.8 vendor/libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h
rbnacl-libsodium-1.0.7 vendor/libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h