Skip to content

Commit fa5a5eb

Browse files
committed
[codecs] clean up imports in codecs_ecdsa.nim
1 parent 5011fe3 commit fa5a5eb

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

Diff for: constantine/serialization/codecs_ecdsa.nim

+3-17
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,12 @@ In contrast to `codecs_ecdsa_secp256k1.nim` this file is generic under the choic
1717
of elliptic curve.
1818
]##
1919

20-
#import
21-
# constantine/named/algebras,
22-
# constantine/platforms/primitives,
23-
# constantine/platforms/abstractions,
24-
# constantine/math/arithmetic/finite_fields,
25-
# constantine/math/elliptic/ec_shortweierstrass_affine,
26-
# constantine/math/io/io_bigints
27-
2820
import
29-
constantine/hashes,
3021
constantine/named/algebras,
31-
constantine/math/io/[io_bigints, io_fields, io_ec],
32-
constantine/math/elliptic/[ec_shortweierstrass_affine, ec_shortweierstrass_jacobian, ec_scalar_mul, ec_multi_scalar_mul],
33-
constantine/math/[arithmetic, ec_shortweierstrass],
22+
constantine/math/io/[io_bigints, io_fields],
23+
constantine/math/elliptic/[ec_shortweierstrass_affine],
3424
constantine/platforms/[abstractions, views],
35-
constantine/serialization/codecs, # for fromHex and (in the future) base64 encoding
36-
constantine/mac/mac_hmac, # for deterministic nonce generation via RFC 6979
37-
constantine/named/zoo_generators, # for generator
38-
constantine/csprngs/sysrand,
39-
constantine/signatures/common_signature_ops # for `derivePubkey`
25+
constantine/serialization/codecs # for fromHex and (in the future) base64 encoding
4026

4127
type
4228
## Helper type for ASN.1 DER signatures to avoid allocation.

0 commit comments

Comments
 (0)