comparison src/mac/omac/omac_init.c @ 209:39d5d58461d6 libtomcrypt-orig LTC_1.05

Import of libtomcrypt 1.05
author Matt Johnston <matt@ucc.asn.au>
date Wed, 06 Jul 2005 03:53:40 +0000
parents 1c15b283127b
children
comparison
equal deleted inserted replaced
191:1c15b283127b 209:39d5d58461d6
37 if ((err = cipher_is_valid(cipher)) != CRYPT_OK) { 37 if ((err = cipher_is_valid(cipher)) != CRYPT_OK) {
38 return err; 38 return err;
39 } 39 }
40 40
41 #ifdef LTC_FAST 41 #ifdef LTC_FAST
42 if (16 % sizeof(LTC_FAST_TYPE)) { 42 if (cipher_descriptor[cipher].block_length % sizeof(LTC_FAST_TYPE)) {
43 return CRYPT_INVALID_ARG; 43 return CRYPT_INVALID_ARG;
44 } 44 }
45 #endif 45 #endif
46 46
47 /* now setup the system */ 47 /* now setup the system */
91 91
92 return CRYPT_OK; 92 return CRYPT_OK;
93 } 93 }
94 94
95 #endif 95 #endif
96
97 /* $Source: /cvs/libtom/libtomcrypt/src/mac/omac/omac_init.c,v $ */
98 /* $Revision: 1.5 $ */
99 /* $Date: 2005/06/06 10:22:44 $ */