Sha256: 714a391f2f1605075e6ef39323810492b48997f0f3d6239a98c7691643d7512a

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 KB

Contents

#include <stdint.h>

#include "crypto_stream_chacha20.h"
#include "../stream_chacha20.h"

extern struct crypto_stream_chacha20_implementation
    crypto_stream_chacha20_ref_implementation;

int
crypto_stream_chacha20_ref(unsigned char *c, unsigned long long clen,
                           const unsigned char *n, const unsigned char *k);

int
crypto_stream_chacha20_ref_xor_ic(unsigned char *c, const unsigned char *m,
                                  unsigned long long mlen,
                                  const unsigned char *n, uint64_t ic,
                                  const unsigned char *k);

int
crypto_stream_chacha20_ietf_ref(unsigned char *c, unsigned long long clen,
                                const unsigned char *n, const unsigned char *k);

int
crypto_stream_chacha20_ietf_ref_xor_ic(unsigned char *c, const unsigned char *m,
                                       unsigned long long mlen,
                                       const unsigned char *n, uint32_t ic,
                                       const unsigned char *k);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rbnacl-libsodium-1.0.11 vendor/libsodium/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.h
rbnacl-libsodium-1.0.10 vendor/libsodium/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.h
rbnacl-libsodium-1.0.9 vendor/libsodium/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.h