Lines Matching refs:f9
15 F9 Support, start an F9 state
20 /** Initialize F9-MAC state
21 @param f9 [out] f9 state to initialize
27 int f9_init(f9_state *f9, int cipher, const unsigned char *key, unsigned long keylen)
31 LTC_ARGCHK(f9 != NULL);
45 if ((err = cipher_descriptor[cipher].setup(key, keylen, 0, &f9->key)) != CRYPT_OK) {
51 f9->akey[x] = key[x] ^ 0xAA;
55 zeromem(f9->IV, cipher_descriptor[cipher].block_length);
56 zeromem(f9->ACC, cipher_descriptor[cipher].block_length);
57 f9->blocksize = cipher_descriptor[cipher].block_length;
58 f9->cipher = cipher;
59 f9->buflen = 0;
60 f9->keylen = keylen;
67 /* $Source: /cvs/libtom/libtomcrypt/src/mac/f9/f9_init.c,v $ */