Sha256: d3242a775474b1cb8b95be535b59cf2f3371a4817b05128fc52363003280e87c
Contents?: true
Size: 845 Bytes
Versions: 1
Compression:
Stored size: 845 Bytes
Contents
#include "crypto_stream_aes128ctr.h" #ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif int crypto_stream_aes128ctr(unsigned char *out, unsigned long long outlen, const unsigned char *n, const unsigned char *k) { unsigned char d[crypto_stream_aes128ctr_BEFORENMBYTES]; crypto_stream_aes128ctr_beforenm(d, k); crypto_stream_aes128ctr_afternm(out, outlen, n, d); return 0; } int crypto_stream_aes128ctr_xor(unsigned char *out, const unsigned char *in, unsigned long long inlen, const unsigned char *n, const unsigned char *k) { unsigned char d[crypto_stream_aes128ctr_BEFORENMBYTES]; crypto_stream_aes128ctr_beforenm(d, k); crypto_stream_aes128ctr_xor_afternm(out, in, inlen, n, d); return 0; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rbnacl-libsodium-1.0.13 | vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/nacl/stream_aes128ctr_nacl.c |