supl/locationsuplfw/protocolhandlerapi/src/epos_suplkey.cpp
branchCompilerCompatibility
changeset 11 b1c431e5a893
parent 0 667063e416a2
child 44 2b4ea9893b66
equal deleted inserted replaced
10:936cdb3b3ca7 11:b1c431e5a893
    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     */