* AES-CCM decrypt

* fix a bunch of bugs
This commit is contained in:
Arisotura
2019-07-02 23:46:39 +02:00
parent 8c64290958
commit 851e255b40
6 changed files with 180 additions and 24 deletions

View File

@ -123,7 +123,10 @@ void DSi_NDMA::Start()
if (((StartMode & 0x1F) != 0x10) && !(Cnt & (1<<29)))
{
if (IterCount > TotalRemCount)
{
IterCount = TotalRemCount;
RemCount = IterCount;
}
}
if (Cnt & (1<<12)) CurDstAddr = DstAddr;