aboutsummaryrefslogtreecommitdiff
path: root/crypto/rc2
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-08-07 22:21:49 +0000
committerAndy Polyakov <appro@openssl.org>2005-08-07 22:21:49 +0000
commit0491e05833a139deef5288abf1bcf61cb19b292e (patch)
treeab274099bff13e0e451aa18bfbdb09bb25f222bb /crypto/rc2
parent9a1a5b8785f38481d55c32d8c1fec2d840389d3e (diff)
downloadopenssl-0491e05833a139deef5288abf1bcf61cb19b292e.zip
openssl-0491e05833a139deef5288abf1bcf61cb19b292e.tar.gz
openssl-0491e05833a139deef5288abf1bcf61cb19b292e.tar.bz2
Final(?) WinCE update.
Diffstat (limited to 'crypto/rc2')
-rw-r--r--crypto/rc2/rc2_skey.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/rc2/rc2_skey.c b/crypto/rc2/rc2_skey.c
index cab3080..4953642 100644
--- a/crypto/rc2/rc2_skey.c
+++ b/crypto/rc2/rc2_skey.c
@@ -84,6 +84,10 @@ static unsigned char key_table[256]={
0xfe,0x7f,0xc1,0xad,
};
+#if defined(_MSC_VER) && defined(_ARM_)
+#pragma optimize("g",off)
+#endif
+
/* It has come to my attention that there are 2 versions of the RC2
* key schedule. One which is normal, and anther which has a hook to
* use a reduced key length.
@@ -136,3 +140,6 @@ void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data, int bits)
*(ki--)=((k[i]<<8)|k[i-1])&0xffff;
}
+#if defined(_MSC_VER)
+#pragma optimize("",on)
+#endif