ColdFire SEC for aes, des3: Eliminated type mismatch

This commit is contained in:
Takashi Kojo
2014-04-23 20:45:19 +09:00
parent 41199a480d
commit a67cb1207b
2 changed files with 30 additions and 27 deletions

View File

@@ -698,7 +698,7 @@ static int AesCbcCrypt(Aes* aes, byte* po, const byte* pi, word32 sz, word32 des
stat2 = MCF_SEC_AESISR ;
if(ret & 0xe0000000)
{
db_printf("Aes_Cbc(i=%d):ISRH=%08x, AESSR=%08x, AESISR=%08x\n", i, ret, stat1, stat2) ;
/* db_printf("Aes_Cbc(i=%d):ISRH=%08x, AESSR=%08x, AESISR=%08x\n", i, ret, stat1, stat2) ; */
}
XMEMCPY(po, AESBuffOut, size) ;
@@ -744,7 +744,7 @@ int AesSetKey(Aes* aes, const byte* userKey, word32 keylen, const byte* iv,
return BAD_FUNC_ARG;
#else
#error "Allocate non-Cache buffers"
#warning "Allocate non-Cache buffers"
#endif
InitMutex(&Mutex_AesSEC) ;