Commit 23118ea
authored
kem v0.3.0 (#2356)
This release is effectively a complete rewrite of the `kem` crate. Any
similarities between trait names in this release and previous releases
is coincidental. The log below highlights some of the new parts of the
API but will provide an incomplete picture of changes.
## Added
- `Encapsulate` and `Decapsulate` traits (#1509)
- `getrandom` feature (#2140)
- Re-exports from `crypto-common` (#2222)
- re-exports `crypto-common` itself as `common`
- re-exports `KeyInit`, which is useful for seeds
- re-exports `Key` as the type for representing serialized encapsulation
and decapsulation keys
- re-exports `InvalidKey` as the error when `TryKeyInit` fails
- `TryDecapsulate` trait (#2220, #2235)
- `Kem` trait for the whole algorithm type family (#2243)
- `FromSeed` trait and `Seed` type alias (#2284)
## Changed
- `Decapsulator` trait replaced with new implementation (#2282)
## Removed
- Previous implementation (#1509)1 parent 13beea5 commit 23118ea
4 files changed
Lines changed: 36 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
8 | 40 | | |
9 | 41 | | |
10 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments