Closed amarjotgill closed 1 month ago
Since this is a port of the Zig version, which has had support for PBRSA for a long time, I'd just do the same thing, and use distinct namespaces.
There's not a lot that can be factored, and trying to do so would just increase complexity.
In addition to be insecure against side channels, expect the pure Rust implementation to be awfully slow. In a Rust application, I'd rather write bindings against the C or Zig versions to be honest.
Working on an implementation for https://www.ietf.org/archive/id/draft-amjad-cfrg-partially-blind-rsa-03.html, wanted to see if desire of this would be making new function for functions such as Blind making Partially Blind and Blind RSA signatures separate from one another.