diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2018-11-22 10:00:42 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2018-11-22 10:00:42 +0100 |
| commit | 50dfa88971425c701a9f55f6ced2528088348483 (patch) | |
| tree | fe505dd5f095e9a3b8a4bdca6d2ded2cfc43f951 /crypto_aead | |
| parent | c30548a179dcd0999bd342b10eeaad2a1a304e90 (diff) | |
| download | lilliput-ae-implem-50dfa88971425c701a9f55f6ced2528088348483.tar.xz | |
Renommage du test "cipher" en "tbc-encrypt"
tbc-decrypt inbound.
Diffstat (limited to 'crypto_aead')
| -rw-r--r-- | crypto_aead/lilliputaei128v1/ref/Makefile | 6 | ||||
| -rw-r--r-- | crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt-ref/tbc-encrypt_order.txt (renamed from crypto_aead/lilliputaei128v1/ref/test/test-cipher-ref/cipher_order.txt) | 0 | ||||
| -rw-r--r-- | crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt-ref/tbc-encrypt_random.txt (renamed from crypto_aead/lilliputaei128v1/ref/test/test-cipher-ref/cipher_random.txt) | 0 | ||||
| -rw-r--r-- | crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt.c (renamed from crypto_aead/lilliputaei128v1/ref/test/test-cipher.c) | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/crypto_aead/lilliputaei128v1/ref/Makefile b/crypto_aead/lilliputaei128v1/ref/Makefile index 7f23339..db1d5ca 100644 --- a/crypto_aead/lilliputaei128v1/ref/Makefile +++ b/crypto_aead/lilliputaei128v1/ref/Makefile @@ -1,4 +1,4 @@ -tests = test-tweakey test-cipher +tests = test-tweakey test-tbc-encrypt .PHONY: clean test $(tests) @@ -27,11 +27,11 @@ $(tests): %: results/% diff -ru test/$*-ref results/$@-output -results/test-cipher: results/cipher.o results/tweakey.o results/constants.o | results +results/test-tbc-encrypt: results/cipher.o results/tweakey.o results/constants.o | results results/test-tweakey: results/tweakey.o results/constants.o | results results/test-*.o: test/helpers.h parameters.h -results/test-cipher.o: cipher.h +results/test-tbc-encrypt.o: cipher.h results/test-tweakey.o: tweakey.h results/cipher.o: cipher.h tweakey.h constants.h parameters.h debug.h diff --git a/crypto_aead/lilliputaei128v1/ref/test/test-cipher-ref/cipher_order.txt b/crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt-ref/tbc-encrypt_order.txt index 3a3838f..3a3838f 100644 --- a/crypto_aead/lilliputaei128v1/ref/test/test-cipher-ref/cipher_order.txt +++ b/crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt-ref/tbc-encrypt_order.txt diff --git a/crypto_aead/lilliputaei128v1/ref/test/test-cipher-ref/cipher_random.txt b/crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt-ref/tbc-encrypt_random.txt index 6e0b3eb..6e0b3eb 100644 --- a/crypto_aead/lilliputaei128v1/ref/test/test-cipher-ref/cipher_random.txt +++ b/crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt-ref/tbc-encrypt_random.txt diff --git a/crypto_aead/lilliputaei128v1/ref/test/test-cipher.c b/crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt.c index c56e5fb..21b7cfd 100644 --- a/crypto_aead/lilliputaei128v1/ref/test/test-cipher.c +++ b/crypto_aead/lilliputaei128v1/ref/test/test-tbc-encrypt.c @@ -65,7 +65,7 @@ int main(int argc, char const * const *argv) for (vector_input* input=VECTORS; input<ARRAY_END(VECTORS); input++) { printf("%s\n", input->name); - FILE* dump = open_dump_file(argv[1], "cipher", input->name); + FILE* dump = open_dump_file(argv[1], "tbc-encrypt", input->name); uint8_t ciphertext[BLOCK_BYTES]; lilliput_tbc_encrypt(input->key, input->tweak, input->message, ciphertext, dump); |
