forked from wolfSSL/wolfssh
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Duplicated the function wolfSSH_RsaVerify() into wolfSSH_RsaVerify_2() to handle the whole verify process including wrapping the digest with the RSA wrapper. 2. If the signature to verify is short, pad it to the key length with leading zeros. Some implementations of SSH will prune leading zeros from an mpint value as a string for the signature. 3. Swapped one case of needing to verify a signature to use the new function. Note: this is a WIP. Testing the new function, then reusing it where needed.
- Loading branch information
1 parent
9204ae7
commit 065ae01
Showing
2 changed files
with
109 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters