Document the notion of finalization
This commit is contained in:
parent
96b883ceba
commit
a3f112607c
@ -74,6 +74,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||||||
closer than before. In particular, some dead code has been removed as a result.
|
closer than before. In particular, some dead code has been removed as a result.
|
||||||
- Constants are now named by their libsodium counterpart. This should make it easier
|
- Constants are now named by their libsodium counterpart. This should make it easier
|
||||||
to find the correct names given the libsodium documentation.
|
to find the correct names given the libsodium documentation.
|
||||||
|
- Generichash now checks if a `_final` call has already happened and rejects further
|
||||||
|
hashing on the object. The rejection is an error: if you ever do this, your code
|
||||||
|
is definitely wrong and there is no recovery possible.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fix a resource leak in generichash/sign init/update/final.
|
- Fix a resource leak in generichash/sign init/update/final.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user