- kit->_cryptographic_context = (encryption_context_t *) malloc(sizeof(encryption_context_t));
- ((encryption_context_t *) kit->_cryptographic_context)->encryption_context = EVP_CIPHER_CTX_new();
- ((encryption_context_t *) kit->_cryptographic_context)->decryption_context = EVP_CIPHER_CTX_new();
- if (((encryption_context_t *) kit->_cryptographic_context)->encryption_context == NULL
- || ((encryption_context_t *) kit->_cryptographic_context)->decryption_context == NULL)
+ kit->_key = (encryption_context_t *) malloc(sizeof(encryption_context_t));
+ ((encryption_context_t *) kit->_key)->encryption_context = EVP_CIPHER_CTX_new();
+ ((encryption_context_t *) kit->_key)->decryption_context = EVP_CIPHER_CTX_new();
+ if (((encryption_context_t *) kit->_key)->encryption_context == NULL
+ || ((encryption_context_t *) kit->_key)->decryption_context == NULL)