readjust c files, autoconf, and some header files

This commit is contained in:
Jacob Barthelmeh
2015-01-02 14:56:58 -07:00
parent b91934f065
commit f64d76257e
21 changed files with 8883 additions and 209 deletions

View File

@@ -116,14 +116,14 @@ int wc_RsaFlattenPublicKey(RsaKey* key, byte* a, word32* aSz, byte* b,
{
return RsaFlattenPublicKey(key, a, aSz, b, bSz);
}
#ifdef CYASSL_KEY_GEN
#ifdef WOLFSSL_KEY_GEN
int wc_MakeRsaKey(RsaKey* key, int size, long e, RNG* rng)
{
return MakeRsaKey(key, size, e, rng);
}
int RsaKey*ToDer(RsaKey* key, byte* output, word32 inLen)
int wc_RsaKeyToDer(RsaKey* key, byte* output, word32 inLen)
{
return RsaKeyToDer(key, output, inLen);
}
@@ -234,7 +234,6 @@ int wc_RsaFlattenPublicKey(RsaKey* key, byte* a, word32* aSz, byte* b,
#endif /* HAVE_FIPS */
#else
#include <wolfssl/wolfcrypt/settings.h>
#include <wolfssl/wolfcrypt/random.h>
#include <wolfssl/wolfcrypt/error-crypt.h>
#include <wolfssl/wolfcrypt/logging.h>