Home | History | Annotate | Download | only in ofb

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 ofb_start(int cipher, const unsigned char *IV, const unsigned char *key,
40 if ((err = cipher_is_valid(cipher)) != CRYPT_OK) {
45 ofb->cipher = cipher;
46 ofb->blocklen = cipher_descriptor[cipher].block_length;
51 /* init the cipher */
53 return cipher_descriptor[cipher].setup(key, keylen, num_rounds, &ofb->key);