@@ -15,12 +15,21 @@ fn main(mut cx: ModuleContext) -> NeonResult<()> {
15
15
// Api256 member functions
16
16
cx. export_function ( "createApi256" , api256:: api256_create_recrypt_api_256) ?;
17
17
cx. export_function ( "generateKeyPair" , api256:: api256_generate_key_pair) ?;
18
- cx. export_function ( "generateEd25519KeyPair" , api256:: api256_generate_ed25519_key_pair) ?;
18
+ cx. export_function (
19
+ "generateEd25519KeyPair" ,
20
+ api256:: api256_generate_ed25519_key_pair,
21
+ ) ?;
19
22
cx. export_function ( "ed25519Sign" , api256:: api256_ed25519_sign) ?;
20
23
cx. export_function ( "ed25519Verify" , api256:: api256_ed25519_verify) ?;
21
- cx. export_function ( "computeEd25519PublicKey" , api256:: api256_compute_ed25519_public_key) ?;
24
+ cx. export_function (
25
+ "computeEd25519PublicKey" ,
26
+ api256:: api256_compute_ed25519_public_key,
27
+ ) ?;
22
28
cx. export_function ( "generatePlaintext" , api256:: api256_generate_plaintext) ?;
23
- cx. export_function ( "generateTransformKey" , api256:: api256_generate_transform_key) ?;
29
+ cx. export_function (
30
+ "generateTransformKey" ,
31
+ api256:: api256_generate_transform_key,
32
+ ) ?;
24
33
cx. export_function ( "computePublicKey" , api256:: api256_compute_public_key) ?;
25
34
cx. export_function ( "deriveSymmetricKey" , api256:: api256_derive_symmetric_key) ?;
26
35
cx. export_function ( "encrypt" , api256:: api256_encrypt) ?;
0 commit comments