Home | History | Annotate | Download | only in cfb

Lines Matching refs:cfb

15   CFB implementation, set IV, Tom St Denis
24 @param cfb The CFB state
27 int cfb_setiv(const unsigned char *IV, unsigned long len, symmetric_CFB *cfb)
32 LTC_ARGCHK(cfb != NULL);
34 if ((err = cipher_is_valid(cfb->cipher)) != CRYPT_OK) {
38 if (len != (unsigned long)cfb->blocklen) {
43 cfb->padlen = 0;
44 return cipher_descriptor[cfb->cipher].ecb_encrypt(IV, cfb->IV, &cfb->key);
50 /* $Source: /cvs/libtom/libtomcrypt/src/modes/cfb/cfb_setiv.c,v $ */