INNER CODE UNIT · C++

nextTbox

ph4r05/Whitebox-crypto-AES · BGEAttack.cpp:994

	const int * nextTbox = shiftT2;             // attack is not yet implemented for decryption
	generator.BYTEArr_to_vec_GF2E(GenericAES::testVect128_key, KEY_SIZE_16, defaultKey);			// convert BYTE key to GF2E key
	defAES.expandKey(expandedKey, defaultKey, KEY_SIZE_16);	// key schedule for default AES
	if (doCout) cout << "Expanded key: " << endl;
	if (doCout) dumpVector(expandedKey);


	//
	//
	// Attack below...
	//
	//

	// Recover affine parts of output mapping Q for round 0..9
	int r = 0;
	int row=0;
	int x = 0;
	int i = 0;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…