balena/aes-whitebox

Why not include CBC mode?

Opened this issue · 1 comments

I have a question.

Hey @pinpoy,

Nothing wrong with CBC mode, just that it involves a completely different set of tables. Check here: https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation.

Long story short, CFB, OFB and CTR involve just the "block cipher encryption" while other modes (like CBC) require the "block cipher decryption". Each of these blocks involve different kinds of tables, being the decryption block more complex to implement.