Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().

This commit is contained in:
Gregory Nutt
2016-06-20 12:44:38 -06:00
parent 43eb04bb8f
commit 2a751068e6
93 changed files with 310 additions and 551 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ int up_cryptoinitialize(void)
res = crypto_test();
if (res)
{
cryptllerr("ERROR: crypto test failed\n");
crypterr("ERROR: crypto test failed\n");
}
else
{
+2 -2
View File
@@ -86,7 +86,7 @@ static int do_test_aes(FAR struct cipher_testvec *test, int mode, int encrypt)
#define AES_CYPHER_TEST_ENCRYPT(mode, mode_str, count, template) \
for (i = 0; i < count; i++) { \
if (do_test_aes(template + i, mode, CYPHER_ENCRYPT)) { \
cryptllerr("ERROR: Failed " mode_str " encrypt test #%i\n", i); \
crypterr("ERROR: Failed " mode_str " encrypt test #%i\n", i); \
return -1; \
} \
}
@@ -94,7 +94,7 @@ static int do_test_aes(FAR struct cipher_testvec *test, int mode, int encrypt)
#define AES_CYPHER_TEST_DECRYPT(mode, mode_str, count, template) \
for (i = 0; i < count; i++) { \
if (do_test_aes(template + i, mode, CYPHER_DECRYPT)) { \
cryptllerr("ERROR: Failed " mode_str " decrypt test #%i\n", i); \
crypterr("ERROR: Failed " mode_str " decrypt test #%i\n", i); \
return -1; \
} \
}