Tony Arcieri

Results 268 issues of Tony Arcieri

In #850 I noticed there are a lot of places that internal types are currently marked `pub` which is a bit confusing when trying to reason about whether APIs allow...

Adds a new verification method implementing the [ZIP-215] verification criteria for Ed25519 signatures. TODO: test vectors [ZIP-215]: https://zips.z.cash/zip-0215

This paper describes complete formulas for Montgomery curves which are as efficient as the ones for Edwards curves: https://tches.iacr.org/index.php/TCHES/article/view/11808/11313 > In this paper, we introduce extended Montgomery coordinates as a...

I think it would be good to add some more constants in places where integer literals are frequently repeated, and ideally establish a naming pattern that can be reused across...

We get a pretty steady stream of accidental PRs from people's forks of `curve25519-dalek`. That makes me wonder if there are things we could put in a `hazmat` API which...

Adds a table of low order points, adapted from https://cr.yp.to/ecdh.html, which suggests that non-Diffie-Hellman protocols that depend on "contributory" behavior should reject them. They're also useful for testing, e.g. how...

This is something I've noticed when synthesizing a `word-by-word-montgomery` implementation of the P-521 scalar field, which I did as follows: ```console fiat-crypto word-by-word-montgomery --lang Rust --inline p521_scalar 64 0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409 ```...

Right now `spake2` and `srp` suggest they should be used in conjunction with PBKDFs, but do not make it easy to do so or provide ready-made recipes for using them...

security

It would be good if there were traits for providing a common API for various PAKE algorithms, impl'd by the various crates in this repo. I've opened a PR to...

The `srp` crate was recently migrated to `crypto-bigint` in #229. `crypto-bigint` supports rich stack-allocated types which should work fine with the fix-sized groups in SRP, which we already model as...