Limitations
This section describes any limitations you may encounter when performing cryptographic operations.
Single-Part Encryption Maximum Data Length
The maximum data length for single-part encryption operations is 65535 bytes. Using data lengths longer than 65535 bytes will result in a CKR_DATA_INVALID error.