Sha256: 8a1ae86c35bca2c5c411ea698b76769db0ec91c135549d329d7639b99bdbb129

Contents?: true

Size: 922 Bytes

Versions: 11

Compression:

Stored size: 922 Bytes

Contents

#ifndef stream_chacha20_H
#define stream_chacha20_H

#include <stdint.h>

typedef struct crypto_stream_chacha20_implementation {
    int (*stream)(unsigned char *c, unsigned long long clen,
                  const unsigned char *n, const unsigned char *k);
    int (*stream_ietf)(unsigned char *c, unsigned long long clen,
                      const unsigned char *n, const unsigned char *k);
    int (*stream_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 (*stream_ietf_xor_ic)(unsigned char *c, const unsigned char *m,
                              unsigned long long mlen,
                              const unsigned char *n, uint32_t ic,
                              const unsigned char *k);
} crypto_stream_chacha20_implementation;

#endif

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
laag-libsodium-1.0.16.2 vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.h
laag-libsodium-1.0.16.0 vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.h
rbnacl-libsodium-1.0.16 vendor/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.h
rbnacl-libsodium-1.0.15.1 vendor/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.h
rbnacl-libsodium-1.0.15 vendor/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.h
rbnacl-libsodium-1.0.13 vendor/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.h
rbnacl-libsodium-1.0.11 vendor/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.h
rbnacl-libsodium-1.0.10 vendor/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.h
rbnacl-libsodium-1.0.9 vendor/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.h
rbnacl-libsodium-1.0.8 vendor/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.h
rbnacl-libsodium-1.0.7 vendor/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.h