mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-04 11:09:00 -04:00

Some cipher modes use cipher-encrypt to encrypt and decrypt. (E.g: ECB, CBC). This commit adds support to automatically enable CIPHER_ENCRYPT_ONLY by PSA when requested cipher modes don't need cipher_decrypt. Signed-off-by: Yanray Wang <yanray.wang@arm.com>