RSA blinding threading support
This commit is contained in:
parent
1337affc91
commit
c9965dca27
2 changed files with 26 additions and 1 deletions
|
@ -32,6 +32,10 @@
|
|||
#include "bignum.h"
|
||||
#include "md.h"
|
||||
|
||||
#if defined(POLARSSL_THREADING_C)
|
||||
#include "threading.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* RSA Error codes
|
||||
*/
|
||||
|
@ -100,6 +104,9 @@ typedef struct
|
|||
specified in the md.h header file
|
||||
for the EME-OAEP and EMSA-PSS
|
||||
encoding */
|
||||
#if defined(POLARSSL_THREADING_C)
|
||||
threading_mutex_t mutex; /*!< Thread-safety mutex */
|
||||
#endif
|
||||
}
|
||||
rsa_context;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue