BALTECH SDK wrapper functions reference

§ aes_create_ctx()

aes_ctx aes_create_ctx ( const unsigned char  key[AES_KEY_SIZE])

Create and initialize an AES-128 context from a key.

Parameters
key128-bit (16-byte) AES key
Returns
AES context, or NULL on failure
Note
Must be freed with aes_destroy_ctx()