I have been looking the AES information on the java card API, and I saw that there are 3 options to set the length of the key: 128, 192 and 256 bits. But I only see one option on the Cipher class related with the 128 length AES key for CBC and ECB.
Is not posible to cipher with aes keys of 192 and 256 bits?
I have tested it, its like you said, but I'm unable to cipher less than 16 bytes, If I try less it returns me an error 6F00, with a try catch related with CryptoException 6983 (SW_FILE_INVALID). I don't know what is happening.