mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-10 00:19:20 +01:00
- Addec crypt_and_hash example program of the generic hash and cipher layers
This commit is contained in:
parent
562535d11b
commit
20a7808d13
5 changed files with 476 additions and 3 deletions
|
|
@ -7,7 +7,8 @@ CFLAGS = -I../include -D_FILE_OFFSET_BITS=64 -Wall -W -Wdeclaration-after-statem
|
|||
OFLAGS = -O
|
||||
LDFLAGS = -L../library -lpolarssl
|
||||
|
||||
APPS = aes/aescrypt2 hash/hello \
|
||||
APPS = aes/aescrypt2 aes/crypt_and_hash \
|
||||
hash/hello \
|
||||
hash/md5sum hash/sha1sum \
|
||||
hash/sha2sum pkey/dh_client \
|
||||
pkey/dh_genprime pkey/dh_server \
|
||||
|
|
@ -26,6 +27,10 @@ aes/aescrypt2: aes/aescrypt2.c ../library/libpolarssl.a
|
|||
echo " CC aes/aescrypt2.c"
|
||||
$(CC) $(CFLAGS) $(OFLAGS) aes/aescrypt2.c $(LDFLAGS) -o $@
|
||||
|
||||
aes/crypt_and_hash: aes/crypt_and_hash.c ../library/libpolarssl.a
|
||||
echo " CC aes/crypt_and_hash.c"
|
||||
$(CC) $(CFLAGS) $(OFLAGS) aes/crypt_and_hash.c $(LDFLAGS) -o $@
|
||||
|
||||
hash/hello: hash/hello.c ../library/libpolarssl.a
|
||||
echo " CC hash/hello.c"
|
||||
$(CC) $(CFLAGS) $(OFLAGS) hash/hello.c $(LDFLAGS) -o $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue