Sha256: c3c8230ca99c8b79182ef706d22b32f9b47656884a80cd5e92effb6569dddefe

Contents?: true

Size: 852 Bytes

Versions: 6

Compression:

Stored size: 852 Bytes

Contents

#include <stdint.h>

#include "utils.h"

#include "../stream_salsa20.h"
#include "salsa20_xmm6.h"

#ifdef HAVE_AMD64_ASM

#ifdef __cplusplus
extern "C" {
#endif
extern int stream_salsa20_xmm6(unsigned char *c, unsigned long long clen,
                               const unsigned char *n, const unsigned char *k);

extern int stream_salsa20_xmm6_xor_ic(unsigned char *c, const unsigned char *m,
                                      unsigned long long mlen,
                                      const unsigned char *n,
                                      uint64_t ic, const unsigned char *k);
#ifdef __cplusplus
}
#endif

struct crypto_stream_salsa20_implementation
    crypto_stream_salsa20_xmm6_implementation = {
        SODIUM_C99(.stream =) stream_salsa20_xmm6,
        SODIUM_C99(.stream_xor_ic =) stream_salsa20_xmm6_xor_ic,
    };

#endif

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
laag-libsodium-1.0.16.2 vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/xmm6/salsa20_xmm6.c
laag-libsodium-1.0.16.0 vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/xmm6/salsa20_xmm6.c
rbnacl-libsodium-1.0.16 vendor/libsodium/src/libsodium/crypto_stream/salsa20/xmm6/salsa20_xmm6.c
rbnacl-libsodium-1.0.15.1 vendor/libsodium/src/libsodium/crypto_stream/salsa20/xmm6/salsa20_xmm6.c
rbnacl-libsodium-1.0.15 vendor/libsodium/src/libsodium/crypto_stream/salsa20/xmm6/salsa20_xmm6.c
rbnacl-libsodium-1.0.13 vendor/libsodium/src/libsodium/crypto_stream/salsa20/xmm6/salsa20_xmm6.c