Reference Guide
Chapter 5: Cryptographic API Changes 47
RSA BSAFE Crypto-C Micro Edition 3.x to 4.1.4 Migration Guide
The limits of allowed data unit lengths are 16 bytes up to 2
24
bytes. These limits
comply with the requirements of NIST SP 800-38E. Legacy implementations
enforced only a lower limit of 16 bytes.
The information identifier,
R_CR_INFO_ID_XTS_SINGLE_UNIT, used with
R_CR_set_info(), maintains compatibility with the way data unit lengths were
determined by legacy implementations.
• This information identifier should be used by applications only to recover data
encrypted prior to the Crypto-C ME 4.1.4 release and should never be used by
new applications.
• Where data was encrypted by legacy calls using input data lengths that match the
data unit size, this information identifier is not needed to process the encrypted
data.