I'm having this error trying to understand how to implement this constructor.
I stripped the call out of the function I did have it in, and reached a pretty minimal demonstration of my issue:
uint32_t p=0, c;
uint8_t k=0x00;
c = p.AES::AES(AES_128, k);
I expect the plaintext p
to be encrypted by AES with key k
to ciphertext c
.
Instead, I get the error Expression must have class type
, due to my inexperience with OOP no doubt.
Unfortunately the library is not well documented at all, so I cannot even learn by example (without the help of SO!) - what have I done wrong here?