INNER CODE UNIT · C++
toReturn
ph4r05/Whitebox-crypto-AES · BGEAttack.cpp:969
int toReturn = this->attack();
delete this->wbaes;
delete this->coding;
this->wbaes = NULL;
this->coding = NULL;
return toReturn;
}
int BGEAttack::attack(void) {
// The aim of this attack is to extract round keys, so generate them here to be able to compare results
GenericAES defAES;
defAES.init(0x11B, 0x03);
bool encrypt = true;