svn rev #24380: branches/nss/src/lib/crypto/nss/enc_provider/
ghudson@MIT.EDU
ghudson at MIT.EDU
Wed Sep 29 17:52:57 EDT 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=24380
Commit By: ghudson
Log Message:
Make DO_FAST_XOR code unconditional in the NSS back end.
Changed Files:
U branches/nss/src/lib/crypto/nss/enc_provider/enc_gen.c
Modified: branches/nss/src/lib/crypto/nss/enc_provider/enc_gen.c
===================================================================
--- branches/nss/src/lib/crypto/nss/enc_provider/enc_gen.c 2010-09-29 21:49:04 UTC (rev 24379)
+++ branches/nss/src/lib/crypto/nss/enc_provider/enc_gen.c 2010-09-29 21:52:57 UTC (rev 24380)
@@ -26,10 +26,6 @@
* or implied warranty.
*/
-/* compile options (should move to configure)... */
-#define DO_FAST_XOR 1
-/*#define FAKE_FIPS 1 */
-
#include "k5-int.h"
#include "nss_gen.h"
#include "enc_provider.h"
@@ -143,7 +139,6 @@
{
int i;
-#ifdef DO_FAST_XOR
#define ALIGNED(x,type) (!(((size_t)(x))&(sizeof(type)-1)))
if (ALIGNED(x,unsigned long) && ALIGNED(y, unsigned long)
&& ALIGNED(size, unsigned long)) {
@@ -154,7 +149,6 @@
}
return;
}
-#endif
for (i=0; i < size; i++) {
*x++ ^= *y++;
}
More information about the cvs-krb5
mailing list