diff options
Diffstat (limited to 'src/crypto/modes/ofb.c')
-rw-r--r-- | src/crypto/modes/ofb.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/crypto/modes/ofb.c b/src/crypto/modes/ofb.c index 63c3165..5836a9f 100644 --- a/src/crypto/modes/ofb.c +++ b/src/crypto/modes/ofb.c @@ -46,21 +46,20 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. * ==================================================================== */ -#include <openssl/type_check.h> +#include <openssl/modes.h> #include <assert.h> #include "internal.h" -OPENSSL_COMPILE_ASSERT((16 % sizeof(size_t)) == 0, bad_size_t_size); - void CRYPTO_ofb128_encrypt(const uint8_t *in, uint8_t *out, size_t len, const void *key, uint8_t ivec[16], int *num, block128_f block) { unsigned int n; assert(in && out && key && ivec && num); + assert((16 % sizeof(size_t)) == 0); n = *num; |