Sha256: 634f48484713934aea4b66b586dbcf49d02ad70cb3698ad3156182d3a041e510
Contents?: true
Size: 1.97 KB
Versions: 3
Compression:
Stored size: 1.97 KB
Contents
#include "crypto_stream_chacha20.h" #include "ref/api.h" size_t crypto_stream_chacha20_keybytes(void) { return crypto_stream_chacha20_KEYBYTES; } size_t crypto_stream_chacha20_noncebytes(void) { return crypto_stream_chacha20_NONCEBYTES; } size_t crypto_stream_chacha20_ietf_noncebytes(void) { return crypto_stream_chacha20_IETF_NONCEBYTES; } int crypto_stream_chacha20(unsigned char *c, unsigned long long clen, const unsigned char *n, const unsigned char *k) { return crypto_stream_chacha20_ref(c, clen, n, k); } int crypto_stream_chacha20_ietf(unsigned char *c, unsigned long long clen, const unsigned char *n, const unsigned char *k) { return crypto_stream_chacha20_ietf_ref(c, clen, n, k); } int crypto_stream_chacha20_xor_ic(unsigned char *c, const unsigned char *m, unsigned long long mlen, const unsigned char *n, uint64_t ic, const unsigned char *k) { return crypto_stream_chacha20_ref_xor_ic(c, m, mlen, n, ic, k); } int crypto_stream_chacha20_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) { return crypto_stream_chacha20_ietf_ref_xor_ic(c, m, mlen, n, ic, k); } int crypto_stream_chacha20_xor(unsigned char *c, const unsigned char *m, unsigned long long mlen, const unsigned char *n, const unsigned char *k) { return crypto_stream_chacha20_ref_xor_ic(c, m, mlen, n, 0U, k); } int crypto_stream_chacha20_ietf_xor(unsigned char *c, const unsigned char *m, unsigned long long mlen, const unsigned char *n, const unsigned char *k) { return crypto_stream_chacha20_ietf_ref_xor_ic(c, m, mlen, n, 0U, k); }
Version data entries
3 entries across 3 versions & 1 rubygems