leftover crypto_stream functions
This commit is contained in:
parent
00d47225ff
commit
a4cab9dfd4
8
index.js
8
index.js
@ -14,14 +14,6 @@ var sodium = module.exports
|
||||
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) {
|
||||
var s = new poly1305(k);
|
||||
s.update(m, mpos, n);
|
||||
|
Loading…
Reference in New Issue
Block a user