diff options
Diffstat (limited to 'src/libstrongswan/plugins/blowfish/blowfish_crypter.c')
-rw-r--r-- | src/libstrongswan/plugins/blowfish/blowfish_crypter.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/blowfish/blowfish_crypter.c b/src/libstrongswan/plugins/blowfish/blowfish_crypter.c index b23a7bab1..e37420ae8 100644 --- a/src/libstrongswan/plugins/blowfish/blowfish_crypter.c +++ b/src/libstrongswan/plugins/blowfish/blowfish_crypter.c @@ -139,6 +139,12 @@ METHOD(crypter_t, get_block_size, size_t, return BLOWFISH_BLOCK_SIZE; } +METHOD(crypter_t, get_iv_size, size_t, + private_blowfish_crypter_t *this) +{ + return BLOWFISH_BLOCK_SIZE; +} + METHOD(crypter_t, get_key_size, size_t, private_blowfish_crypter_t *this) { @@ -174,6 +180,7 @@ blowfish_crypter_t *blowfish_crypter_create(encryption_algorithm_t algo, size_t .encrypt = _encrypt, .decrypt = _decrypt, .get_block_size = _get_block_size, + .get_iv_size = _get_iv_size, .get_key_size = _get_key_size, .set_key = _set_key, .destroy = _destroy, |