]> zoso.dev Git - libnemo.git/commitdiff
Delete deprecated constants.
authorChris Duncan <chris@zoso.dev>
Mon, 25 Nov 2024 05:56:48 +0000 (21:56 -0800)
committerChris Duncan <chris@zoso.dev>
Mon, 25 Nov 2024 05:56:48 +0000 (21:56 -0800)
src/lib/workers/nano25519.ts

index c33e57d1b6e9df0d60c42014521c73c70b7dccde..e49325b9460a55c3256f2d1d38ecc5a2e9c8b633 100644 (file)
@@ -2092,23 +2092,10 @@ import blake2b from 'blake2b'
                return n;\r
        }\r
 \r
-       var crypto_secretbox_KEYBYTES = 32,\r
-                       crypto_secretbox_NONCEBYTES = 24,\r
-                       crypto_secretbox_ZEROBYTES = 32,\r
-                       crypto_secretbox_BOXZEROBYTES = 16,\r
-                       crypto_scalarmult_BYTES = 32,\r
-                       crypto_scalarmult_SCALARBYTES = 32,\r
-                       crypto_box_PUBLICKEYBYTES = 32,\r
-                       crypto_box_SECRETKEYBYTES = 32,\r
-                       crypto_box_BEFORENMBYTES = 32,\r
-                       crypto_box_NONCEBYTES = crypto_secretbox_NONCEBYTES,\r
-                       crypto_box_ZEROBYTES = crypto_secretbox_ZEROBYTES,\r
-                       crypto_box_BOXZEROBYTES = crypto_secretbox_BOXZEROBYTES,\r
-                       crypto_sign_BYTES = 64,\r
+       var crypto_sign_BYTES = 64,\r
                        crypto_sign_PUBLICKEYBYTES = 32,\r
                        crypto_sign_SECRETKEYBYTES = 64,\r
-                       crypto_sign_SEEDBYTES = 32,\r
-                       crypto_hash_BYTES = 64;\r
+                       crypto_sign_SEEDBYTES = 32;\r
 \r
        /* High-level API */\r
 \r