28c28
< __FBSDID("$FreeBSD: head/sys/geom/eli/g_eli_crypto.c 173746 2007-11-19 08:59:32Z jb $");
---
> __FBSDID("$FreeBSD: head/sys/geom/eli/g_eli_crypto.c 213070 2010-09-23 11:58:36Z pjd $");
71a72,74
> KASSERT(algo != CRYPTO_AES_XTS,
> ("%s: CRYPTO_AES_XTS unexpected here", __func__));
>
138a142,143
> assert(algo != CRYPTO_AES_XTS);
>
214a220,223
> /* We prefer AES-CBC for metadata protection. */
> if (algo == CRYPTO_AES_XTS)
> algo = CRYPTO_AES_CBC;
>
222a232,235
> /* We prefer AES-CBC for metadata protection. */
> if (algo == CRYPTO_AES_XTS)
> algo = CRYPTO_AES_CBC;
>
< __FBSDID("$FreeBSD: head/sys/geom/eli/g_eli_crypto.c 173746 2007-11-19 08:59:32Z jb $");
---
> __FBSDID("$FreeBSD: head/sys/geom/eli/g_eli_crypto.c 213070 2010-09-23 11:58:36Z pjd $");
71a72,74
> KASSERT(algo != CRYPTO_AES_XTS,
> ("%s: CRYPTO_AES_XTS unexpected here", __func__));
>
138a142,143
> assert(algo != CRYPTO_AES_XTS);
>
214a220,223
> /* We prefer AES-CBC for metadata protection. */
> if (algo == CRYPTO_AES_XTS)
> algo = CRYPTO_AES_CBC;
>
222a232,235
> /* We prefer AES-CBC for metadata protection. */
> if (algo == CRYPTO_AES_XTS)
> algo = CRYPTO_AES_CBC;
>