diff options
author | lloyd <[email protected]> | 2010-10-13 15:58:22 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-13 15:58:22 +0000 |
commit | 12617c8a0942a5af35ffe72891f3cd63c8b7fe18 (patch) | |
tree | 9d11b199a58521544d17a3af1c13b994366f27ab /src/block/xtea_simd/xtea_simd.cpp | |
parent | 79d7cf0a42368db93f1641cc4daea37cd6d02f86 (diff) |
More size_t
Diffstat (limited to 'src/block/xtea_simd/xtea_simd.cpp')
-rw-r--r-- | src/block/xtea_simd/xtea_simd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/xtea_simd/xtea_simd.cpp b/src/block/xtea_simd/xtea_simd.cpp index 831cc0359..d684eca5a 100644 --- a/src/block/xtea_simd/xtea_simd.cpp +++ b/src/block/xtea_simd/xtea_simd.cpp @@ -22,7 +22,7 @@ void xtea_encrypt_8(const byte in[64], byte out[64], const u32bit EK[64]) SIMD_32::transpose(L0, R0, L1, R1); - for(u32bit i = 0; i != 32; i += 2) + for(size_t i = 0; i != 32; i += 2) { SIMD_32 K0(EK[2*i ]); SIMD_32 K1(EK[2*i+1]); @@ -59,7 +59,7 @@ void xtea_decrypt_8(const byte in[64], byte out[64], const u32bit EK[64]) SIMD_32::transpose(L0, R0, L1, R1); - for(u32bit i = 0; i != 32; i += 2) + for(size_t i = 0; i != 32; i += 2) { SIMD_32 K0(EK[63 - 2*i]); SIMD_32 K1(EK[62 - 2*i]); |