undef AES_DOES_NOT_SUPPORT_MULTIPLE_KEYS and add comment to test

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@75 4ee2a332-4b2b-5046-8439-1ba90f034370
This commit is contained in:
yutaka 2007-05-22 04:25:24 +00:00
parent 05e6490dbb
commit 56d2717953
3 changed files with 2 additions and 7 deletions

View File

@ -17,11 +17,6 @@
#include <twl/aes/common/assert.h>
#include <nitro/os/common/interrupt.h>
// for OLD AES registers
#ifndef AES_DOES_NOT_SUPPORT_MULTIPLE_KEYS
#define AES_DOES_NOT_SUPPORT_MULTIPLE_KEYS
#endif
#ifdef AES_DOES_NOT_SUPPORT_MULTIPLE_KEYS
#define REG_AES_KEY_OFFSET 0x4410
#define REG_AES_KEY_ADDR (HW_REG_BASE + REG_AES_KEY_OFFSET)

View File

@ -196,7 +196,7 @@ static void test2(void)
// 出力結果の表示
dump(__func__, dataB, sizeof(gs_data));
OS_TPrintf("Result: %s\n", AES_IsValid() ? "Success" : "Failed");
OS_TPrintf("Result: %s\n", AES_IsValid() ? "Success" : "Failed (OK!)");
}
static u32 intrCounter[3];

View File

@ -283,7 +283,7 @@ static void test2(void)
}
else
{
OS_TPrintf("Result: %s\n", AES_RESULT_SUCCESS_TRUE == result ? "Success" : "Failed");
OS_TPrintf("Result: %s\n", AES_RESULT_SUCCESS_TRUE == result ? "Success" : "Failed (OK!)");
}
}