MCPcopy Create free account
hub / github.com/B-Con/crypto-algorithms / AddRoundKey

Function AddRoundKey

aes.c:592–633  ·  view source on GitHub ↗

Performs the AddRoundKey step. Each round has its own pre-generated 16-byte key in the form of 4 integers (the "w" array). Each integer is XOR'd by one column of the state. Also performs the job of InvAddRoundKey(); since the function is a simple XOR process, it is its own inverse.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

aes_encryptFunction · 0.85
aes_decryptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected