AES-GMAC-CTR tweaks, self test tweaks, debian typo fix.
This commit is contained in:
parent
e29c2d0260
commit
185e90c40f
5 changed files with 57 additions and 24 deletions
|
@ -224,7 +224,7 @@ static int testCrypto()
|
|||
std::cout << " AES-256-GMAC-CTR (benchmark): "; std::cout.flush();
|
||||
start = OSUtils::now();
|
||||
for(unsigned long i=0;i<200000;++i) {
|
||||
tv.ztGmacCtrEncrypt((const uint8_t *)hexbuf,buf1,sizeof(buf1),buf2,(uint8_t *)(hexbuf + 8));
|
||||
AES::ztGmacCtrEncrypt(tv,tv,(const uint8_t *)hexbuf,buf1,sizeof(buf1),buf2,(uint8_t *)(hexbuf + 8));
|
||||
hexbuf[0] = buf2[0];
|
||||
}
|
||||
end = OSUtils::now();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue