frostfs-sdk-go/client
Leonard Lyubich e2011832eb slicer: Allow to toggle homomorphic hashing
Homomorphic hashing of object payload is not always necessary. There is
a need to provide ability to skip calculation. It's also worth to not
calculate it by default since current implementation of Tillich-Zemor
algorithm has large resource cost.

Do not calculate homomorphic checksum in `Slicer` methods by default.
Provide option to enable the calculation. Make tests to randomize
calculation flag and assert results according to it.

Refs #342.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
2023-04-26 21:40:01 +04:00
..
status *: replace interface{} with any keyword 2023-04-18 12:28:25 +04:00
accounting.go [#322] *: Go fmt -s 2022-08-24 18:58:59 +03:00
api.go [#270] client/netmap: Cover NetMapSnapshot with unit tests 2022-09-22 10:51:07 +04:00
client.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
client_test.go tests: Use dedicated function to generate signers in tests 2023-04-26 15:03:55 +04:00
common.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
container.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
doc.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
errors.go [#299] client: Do not use pointers to required response fields 2022-08-08 12:55:25 +03:00
errors_test.go [#307] status: Support EACL_NOT_FOUND status code 2022-08-01 19:57:07 +03:00
example_container_put_test.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
netmap.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
netmap_test.go tests: Use dedicated function to generate signers in tests 2023-04-26 15:03:55 +04:00
object_delete.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
object_get.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
object_hash.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
object_put.go slicer: Allow to toggle homomorphic hashing 2023-04-26 21:40:01 +04:00
object_search.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
object_search_test.go tests: Use dedicated function to generate signers in tests 2023-04-26 15:03:55 +04:00
reputation.go [#322] *: Go fmt -s 2022-08-24 18:58:59 +03:00
response.go [#137] pool: simplify session creation 2022-04-07 13:33:16 +03:00
session.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
sign.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
sign_test.go tests: Use dedicated function to generate signers in tests 2023-04-26 15:03:55 +04:00