Lines Matching defs:elephant
140 CRYPT_ENCRYPT_PREPROCESS, /* Must preprocess data for encryption (elephant) */
168 struct iv_elephant_private elephant;
305 * elephant: The extended version of eboiv with additional Elephant diffuser
768 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant;
770 crypto_free_skcipher(elephant->tfm);
771 elephant->tfm = NULL;
777 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant;
780 elephant->tfm = crypto_alloc_skcipher("ecb(aes)", 0,
782 if (IS_ERR(elephant->tfm)) {
783 r = PTR_ERR(elephant->tfm);
784 elephant->tfm = NULL;
940 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant;
947 req = skcipher_request_alloc(elephant->tfm, GFP_NOIO);
1036 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant;
1039 return crypto_skcipher_setkey(elephant->tfm, &cc->key[key_offset], cc->key_extra_size);
1044 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant;
1048 return crypto_skcipher_setkey(elephant->tfm, key, cc->key_extra_size);
2760 else if (strcmp(ivmode, "elephant") == 0) {