Tony Arcieri

Results 2560 comments of Tony Arcieri

We don't currently have an implementation of Poseidon, although there was some discussion of adding one (and/or Poseidon2) here: https://github.com/RustCrypto/hashes/issues/1 `k256` is designed so you can implement algorithms like Poseidon...

More concretely, I think a prospective `Memory` type needs a sort of "lending iterator" which returns a set of `p` memory views and then increments `j`. Those views would be...

@ixti can you take a look at this one?

What type is the `BIT STRING` represented as? Do you need to parse it first? Does it have a DER header?

You can use [`der::asn1::BitStringRef`](https://docs.rs/der/latest/der/asn1/struct.BitStringRef.html) to parse it, and `as_bytes()` to obtain `&[u8]`. In the next release we can add a `TryFrom

@oddcoder things like constant time division may be more the purview of something like [`crypto-bigint`](https://github.com/rustcrypto/crypto-bigint/), which already implements it (and may other operations)

Constant-time sorting built on traits like `ConstantTimeLess`/`ConstantTimeEq`/`ConstantTimeGreater` sounds potentially useful

I don’t understand what this PR is supposed to accomplish

Okay, it would be good to have an open PR to AEADs with all of the test vectors converted prior to merging this, so as not to further add to...