mirror of https://github.com/wolfSSL/wolfssh.git
additional gate for RSA
parent
b256522f5b
commit
bb81ad0afc
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue