It doesn't appear this feature actually does anything except
transitively activate the `sha3/std` feature, which we likely plan on
removing in the next breaking release.
Now that `core::error::Error` is stable, we are generally trying to
remove `std` features across the @RustCrypto project, except in cases
where libraries do things like e.g. file I/O (for loading/saving keys)
and actually have a legitimate `std` dependency that way.
The build is failing because of a lint failure due to an undocumented
macro which is only used for tests.
This adds a simple comment so the lint succeeds.
`otstype` is converted as a `u32` below, panics if it is `ID_LEN` (16) bytes long.
With this change, the `SigningKey` can be correctly converted to bytes and back.
To get `serde` support for `VerifyingKey`, confusingly the `pem` feature
previously needed to be enabled (even though PEM is not actually used).
This changed the `serde` feature to auto-enable `pkcs8`, similar to
what was done in the `elliptic-curve` crate.
This makes use of a global `patch.crates-io` instead of local `path =`
attributes in the dependencies.
When pulling dependencies through git to try unreleased crates, the
dependency in `path` will get duplicated. Which makes for twice the
definition of types incompatible with each other.
This bump the following dependencies:
- pkcs8 0.11.0-rc.0 -> 0.11.0-rc.1
- elliptic-curve 0.14.0-pre.6 -> 0.14.0-rc.0
This is a followup on breaking changes made on pkcs8
(https://github.com/RustCrypto/formats/pull/1483).
- Implement changes from FIP 205 Initial Public Draft -> FIPS 205 Final
- Add SLH-DSA CVP known answer tests
- Add E2E tests for sign-with-context and require alloc for KATs
...rather than directly depending on `zerocopy-derive`.
This fixes problems that arise if the `derive` feature is enabled by
other dependencies in the same tree. See #846.
The crate doesn't currently have a `zeroize` feature but has code gated
under it.
This removes the code in question to fix the build until such a time as
a proper `zeroize` feature can be added.