Sha256: 098d7f7b5a167a49863869d26c3601f3bba1a497dbede7bd9356addb816f6728

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 KB

Contents

#ifndef crypto_onetimeauth_poly1305_donna_H
#define crypto_onetimeauth_poly1305_donna_H

#include "crypto_onetimeauth_poly1305.h"
#include "export.h"

#ifdef __cplusplus
# if __GNUC__
#  pragma GCC diagnostic ignored "-Wlong-long"
# endif
extern "C" {
#endif

SODIUM_EXPORT
extern struct crypto_onetimeauth_poly1305_implementation
        crypto_onetimeauth_poly1305_donna_implementation;

SODIUM_EXPORT
const char *crypto_onetimeauth_poly1305_donna_implementation_name(void);

SODIUM_EXPORT
int crypto_onetimeauth_poly1305_donna(unsigned char *out,
                                      const unsigned char *in,
                                      unsigned long long inlen,
                                      const unsigned char *k);

SODIUM_EXPORT
int crypto_onetimeauth_poly1305_donna_verify(const unsigned char *h,
                                             const unsigned char *in,
                                             unsigned long long inlen,
                                             const unsigned char *k);

#ifdef __cplusplus
}
#endif

#endif

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rbnacl-libsodium-0.5.0.1 vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305_donna.h
rbnacl-libsodium-0.5.0.1.pre vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305_donna.h
rbnacl-libsodium-0.5.0 vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305_donna.h