* 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.
18 lines
166 B
Makefile
18 lines
166 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT = ../../
|
|
|
|
LIBNAME=hbcrypt
|
|
|
|
C_SOURCES=\
|
|
hbsha2.c \
|
|
hbsha2hm.c \
|
|
sha1.c \
|
|
sha1hmac.c \
|
|
sha2.c \
|
|
sha2hmac.c \
|
|
|
|
include $(TOP)$(ROOT)config/lib.cf
|