Commit Graph

4 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
2e7e6971ad 2009-01-21 10:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbcrypt/sha1.h
  * harbour/contrib/hbcrypt/sha1.c
    ! disabled LITTLE_ENDIAN macro definition to avoid conflicts with
      macros using the same name defined in some system header files
      HB_LITTLE_ENDIAN used instead
2009-01-21 09:37:45 +00:00
Viktor Szakats
4ba2c27af5 2009-01-20 23:04 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcrypt/sha1.c
    ! Fixed some BCC warnings.
2009-01-20 22:04:39 +00:00
Viktor Szakats
5f057a4265 2009-01-20 23:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcrypt/sha1.c
    ! Added #include <string.h> for mem*().
2009-01-20 22:01:14 +00:00
Viktor Szakats
bc34aa71bb 2009-01-20 20:47 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/make_b32_all.bat
  * contrib/make_gcc_all.sh
  * contrib/make_vc_all.bat
  * contrib/Makefile
  + contrib/hbcrypt
  + contrib/hbcrypt/Makefile
  + contrib/hbcrypt/make_b32.bat
  + contrib/hbcrypt/make_vc.bat
  + contrib/hbcrypt/make_gcc.sh
  + contrib/hbcrypt/common.mak
  + contrib/hbcrypt/hbsha2.c
  + contrib/hbcrypt/hbsha2hm.c
  + contrib/hbcrypt/sha1.h
  + contrib/hbcrypt/sha1.c
  + contrib/hbcrypt/sha2.h
  + contrib/hbcrypt/sha2.c
  + contrib/hbcrypt/sha1hmac.h
  + contrib/hbcrypt/sha1hmac.c
  + contrib/hbcrypt/sha2hmac.h
  + contrib/hbcrypt/sha2hmac.c
  + contrib/hbcrypt/tests
  + contrib/hbcrypt/tests/testsha2.prg
  + contrib/hbcrypt/tests/hbmk_b32.bat
  + contrib/hbcrypt/tests/hbmk_vc.bat
    + Added hbcrypt library. Included .prg level functions:
      - HB_SHA224( <cMessage> ) -> <cDigest>
      - HB_SHA256( <cMessage> ) -> <cDigest>
      - HB_SHA384( <cMessage> ) -> <cDigest>
      - HB_SHA512( <cMessage> ) -> <cDigest>
      - HB_HMAC_SHA224( <cMessage>, <cKey> ) -> <cMAC>
      - HB_HMAC_SHA256( <cMessage>, <cKey> ) -> <cMAC>
      - HB_HMAC_SHA384( <cMessage>, <cKey> ) -> <cMAC>
      - HB_HMAC_SHA512( <cMessage>, <cKey> ) -> <cMAC>
    ; TODO: Add C level wrappers in Harbour namespace.
    ; TODO: Add .prg level wrappers for SHA1 functions + tests.
    ; TODO: Convert HB_MD5() work on binary data, rather than
            doing hexadecimal conversion accessible using
            standard Harbour functions anyway.
    ; TODO: Add other crypt functions (AES, ...).
    ; NOTE: I plan to move these functions to core, after they've
            matured here.
2009-01-20 19:56:40 +00:00