aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/xor_buf.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-06 14:04:16 +0000
committerlloyd <[email protected]>2009-11-06 14:04:16 +0000
commita495493c4ea42a68290df75e4a24562c6ec19a06 (patch)
tree10ff3fcbdc4d753ec422a0b02f63c704e7e1ee86 /src/utils/xor_buf.h
parentf3c92264410c709e2a3ebf88ea3a67badf298c1c (diff)
Tick to 1.9.3-dev
Rename BOTAN_UNALIGNED_LOADSTOR_OK to BOTAN_UNALIGNED_MEMORY_ACCESS_OK which is somewhat more clear as to the point.
Diffstat (limited to 'src/utils/xor_buf.h')
-rw-r--r--src/utils/xor_buf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/xor_buf.h b/src/utils/xor_buf.h
index 39781f017..39c4a493d 100644
--- a/src/utils/xor_buf.h
+++ b/src/utils/xor_buf.h
@@ -22,7 +22,7 @@ inline void xor_buf(byte out[], const byte in[], u32bit length)
{
while(length >= 8)
{
-#if BOTAN_UNALIGNED_LOADSTOR_OK
+#if BOTAN_UNALIGNED_MEMORY_ACCESS_OK
*reinterpret_cast<u64bit*>(out) ^= *reinterpret_cast<const u64bit*>(in);
#else
out[0] ^= in[0]; out[1] ^= in[1];
@@ -51,7 +51,7 @@ inline void xor_buf(byte out[],
{
while(length >= 8)
{
-#if BOTAN_UNALIGNED_LOADSTOR_OK
+#if BOTAN_UNALIGNED_MEMORY_ACCESS_OK
*reinterpret_cast<u64bit*>(out) =
*reinterpret_cast<const u64bit*>(in) ^
*reinterpret_cast<const u64bit*>(in2);