Sha256: 5cb7d8d24b5f4f47be8b76835d162f8394d7016c71d03f5090ed38eb044fcc38

Contents?: true

Size: 374 Bytes

Versions: 3

Compression:

Stored size: 374 Bytes

Contents

#include "crypto_stream.h"

int crypto_stream_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_BEFORENMBYTES];
    crypto_stream_beforenm(d, k);
    crypto_stream_xor_afternm(out, in, inlen, 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/xor.c
ruby_nacl-0.1.1 ext/ruby_nacl/NaCl/crypto_stream/aes128ctr/core2/xor.c
ruby_nacl-0.1.0 ext/ruby_nacl/NaCl/crypto_stream/aes128ctr/core2/xor.c