Home | History | Annotate | Download | only in cfb

Lines Matching refs:cipher

23    @param cipher      The index of the cipher desired
27 @param num_rounds Number of rounds in the cipher desired (0 for default)
31 int cfb_start(int cipher, const unsigned char *IV, const unsigned char *key,
40 if ((err = cipher_is_valid(cipher)) != CRYPT_OK) {
46 cfb->cipher = cipher;
47 cfb->blocklen = cipher_descriptor[cipher].block_length;
51 /* init the cipher */
52 if ((err = cipher_descriptor[cipher].setup(key, keylen, num_rounds, &cfb->key)) != CRYPT_OK) {
58 return cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->IV, cfb->IV, &cfb->key);