Fixed AES key length in openssl plugin
This commit is contained in:
@@ -206,12 +206,12 @@ METHOD(plugin_t, get_features, int,
|
||||
/* crypters */
|
||||
PLUGIN_REGISTER(CRYPTER, openssl_crypter_create),
|
||||
#ifndef OPENSSL_NO_AES
|
||||
PLUGIN_PROVIDE(CRYPTER, ENCR_AES_CBC, 12),
|
||||
PLUGIN_PROVIDE(CRYPTER, ENCR_AES_CBC, 16),
|
||||
PLUGIN_PROVIDE(CRYPTER, ENCR_AES_CBC, 24),
|
||||
PLUGIN_PROVIDE(CRYPTER, ENCR_AES_CBC, 32),
|
||||
#endif
|
||||
#ifndef OPENSSL_NO_CAMELLIA
|
||||
PLUGIN_PROVIDE(CRYPTER, ENCR_CAMELLIA_CBC, 12),
|
||||
PLUGIN_PROVIDE(CRYPTER, ENCR_CAMELLIA_CBC, 16),
|
||||
PLUGIN_PROVIDE(CRYPTER, ENCR_CAMELLIA_CBC, 24),
|
||||
PLUGIN_PROVIDE(CRYPTER, ENCR_CAMELLIA_CBC, 32),
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user