projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
package/mtd: (enhancement) add option to prevent erase when writing to flash. (closes...
[openwrt.git]
/
package
/
openssl
/
patches
/
200-ocf-20100325.patch
diff --git
a/package/openssl/patches/200-ocf-20100325.patch
b/package/openssl/patches/200-ocf-20100325.patch
index
16d8451
..
e53c447
100644
(file)
--- a/
package/openssl/patches/200-ocf-20100325.patch
+++ b/
package/openssl/patches/200-ocf-20100325.patch
@@
-173,7
+173,7
@@
{FUNC_TYPE_MD,"md2",dgst_main},
--- a/apps/speed.c
+++ b/apps/speed.c
{FUNC_TYPE_MD,"md2",dgst_main},
--- a/apps/speed.c
+++ b/apps/speed.c
-@@ -
296,7 +296
,7 @@ static const char *names[ALGOR_NUM]={
+@@ -
302,7 +302
,7 @@ static const char *names[ALGOR_NUM]={
"evp","sha256","sha512",
"aes-128 ige","aes-192 ige","aes-256 ige"};
static double results[ALGOR_NUM][SIZE_NUM];
"evp","sha256","sha512",
"aes-128 ige","aes-192 ige","aes-256 ige"};
static double results[ALGOR_NUM][SIZE_NUM];
@@
-182,7
+182,7
@@
#ifndef OPENSSL_NO_RSA
static double rsa_results[RSA_NUM][2];
#endif
#ifndef OPENSSL_NO_RSA
static double rsa_results[RSA_NUM][2];
#endif
-@@ -3
36,6 +336
,82 @@ static SIGRETTYPE sig_done(int sig)
+@@ -3
42,6 +342
,82 @@ static SIGRETTYPE sig_done(int sig)
#define START 0
#define STOP 1
#define START 0
#define STOP 1
@@
-265,7
+265,7
@@
#if defined(OPENSSL_SYS_NETWARE)
/* for NetWare the best we can do is use clock() which returns the
#if defined(OPENSSL_SYS_NETWARE)
/* for NetWare the best we can do is use clock() which returns the
-@@ -3
66,6 +442
,9 @@ static double Time_F(int s)
+@@ -3
72,6 +448
,9 @@ static double Time_F(int s)
{
double ret;
{
double ret;
@@
-275,7
+275,7
@@
#ifdef USE_TOD
if(usertime)
{
#ifdef USE_TOD
if(usertime)
{
-@@ -8
40,6 +919
,14 @@ int MAIN(int argc, char **argv)
+@@ -8
39,6 +918
,14 @@ int MAIN(int argc, char **argv)
j--; /* Otherwise, -elapsed gets confused with
an algorithm. */
}
j--; /* Otherwise, -elapsed gets confused with
an algorithm. */
}
@@
-290,7
+290,7
@@
else if ((argc > 0) && (strcmp(*argv,"-evp") == 0))
{
argc--;
else if ((argc > 0) && (strcmp(*argv,"-evp") == 0))
{
argc--;
-@@ -126
8,6 +1355
,9 @@ int MAIN(int argc, char **argv)
+@@ -126
7,6 +1354
,9 @@ int MAIN(int argc, char **argv)
#ifndef NO_FORK
BIO_printf(bio_err,"-multi n run n benchmarks in parallel.\n");
#endif
#ifndef NO_FORK
BIO_printf(bio_err,"-multi n run n benchmarks in parallel.\n");
#endif
@@
-300,7
+300,7
@@
goto end;
}
argc--;
goto end;
}
argc--;
-@@ -127
5,11 +1365
,6 @@ int MAIN(int argc, char **argv)
+@@ -127
4,11 +1364
,6 @@ int MAIN(int argc, char **argv)
j++;
}
j++;
}
@@
-1121,7
+1121,7
@@
if (kop->crk_param[i].crp_p)
free(kop->crk_param[i].crp_p);
kop->crk_param[i].crp_p = NULL;
if (kop->crk_param[i].crp_p)
free(kop->crk_param[i].crp_p);
kop->crk_param[i].crp_p = NULL;
-@@ -7
68,7 +1039
,6 @@ static int
+@@ -7
76,7 +1044
,6 @@ static int
cryptodev_rsa_nocrt_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
{
int r;
cryptodev_rsa_nocrt_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
{
int r;
@@
-1129,7
+1129,7
@@
r = cryptodev_bn_mod_exp(r0, I, rsa->d, rsa->n, ctx, NULL);
return (r);
}
r = cryptodev_bn_mod_exp(r0, I, rsa->d, rsa->n, ctx, NULL);
return (r);
}
-@@ -9
04,6 +117
7,9 @@ cryptodev_dsa_do_sign(const unsigned cha
+@@ -9
20,6 +118
7,9 @@ cryptodev_dsa_do_sign(const unsigned cha
const DSA_METHOD *meth = DSA_OpenSSL();
BN_free(r);
BN_free(s);
const DSA_METHOD *meth = DSA_OpenSSL();
BN_free(r);
BN_free(s);
@@
-1139,7
+1139,7
@@
dsaret = (meth->dsa_do_sign)(dgst, dlen, dsa);
}
err:
dsaret = (meth->dsa_do_sign)(dgst, dlen, dsa);
}
err:
-@@ -9
44,6 +1220
,9 @@ cryptodev_dsa_verify(const unsigned char
+@@ -9
61,6 +1231
,9 @@ cryptodev_dsa_verify(const unsigned char
} else {
const DSA_METHOD *meth = DSA_OpenSSL();
} else {
const DSA_METHOD *meth = DSA_OpenSSL();
@@
-1149,7
+1149,7
@@
dsaret = (meth->dsa_do_verify)(dgst, dlen, sig, dsa);
}
err:
dsaret = (meth->dsa_do_verify)(dgst, dlen, sig, dsa);
}
err:
-@@ -9
77,8 +1256
,8 @@ static int
+@@ -9
94,8 +1267
,8 @@ static int
cryptodev_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
{
struct crypt_kop kop;
cryptodev_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
{
struct crypt_kop kop;
@@
-1160,7
+1160,7
@@
if ((fd = get_asym_dev_crypto()) < 0) {
const DH_METHOD *meth = DH_OpenSSL();
if ((fd = get_asym_dev_crypto()) < 0) {
const DH_METHOD *meth = DH_OpenSSL();
-@@ -
986,7 +1265
,7 @@ cryptodev_dh_compute_key(unsigned char *
+@@ -
1003,7 +1276
,7 @@ cryptodev_dh_compute_key(unsigned char *
return ((meth->compute_key)(key, pub_key, dh));
}
return ((meth->compute_key)(key, pub_key, dh));
}
@@
-1169,7
+1169,7
@@
memset(&kop, 0, sizeof kop);
kop.crk_op = CRK_DH_COMPUTE_KEY;
memset(&kop, 0, sizeof kop);
kop.crk_op = CRK_DH_COMPUTE_KEY;
-@@ -10
01,14 +1280
,18 @@ cryptodev_dh_compute_key(unsigned char *
+@@ -10
18,14 +1291
,18 @@ cryptodev_dh_compute_key(unsigned char *
kop.crk_iparams = 3;
kop.crk_param[3].crp_p = (char *)key;
kop.crk_iparams = 3;
kop.crk_param[3].crp_p = (char *)key;
This page took
0.033425 seconds
and
4
git commands to generate.