*
*/
-#define OPENSSL_FIPSAPI
+
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/sha.h>
#include "rsa_locl.h"
-#ifdef OPENSSL_FIPS
-#include <openssl/fips.h>
-#endif
-
static const unsigned char zeroes[] = {0,0,0,0,0,0,0,0};
#if defined(_MSC_VER) && defined(_ARM_)
hLen = M_EVP_MD_size(Hash);
if (hLen < 0)
goto err;
- /*
+ /*-
* Negative sLen has special meanings:
* -1 sLen == hLen
* -2 salt length is autorecovered from signature
hLen = M_EVP_MD_size(Hash);
if (hLen < 0)
goto err;
- /*
+ /*-
* Negative sLen has special meanings:
* -1 sLen == hLen
* -2 salt length is maximized