Remove unused construct_tag_hash
and Ciphertext.check()
#144
Labels
enhancement
New feature or request
construct_tag_hash
and Ciphertext.check()
#144
There's currently 2 versions of
construct_tag_hash()
, and on of them seems incorrect:ferveo/tpke/src/ciphertext.rs
Lines 45 to 51 in 434fd5d
As you can see, the AAD is not there. It's also just used here:
ferveo/tpke/src/ciphertext.rs
Line 36 in 434fd5d
This is part the function
Ciphertext.check()
, which is unused.I propose removing both.
The text was updated successfully, but these errors were encountered: