mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 16:48:29 +00:00
Add XTS test suites to the Makefile
This commit is contained in:
parent
e9ecf00007
commit
e22ba80e7b
1 changed files with 9 additions and 0 deletions
|
@ -47,6 +47,7 @@ endif
|
||||||
|
|
||||||
APPS = test_suite_aes.ecb$(EXEXT) test_suite_aes.cbc$(EXEXT) \
|
APPS = test_suite_aes.ecb$(EXEXT) test_suite_aes.cbc$(EXEXT) \
|
||||||
test_suite_aes.cfb$(EXEXT) test_suite_aes.ofb$(EXEXT) \
|
test_suite_aes.cfb$(EXEXT) test_suite_aes.ofb$(EXEXT) \
|
||||||
|
test_suite_aes.xts$(EXEXT) \
|
||||||
test_suite_aes.rest$(EXEXT) \
|
test_suite_aes.rest$(EXEXT) \
|
||||||
test_suite_arc4$(EXEXT) test_suite_asn1write$(EXEXT) \
|
test_suite_arc4$(EXEXT) test_suite_asn1write$(EXEXT) \
|
||||||
test_suite_base64$(EXEXT) test_suite_blowfish$(EXEXT) \
|
test_suite_base64$(EXEXT) test_suite_blowfish$(EXEXT) \
|
||||||
|
@ -120,6 +121,10 @@ test_suite_aes.rest.c : suites/test_suite_aes.function suites/test_suite_aes.res
|
||||||
echo " Gen $@"
|
echo " Gen $@"
|
||||||
perl scripts/generate_code.pl suites test_suite_aes test_suite_aes.rest
|
perl scripts/generate_code.pl suites test_suite_aes test_suite_aes.rest
|
||||||
|
|
||||||
|
test_suite_aes.xts.c : suites/test_suite_aes.function suites/test_suite_aes.xts.data scripts/generate_code.pl suites/helpers.function suites/main_test.function
|
||||||
|
echo " Gen $@"
|
||||||
|
perl scripts/generate_code.pl suites test_suite_aes test_suite_aes.xts
|
||||||
|
|
||||||
test_suite_cipher.aes.c : suites/test_suite_cipher.function suites/test_suite_cipher.aes.data scripts/generate_code.pl suites/helpers.function suites/main_test.function
|
test_suite_cipher.aes.c : suites/test_suite_cipher.function suites/test_suite_cipher.aes.data scripts/generate_code.pl suites/helpers.function suites/main_test.function
|
||||||
echo " Gen $@"
|
echo " Gen $@"
|
||||||
perl scripts/generate_code.pl suites test_suite_cipher test_suite_cipher.aes
|
perl scripts/generate_code.pl suites test_suite_cipher test_suite_cipher.aes
|
||||||
|
@ -228,6 +233,10 @@ test_suite_aes.rest$(EXEXT): test_suite_aes.rest.c $(DEP)
|
||||||
echo " CC $<"
|
echo " CC $<"
|
||||||
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
|
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
|
|
||||||
|
test_suite_aes.xts$(EXEXT): test_suite_aes.xts.c $(DEP)
|
||||||
|
echo " CC $<"
|
||||||
|
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
|
|
||||||
test_suite_arc4$(EXEXT): test_suite_arc4.c $(DEP)
|
test_suite_arc4$(EXEXT): test_suite_arc4.c $(DEP)
|
||||||
echo " CC $<"
|
echo " CC $<"
|
||||||
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
|
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
|
|
Loading…
Reference in a new issue