Sha256: 40c4f956815f544f25671f1929484e05ce2b405e14d3b3fb339c4eee90660ea7

Contents?: true

Size: 331 Bytes

Versions: 3

Compression:

Stored size: 331 Bytes

Contents

#include "crypto_stream.h"

int crypto_stream(
        unsigned char *out,
        unsigned long long outlen,
        const unsigned char *n,
        const unsigned char *k
        )
{
    unsigned char d[crypto_stream_BEFORENMBYTES];
    crypto_stream_beforenm(d, k);
    crypto_stream_afternm(out, outlen, n, d);
    return 0;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_nacl-0.1.2 ext/ruby_nacl/NaCl/crypto_stream/aes128ctr/core2/stream.c
ruby_nacl-0.1.1 ext/ruby_nacl/NaCl/crypto_stream/aes128ctr/core2/stream.c
ruby_nacl-0.1.0 ext/ruby_nacl/NaCl/crypto_stream/aes128ctr/core2/stream.c