Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add partially blind RSA implementation (#445)
* Add partially blind RSA implementation See the specification for more information: https://datatracker.ietf.org/doc/html/draft-amjad-cfrg-partially-blind-rsa-00 * Apply linter * Drop internal PrepareRandom function and rename the type * Remove a couple more dead things * Address Bas comments * Apply changes from code review * Shuffle around the package contents per Armando's feedback * Add safe prime check for the partially blind RSA constructor * gofumptd * Update blindsign/blindrsa/brsa.go Co-authored-by: Armando Faz <[email protected]> * Update blindsign/blindrsa/brsa.go Co-authored-by: Armando Faz <[email protected]> * Update blindsign/blindrsa/common.go Co-authored-by: Armando Faz <[email protected]> * Armando's comments on brsa * File perms * Update blindsign/blindrsa/partiallyblindrsa/pbrsa.go Co-authored-by: Armando Faz <[email protected]> * Update blindsign/blindrsa/partiallyblindrsa/pbrsa.go Co-authored-by: Armando Faz <[email protected]> * Update blindsign/blindrsa/partiallyblindrsa/pbrsa.go Co-authored-by: Armando Faz <[email protected]> * Update blindsign/blindrsa/partiallyblindrsa/pbrsa.go Co-authored-by: Armando Faz <[email protected]> * Update blindsign/blindrsa/partiallyblindrsa/pbrsa.go Co-authored-by: Armando Faz <[email protected]> * Final Armando pass * Update blindsign/blindrsa/partiallyblindrsa/pbrsa_test.go Co-authored-by: Armando Faz <[email protected]> * Fix comment * Refactoring to hide internals. * Updates based on latest draft changes * Add test vector verification --------- Co-authored-by: Armando Faz <[email protected]> Co-authored-by: armfazh <[email protected]>
- Loading branch information