Hex Artifact Content
Not logged in

Artifact ca0fe11c3e6a942b01973093dd497a7aebc5b321:


0000: 2f 2a 0a 54 68 65 20 4b 65 63 63 61 6b 20 73 70  /*.The Keccak sp
0010: 6f 6e 67 65 20 66 75 6e 63 74 69 6f 6e 2c 20 64  onge function, d
0020: 65 73 69 67 6e 65 64 20 62 79 20 47 75 69 64 6f  esigned by Guido
0030: 20 42 65 72 74 6f 6e 69 2c 20 4a 6f 61 6e 20 44   Bertoni, Joan D
0040: 61 65 6d 65 6e 2c 0a 4d 69 63 68 61 c3 ab 6c 20  aemen,.Michaël 
0050: 50 65 65 74 65 72 73 20 61 6e 64 20 47 69 6c 6c  Peeters and Gill
0060: 65 73 20 56 61 6e 20 41 73 73 63 68 65 2e 20 46  es Van Assche. F
0070: 6f 72 20 6d 6f 72 65 20 69 6e 66 6f 72 6d 61 74  or more informat
0080: 69 6f 6e 2c 20 66 65 65 64 62 61 63 6b 20 6f 72  ion, feedback or
0090: 0a 71 75 65 73 74 69 6f 6e 73 2c 20 70 6c 65 61  .questions, plea
00a0: 73 65 20 72 65 66 65 72 20 74 6f 20 6f 75 72 20  se refer to our 
00b0: 77 65 62 73 69 74 65 3a 20 68 74 74 70 3a 2f 2f  website: http://
00c0: 6b 65 63 63 61 6b 2e 6e 6f 65 6b 65 6f 6e 2e 6f  keccak.noekeon.o
00d0: 72 67 2f 0a 0a 49 6d 70 6c 65 6d 65 6e 74 61 74  rg/..Implementat
00e0: 69 6f 6e 20 62 79 20 52 6f 6e 6e 79 20 56 61 6e  ion by Ronny Van
00f0: 20 4b 65 65 72 2c 0a 68 65 72 65 62 79 20 64 65   Keer,.hereby de
0100: 6e 6f 74 65 64 20 61 73 20 22 74 68 65 20 69 6d  noted as "the im
0110: 70 6c 65 6d 65 6e 74 65 72 22 2e 0a 0a 54 6f 20  plementer"...To 
0120: 74 68 65 20 65 78 74 65 6e 74 20 70 6f 73 73 69  the extent possi
0130: 62 6c 65 20 75 6e 64 65 72 20 6c 61 77 2c 20 74  ble under law, t
0140: 68 65 20 69 6d 70 6c 65 6d 65 6e 74 65 72 20 68  he implementer h
0150: 61 73 20 77 61 69 76 65 64 20 61 6c 6c 20 63 6f  as waived all co
0160: 70 79 72 69 67 68 74 0a 61 6e 64 20 72 65 6c 61  pyright.and rela
0170: 74 65 64 20 6f 72 20 6e 65 69 67 68 62 6f 72 69  ted or neighbori
0180: 6e 67 20 72 69 67 68 74 73 20 74 6f 20 74 68 65  ng rights to the
0190: 20 73 6f 75 72 63 65 20 63 6f 64 65 20 69 6e 20   source code in 
01a0: 74 68 69 73 20 66 69 6c 65 2e 0a 68 74 74 70 3a  this file..http:
01b0: 2f 2f 63 72 65 61 74 69 76 65 63 6f 6d 6d 6f 6e  //creativecommon
01c0: 73 2e 6f 72 67 2f 70 75 62 6c 69 63 64 6f 6d 61  s.org/publicdoma
01d0: 69 6e 2f 7a 65 72 6f 2f 31 2e 30 2f 0a 2a 2f 0a  in/zero/1.0/.*/.
01e0: 0a 63 6f 6e 73 74 20 76 6f 69 64 20 2a 20 78 6f  .const void * xo
01f0: 72 42 79 74 65 73 28 20 76 6f 69 64 2a 20 64 65  rBytes( void* de
0200: 73 74 2c 20 63 6f 6e 73 74 20 76 6f 69 64 2a 20  st, const void* 
0210: 73 72 63 2c 20 75 6e 73 69 67 6e 65 64 20 63 68  src, unsigned ch
0220: 61 72 20 6e 20 29 3b 0a 63 6f 6e 73 74 20 76 6f  ar n );.const vo
0230: 69 64 20 2a 20 78 6f 72 4c 61 6e 65 73 28 20 76  id * xorLanes( v
0240: 6f 69 64 2a 20 64 65 73 74 2c 20 63 6f 6e 73 74  oid* dest, const
0250: 20 76 6f 69 64 2a 20 73 72 63 2c 20 75 6e 73 69   void* src, unsi
0260: 67 6e 65 64 20 63 68 61 72 20 6e 20 29 3b 0a     gned char n );.