| 18 | |
| 19 | |
| 20 | inline void Xor128(void *dest,const void *arg1,const void *arg2) |
| 21 | { |
| 22 | #ifdef ALLOW_MISALIGNED |
| 23 | ((uint32*)dest)[0]=((uint32*)arg1)[0]^((uint32*)arg2)[0]; |
| 24 | ((uint32*)dest)[1]=((uint32*)arg1)[1]^((uint32*)arg2)[1]; |
| 25 | ((uint32*)dest)[2]=((uint32*)arg1)[2]^((uint32*)arg2)[2]; |
| 26 | ((uint32*)dest)[3]=((uint32*)arg1)[3]^((uint32*)arg2)[3]; |
| 27 | #else |
| 28 | for (int I=0;I<16;I++) |
| 29 | ((byte*)dest)[I]=((byte*)arg1)[I]^((byte*)arg2)[I]; |
| 30 | #endif |
| 31 | } |
| 32 | |
| 33 | |
| 34 | inline void Xor128(byte *dest,const byte *arg1,const byte *arg2, |
no outgoing calls
no test coverage detected