]> git.cryptolib.org Git - arm-crypto-lib.git/blobdiff - test_src/main-cscipher-test.c
switching to dedicated endian switching function
[arm-crypto-lib.git] / test_src / main-cscipher-test.c
index 1ea73c0a0eb0dc39e5aacc4341d22759cb1d0b8a..64155a570dd8520add9ea588684fdd491f087f83 100644 (file)
@@ -1,6 +1,6 @@
 /* main-cscipher-test.c */
 /*
-    This file is part of the AVR-Crypto-Lib.
+    This file is part of the ARM-Crypto-Lib.
     Copyright (C) 2008  Daniel Otte (daniel.otte@rub.de)
 
     This program is free software: you can redistribute it and/or modify
@@ -62,8 +62,8 @@ void testrun_nessie_cscipher(void){
 
 void testrun_cscipher(void){
        uint8_t data[] = {0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef };
-       uint8_t key[] = {0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef,
-                                        0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x10 };
+       uint8_t key[] =  {0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef,
+                                         0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x10 };
        cscipher_ctx_t ctx;
        cli_putstr("\r\n== CS-Cipher test==\r\nkey: ");
        cli_hexdump(key, 16);