Skip to content
Commit 340c3b6b authored by Tomasz Kantecki's avatar Tomasz Kantecki
Browse files

Further modification of previous "Block counter field not required as part of AES-CTR IV" patch.

This patch makes the library accept two forms of IV in AES-CTR mode:
- 12 byte IV (Nonce + ESP IV) - new, ipsec use case, library sets the block counter itself
- 16 byte IV (Nonce + ESP IV + Block counter) - old, block counter is set by the application

IV length is passed to the alogrithmic code and IV is initialized accordingly based on the length.
parent 532c9ad3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment