SOFTHSM-107: Only check input size for unpadded ECB or CBC.