Anybody that can tell me why I have problems with this piece of testkode, GWAN crash when it gets called.
gwan API help: void aes_init(aes_t *ctx, u32 mode, u8 *key, u32 keylen);
My test code:
aes_t *testaes = 0;
u32 ed = 0;
u32 keylen = 128;
u8 *testkey = 0;
testkey = (u8*)strdup("B00DDF9D93E199EFEAE967805E0A5228");
aes_init( testaes, ed, testkey , keylen );
I really would hate to implement another encryption library just because I do not understand the already included.