version 1.115, 2020/02/26 13:40:09 |
version 1.116, 2020/03/13 03:17:07 |
|
|
/* |
/* |
* cipher_crypt() operates as following: |
* cipher_crypt() operates as following: |
* Copy 'aadlen' bytes (without en/decryption) from 'src' to 'dest'. |
* Copy 'aadlen' bytes (without en/decryption) from 'src' to 'dest'. |
* Theses bytes are treated as additional authenticated data for |
* These bytes are treated as additional authenticated data for |
* authenticated encryption modes. |
* authenticated encryption modes. |
* En/Decrypt 'len' bytes at offset 'aadlen' from 'src' to 'dest'. |
* En/Decrypt 'len' bytes at offset 'aadlen' from 'src' to 'dest'. |
* Use 'authlen' bytes at offset 'len'+'aadlen' as the authentication tag. |
* Use 'authlen' bytes at offset 'len'+'aadlen' as the authentication tag. |