MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / Copy128

Function Copy128

Libraries/unrar/rijndael.cpp:46–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45
46inline void Copy128(byte *dest,const byte *src)
47{
48#ifdef ALLOW_MISALIGNED
49 ((uint32*)dest)[0]=((uint32*)src)[0];
50 ((uint32*)dest)[1]=((uint32*)src)[1];
51 ((uint32*)dest)[2]=((uint32*)src)[2];
52 ((uint32*)dest)[3]=((uint32*)src)[3];
53#else
54 for (int I=0;I<16;I++)
55 dest[I]=src[I];
56#endif
57}
58
59
60//////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Callers 2

blockEncryptMethod · 0.85
blockDecryptMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected