Implemented AES on card with PKCS7 padding on both sides