diff options
Diffstat (limited to 'crypto/rsa')
-rw-r--r-- | crypto/rsa/Makefile.ssl | 6 | ||||
-rw-r--r-- | crypto/rsa/rsa.h | 4 | ||||
-rw-r--r-- | crypto/rsa/rsa_eay.c | 6 | ||||
-rw-r--r-- | crypto/rsa/rsa_err.c | 4 | ||||
-rw-r--r-- | crypto/rsa/rsa_gen.c | 4 | ||||
-rw-r--r-- | crypto/rsa/rsa_lib.c | 8 | ||||
-rw-r--r-- | crypto/rsa/rsa_none.c | 6 | ||||
-rw-r--r-- | crypto/rsa/rsa_oaep.c | 8 | ||||
-rw-r--r-- | crypto/rsa/rsa_oaep_test.c | 6 | ||||
-rw-r--r-- | crypto/rsa/rsa_pk1.c | 6 | ||||
-rw-r--r-- | crypto/rsa/rsa_saos.c | 8 | ||||
-rw-r--r-- | crypto/rsa/rsa_sign.c | 8 | ||||
-rw-r--r-- | crypto/rsa/rsa_ssl.c | 6 |
13 files changed, 40 insertions, 40 deletions
diff --git a/crypto/rsa/Makefile.ssl b/crypto/rsa/Makefile.ssl index c96d9e0b68..f9ca0bc686 100644 --- a/crypto/rsa/Makefile.ssl +++ b/crypto/rsa/Makefile.ssl @@ -49,15 +49,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/rsa/rsa.h b/crypto/rsa/rsa.h index 6083a6cb25..488fc5fb56 100644 --- a/crypto/rsa/rsa.h +++ b/crypto/rsa/rsa.h @@ -63,8 +63,8 @@ extern "C" { #endif -#include "bn.h" -#include "crypto.h" +#include <openssl/bn.h> +#include <openssl/crypto.h> typedef struct rsa_st RSA; diff --git a/crypto/rsa/rsa_eay.c b/crypto/rsa/rsa_eay.c index c882738bf2..bdb533c9db 100644 --- a/crypto/rsa/rsa_eay.c +++ b/crypto/rsa/rsa_eay.c @@ -58,9 +58,9 @@ #include <stdio.h> #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "rand.h" +#include <openssl/bn.h> +#include <openssl/rsa.h> +#include <openssl/rand.h> #ifndef NOPROTO static int RSA_eay_public_encrypt(int flen, unsigned char *from, diff --git a/crypto/rsa/rsa_err.c b/crypto/rsa/rsa_err.c index 0d7e65670d..1971733400 100644 --- a/crypto/rsa/rsa_err.c +++ b/crypto/rsa/rsa_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include <stdio.h> -#include "err.h" -#include "rsa.h" +#include <openssl/err.h> +#include <openssl/rsa.h> /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/rsa/rsa_gen.c b/crypto/rsa/rsa_gen.c index b2569e508f..f5d7ad2558 100644 --- a/crypto/rsa/rsa_gen.c +++ b/crypto/rsa/rsa_gen.c @@ -59,8 +59,8 @@ #include <stdio.h> #include <time.h> #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" +#include <openssl/bn.h> +#include <openssl/rsa.h> RSA *RSA_generate_key(int bits, unsigned long e_value, void (*callback)(P_I_I_P), char *cb_arg) diff --git a/crypto/rsa/rsa_lib.c b/crypto/rsa/rsa_lib.c index 6732e9832f..1ac1331fa4 100644 --- a/crypto/rsa/rsa_lib.c +++ b/crypto/rsa/rsa_lib.c @@ -57,11 +57,11 @@ */ #include <stdio.h> -#include "crypto.h" +#include <openssl/crypto.h> #include "cryptlib.h" -#include "lhash.h" -#include "bn.h" -#include "rsa.h" +#include <openssl/lhash.h> +#include <openssl/bn.h> +#include <openssl/rsa.h> const char *RSA_version="RSA" OPENSSL_VERSION_PTEXT; diff --git a/crypto/rsa/rsa_none.c b/crypto/rsa/rsa_none.c index 6d43677a15..f22fce5016 100644 --- a/crypto/rsa/rsa_none.c +++ b/crypto/rsa/rsa_none.c @@ -58,9 +58,9 @@ #include <stdio.h> #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "rand.h" +#include <openssl/bn.h> +#include <openssl/rsa.h> +#include <openssl/rand.h> int RSA_padding_add_none(unsigned char *to, int tlen, unsigned char *from, int flen) diff --git a/crypto/rsa/rsa_oaep.c b/crypto/rsa/rsa_oaep.c index 44732460b3..1b70011226 100644 --- a/crypto/rsa/rsa_oaep.c +++ b/crypto/rsa/rsa_oaep.c @@ -6,10 +6,10 @@ #include <stdio.h> #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "sha.h" -#include "rand.h" +#include <openssl/bn.h> +#include <openssl/rsa.h> +#include <openssl/sha.h> +#include <openssl/rand.h> int MGF1(unsigned char *mask, long len, unsigned char *seed, long seedlen); diff --git a/crypto/rsa/rsa_oaep_test.c b/crypto/rsa/rsa_oaep_test.c index c4b454a71a..4005aa5ed2 100644 --- a/crypto/rsa/rsa_oaep_test.c +++ b/crypto/rsa/rsa_oaep_test.c @@ -2,9 +2,9 @@ #include <stdio.h> #include <string.h> -#include "e_os.h" -#include "rsa.h" -#include "err.h" +#include <openssl/e_os.h> +#include <openssl/rsa.h> +#include <openssl/err.h> #define SetKey \ key->n = BN_bin2bn(n, sizeof(n)-1, key->n); \ diff --git a/crypto/rsa/rsa_pk1.c b/crypto/rsa/rsa_pk1.c index 7648b763a9..165d31a4de 100644 --- a/crypto/rsa/rsa_pk1.c +++ b/crypto/rsa/rsa_pk1.c @@ -58,9 +58,9 @@ #include <stdio.h> #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "rand.h" +#include <openssl/bn.h> +#include <openssl/rsa.h> +#include <openssl/rand.h> #ifndef NOPROTO int RSA_padding_add_PKCS1_type_1(); diff --git a/crypto/rsa/rsa_saos.c b/crypto/rsa/rsa_saos.c index d73beb0491..73b8b0c7ad 100644 --- a/crypto/rsa/rsa_saos.c +++ b/crypto/rsa/rsa_saos.c @@ -58,10 +58,10 @@ #include <stdio.h> #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "objects.h" -#include "x509.h" +#include <openssl/bn.h> +#include <openssl/rsa.h> +#include <openssl/objects.h> +#include <openssl/x509.h> int RSA_sign_ASN1_OCTET_STRING(int type, unsigned char *m, unsigned int m_len, unsigned char *sigret, unsigned int *siglen, RSA *rsa) diff --git a/crypto/rsa/rsa_sign.c b/crypto/rsa/rsa_sign.c index 31cdb4a81a..1740494a4c 100644 --- a/crypto/rsa/rsa_sign.c +++ b/crypto/rsa/rsa_sign.c @@ -58,10 +58,10 @@ #include <stdio.h> #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "objects.h" -#include "x509.h" +#include <openssl/bn.h> +#include <openssl/rsa.h> +#include <openssl/objects.h> +#include <openssl/x509.h> int RSA_sign(int type, unsigned char *m, unsigned int m_len, unsigned char *sigret, unsigned int *siglen, RSA *rsa) diff --git a/crypto/rsa/rsa_ssl.c b/crypto/rsa/rsa_ssl.c index e1bbbe7949..1050844f8d 100644 --- a/crypto/rsa/rsa_ssl.c +++ b/crypto/rsa/rsa_ssl.c @@ -58,9 +58,9 @@ #include <stdio.h> #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "rand.h" +#include <openssl/bn.h> +#include <openssl/rsa.h> +#include <openssl/rand.h> int RSA_padding_add_SSLv23(unsigned char *to, int tlen, unsigned char *from, int flen) |