Changeset c1dfc02 in freewrt
- Timestamp:
- Jul 6, 2007, 3:08:43 PM (18 years ago)
- Children:
- ae03d20
- Parents:
- cf8530d
- Location:
- package/openssl
- Files:
-
- 2 deleted
- 3 edited
- 1 moved
-
Makefile (modified) (1 diff)
-
extra/bsd/libcrypto/Makefile (modified) (2 diffs)
-
extra/bsd/libcrypto/arch/i386/opensslconf.h (deleted)
-
extra/bsd/libcrypto/arch/mipsel/opensslconf.h (deleted)
-
extra/bsd/libcrypto/opensslconf.h (moved) (moved from package/openssl/extra/bsd/libcrypto/arch/armeb/opensslconf.h ) (5 diffs)
-
patches/patch-crypto_engine_eng_cryptodev_c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
package/openssl/Makefile
rcf8530d rc1dfc02 9 9 PKG_NAME:= openssl 10 10 PKG_VERSION:= 0.9.8e 11 PKG_RELEASE:= 811 PKG_RELEASE:= 9 12 12 PKG_MD5SUM:= 3a7ff24f6ea5cd711984722ad654b927 13 13 -
package/openssl/extra/bsd/libcrypto/Makefile
rcf8530d rc1dfc02 90 90 ${LCRYPTO_SRC}/store ${LCRYPTO_SRC}/txt_db ${LCRYPTO_SRC}/ui \ 91 91 ${LCRYPTO_SRC}/x509 ${LCRYPTO_SRC}/x509v3 ${LCRYPTO_SRC}/camellia \ 92 ${LCRYPTO_SRC} ${.CURDIR} /arch/${MACHINE_ARCH}\92 ${LCRYPTO_SRC} ${.CURDIR} \ 93 93 ${LCRYPTO_SRC}/bn/asm ${LCRYPTO_SRC}/mdc2 ${LCRYPTO_SRC}/rc5 94 94 … … 158 158 ${.CURDIR}/fips.h \ 159 159 ${.CURDIR}/fips_rand.h \ 160 ${.CURDIR}/ arch/${MACHINE_ARCH}/opensslconf.h \160 ${.CURDIR}/opensslconf.h \ 161 161 ${.OBJDIR}/obj_mac.h 162 162 HDRSRC= ${SSL_SRC} -
package/openssl/extra/bsd/libcrypto/opensslconf.h
rcf8530d rc1dfc02 1 /* XXX adjust for arm */ 1 /* tweaked manually; 32-bit platforms only */ 2 2 3 3 4 /* opensslconf.h */ … … 62 63 * - elder Alpha because it lacks byte load/store instructions; 63 64 */ 64 #define RC4_INT unsigned char65 #define RC4_INT unsigned int 65 66 #endif 66 67 #if !defined(RC4_CHUNK) … … 102 103 /* if this is defined data[i] is used instead of *data, this is a %20 103 104 * speedup on x86 */ 105 #if defined(i386) || defined(__i386__) 106 #define RC4_INDEX 107 #else 104 108 #undef RC4_INDEX 109 #endif 105 110 #endif 106 111 … … 116 121 * protected undef/define */ 117 122 #ifndef DES_PTR 118 # undefDES_PTR123 #define DES_PTR 119 124 #endif 120 125 … … 123 128 * registers */ 124 129 #ifndef DES_RISC1 130 #if defined(i386) || defined(__i386__) || defined(__sparc__) 131 #define DES_RISC1 132 #else 125 133 #undef DES_RISC1 134 #endif 126 135 #endif 127 136 128 137 #ifndef DES_RISC2 138 #if defined(i386) || defined(__i386__) || defined(__sparc__) 129 139 #undef DES_RISC2 140 #else 141 #define DES_RISC2 142 #endif 130 143 #endif 131 144 -
package/openssl/patches/patch-crypto_engine_eng_cryptodev_c
rcf8530d rc1dfc02 1 1 $FreeWRT$ 2 2 --- openssl-0.9.8e.orig/crypto/engine/eng_cryptodev.c 2004-06-15 13:45:42.000000000 +0200 3 +++ openssl-0.9.8e/crypto/engine/eng_cryptodev.c 2007-07-05 16:51:54.000000000 +0200 3 +++ openssl-0.9.8e/crypto/engine/eng_cryptodev.c 2007-07-06 15:06:52.000000000 +0200 4 @@ -100,7 +100,7 @@ static int cryptodev_asym(struct crypt_k 5 static int cryptodev_bn_mod_exp(BIGNUM *r, const BIGNUM *a, 6 const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); 7 static int cryptodev_rsa_nocrt_mod_exp(BIGNUM *r0, const BIGNUM *I, 8 - RSA *rsa); 9 + RSA *rsa, BN_CTX *cti); 10 static int cryptodev_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx); 11 static int cryptodev_dsa_bn_mod_exp(DSA *dsa, BIGNUM *r, BIGNUM *a, 12 const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); 4 13 @@ -133,6 +133,7 @@ static struct { 5 14 { CRYPTO_DES_CBC, NID_des_cbc, 8, 8, }, … … 85 94 *cipher = NULL; 86 95 break; 96 @@ -756,7 +776,7 @@ err: 97 } 98 99 static int 100 -cryptodev_rsa_nocrt_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa) 101 +cryptodev_rsa_nocrt_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *cti) 102 { 103 int r; 104 BN_CTX *ctx;
Note:
See TracChangeset
for help on using the changeset viewer.
