]> zoso.dev Git - libnemo.git/commitdiff
Delete previously exported lowlevel API since we simply won't be using it.
authorChris Duncan <chris@zoso.dev>
Mon, 25 Nov 2024 05:55:25 +0000 (21:55 -0800)
committerChris Duncan <chris@zoso.dev>
Mon, 25 Nov 2024 05:55:25 +0000 (21:55 -0800)
src/lib/workers/nano25519.ts

index aa6aa919c2d4a40f4694c069c7fcb32172407c2f..c33e57d1b6e9df0d60c42014521c73c70b7dccde 100644 (file)
@@ -2110,65 +2110,6 @@ import blake2b from 'blake2b'
                        crypto_sign_SEEDBYTES = 32,\r
                        crypto_hash_BYTES = 64;\r
 \r
-       lowlevel = {\r
-               crypto_core_hsalsa20: crypto_core_hsalsa20,\r
-               crypto_stream_xor: crypto_stream_xor,\r
-               crypto_stream: crypto_stream,\r
-               crypto_stream_salsa20_xor: crypto_stream_salsa20_xor,\r
-               crypto_stream_salsa20: crypto_stream_salsa20,\r
-               crypto_onetimeauth: crypto_onetimeauth,\r
-               crypto_onetimeauth_verify: crypto_onetimeauth_verify,\r
-               crypto_verify_16: crypto_verify_16,\r
-               crypto_verify_32: crypto_verify_32,\r
-               crypto_secretbox: crypto_secretbox,\r
-               crypto_secretbox_open: crypto_secretbox_open,\r
-               crypto_scalarmult: crypto_scalarmult,\r
-               crypto_scalarmult_base: crypto_scalarmult_base,\r
-               crypto_box_beforenm: crypto_box_beforenm,\r
-               crypto_box_afternm: crypto_box_afternm,\r
-               crypto_box: crypto_box,\r
-               crypto_box_open: crypto_box_open,\r
-               crypto_box_keypair: crypto_box_keypair,\r
-               crypto_hash: crypto_hash,\r
-               crypto_sign: crypto_sign,\r
-               crypto_sign_keypair: crypto_sign_keypair,\r
-               crypto_sign_open: crypto_sign_open,\r
-\r
-               crypto_secretbox_KEYBYTES: crypto_secretbox_KEYBYTES,\r
-               crypto_secretbox_NONCEBYTES: crypto_secretbox_NONCEBYTES,\r
-               crypto_secretbox_ZEROBYTES: crypto_secretbox_ZEROBYTES,\r
-               crypto_secretbox_BOXZEROBYTES: crypto_secretbox_BOXZEROBYTES,\r
-               crypto_scalarmult_BYTES: crypto_scalarmult_BYTES,\r
-               crypto_scalarmult_SCALARBYTES: crypto_scalarmult_SCALARBYTES,\r
-               crypto_box_PUBLICKEYBYTES: crypto_box_PUBLICKEYBYTES,\r
-               crypto_box_SECRETKEYBYTES: crypto_box_SECRETKEYBYTES,\r
-               crypto_box_BEFORENMBYTES: crypto_box_BEFORENMBYTES,\r
-               crypto_box_NONCEBYTES: crypto_box_NONCEBYTES,\r
-               crypto_box_ZEROBYTES: crypto_box_ZEROBYTES,\r
-               crypto_box_BOXZEROBYTES: crypto_box_BOXZEROBYTES,\r
-               crypto_sign_BYTES: crypto_sign_BYTES,\r
-               crypto_sign_PUBLICKEYBYTES: crypto_sign_PUBLICKEYBYTES,\r
-               crypto_sign_SECRETKEYBYTES: crypto_sign_SECRETKEYBYTES,\r
-               crypto_sign_SEEDBYTES: crypto_sign_SEEDBYTES,\r
-               crypto_hash_BYTES: crypto_hash_BYTES,\r
-\r
-               gf: gf,\r
-               D: D,\r
-               L: L,\r
-               pack25519: pack25519,\r
-               unpack25519: unpack25519,\r
-               M: M,\r
-               A: A,\r
-               S: S,\r
-               Z: Z,\r
-               pow2523: pow2523,\r
-               add: add,\r
-               set25519: set25519,\r
-               modL: modL,\r
-               scalarmult: scalarmult,\r
-               scalarbase: scalarbase,\r
-       };\r
-\r
        /* High-level API */\r
 \r
        function checkArrayTypes() {\r