leftover crypto_stream functions

This commit is contained in:
Christophe Diederichs 2020-05-04 21:10:22 +02:00
parent 00d47225ff
commit a4cab9dfd4

View File

@ -14,14 +14,6 @@ var sodium = module.exports
var randombytes = require('./randombytes').randombytes var randombytes = require('./randombytes').randombytes
function crypto_stream_xor (c, cpos, m, mpos, clen, n, k) {
cs.crypto_stream_xor(c, m, n, k)
}
function crypto_stream (c, cpos, clen, n, k) {
cs.crypto_stream(c, n, k)
}
function crypto_onetimeauth(out, outpos, m, mpos, n, k) { function crypto_onetimeauth(out, outpos, m, mpos, n, k) {
var s = new poly1305(k); var s = new poly1305(k);
s.update(m, mpos, n); s.update(m, mpos, n);