equal
deleted
inserted
replaced
34 //#include "stdafx.h" |
34 //#include "stdafx.h" |
35 |
35 |
36 |
36 |
37 #include <libc/string.h> /* for memcpy() etc. */ |
37 #include <libc/string.h> /* for memcpy() etc. */ |
38 #include <libc/stdlib.h> /* for _lrotl with VC++ */ |
38 #include <libc/stdlib.h> /* for _lrotl with VC++ */ |
39 |
|
40 #if defined(__GNUC__) || defined(__GNU_LIBRARY__) |
|
41 #include <byteswap.h> |
|
42 #include <endian.h> |
|
43 #endif |
|
44 |
39 |
45 #include "sha1.h" |
40 #include "sha1.h" |
46 #include "hmac.h" |
41 #include "hmac.h" |
47 |
42 |
48 void derive_key(const unsigned char pwd[], /* the PASSWORD */ |
43 void derive_key(const unsigned char pwd[], /* the PASSWORD */ |