Sha256: 7937a1ed3a353ddee8e258af127b4f660cbb77ab649d79c0ea5992bf28441bf9

Contents?: true

Size: 1003 Bytes

Versions: 2

Compression:

Stored size: 1003 Bytes

Contents

#ifndef crypto_onetimeauth_poly1305_donna_H
#define crypto_onetimeauth_poly1305_donna_H

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

#ifdef __cplusplus
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

2 entries across 2 versions & 1 rubygems

Version Path
rbnacl-libsodium-0.4.5 vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305_donna.h
rbnacl-libsodium-0.4.5a vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305_donna.h