additional gate for RSA

pull/650/head
Hideki Miyazaki 2024-01-31 08:18:16 +09:00
parent b256522f5b
commit bb81ad0afc
No known key found for this signature in database
GPG Key ID: 4EE161CA873C6418
1 changed files with 1 additions and 1 deletions

View File

@ -1034,6 +1034,7 @@ int IdentifyAsn1Key(const byte* in, word32 inSz, int isPrivate, void* heap)
}
#ifndef WOLFSSH_NO_RSA
/*
* Utility function to read an Mpint from the stream directly into a mp_int.
*/
@ -1052,7 +1053,6 @@ static INLINE int GetMpintToMp(mp_int* mp,
}
#ifndef WOLFSSH_NO_RSA
/*
* For the given RSA key, calculate p^-1 and q^-1. wolfCrypt's RSA
* code expects them, but the OpenSSH format key doesn't store them.