Skip to content

Commit 3ca2548

Browse files
committed
Move wc_RsaSSL_Sign/Verify declarations out of RSA_PSS block
1 parent 48fe5ae commit 3ca2548

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/build_ffi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,8 @@ def build_ffi(local_wolfssl, features):
756756
int wc_RsaPrivateDecrypt_ex(const byte* in, word32 inLen,
757757
byte* out, word32 outLen, RsaKey* key, int type,
758758
enum wc_HashType hash, int mgf, byte* label, word32 labelSz);
759+
int wc_RsaSSL_Sign(const byte*, word32, byte*, word32, RsaKey*, WC_RNG*);
760+
int wc_RsaSSL_Verify(const byte*, word32, byte*, word32, RsaKey*);
759761
"""
760762

761763
if features["RSA_PSS"]:
@@ -766,8 +768,6 @@ def build_ffi(local_wolfssl, features):
766768
enum wc_HashType hash, int mgf, RsaKey* key);
767769
int wc_RsaPSS_CheckPadding(const byte* in, word32 inSz, byte* sig,
768770
word32 sigSz, enum wc_HashType hashType);
769-
int wc_RsaSSL_Sign(const byte*, word32, byte*, word32, RsaKey*, WC_RNG*);
770-
int wc_RsaSSL_Verify(const byte*, word32, byte*, word32, RsaKey*);
771771
"""
772772

773773
if features["RSA_BLINDING"]:

0 commit comments

Comments
 (0)