Lines Matching defs:elephant
147 CRYPT_ENCRYPT_PREPROCESS, /* Must preprocess data for encryption (elephant) */
175 struct iv_elephant_private elephant;
312 * elephant: The extended version of eboiv with additional Elephant diffuser
783 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant;
785 crypto_free_skcipher(elephant->tfm);
786 elephant->tfm = NULL;
792 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant;
795 elephant->tfm = crypto_alloc_skcipher("ecb(aes)", 0,
797 if (IS_ERR(elephant->tfm)) {
798 r = PTR_ERR(elephant->tfm);
799 elephant->tfm = NULL;
955 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant;
962 req = skcipher_request_alloc(elephant->tfm, GFP_NOIO);
1051 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant;
1054 return crypto_skcipher_setkey(elephant->tfm, &cc->key[key_offset], cc->key_extra_size);
1059 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant;
1063 return crypto_skcipher_setkey(elephant->tfm, key, cc->key_extra_size);
2847 else if (strcmp(ivmode, "elephant") == 0) {