unrolling. The following options allow partial or full loop unrolling
to be set independently for encryption and decryption
*/
-#if !defined(CONFIG_SMALL)
+#if !defined(CONFIG_SMALL) || defined(CONFIG_SMALL_NO_CRYPTO)
#define ENC_UNROLL FULL
#elif 0
#define ENC_UNROLL PARTIAL
#define ENC_UNROLL NONE
#endif
-#if !defined(CONFIG_SMALL)
+#if !defined(CONFIG_SMALL) || defined(CONFIG_SMALL_NO_CRYPTO)
#define DEC_UNROLL FULL
#elif 0
#define DEC_UNROLL PARTIAL
of tables used by this implementation.
*/
-#if !defined(CONFIG_SMALL) /* set tables for the normal encryption round */
+#if !defined(CONFIG_SMALL) || defined(CONFIG_SMALL_NO_CRYPTO) /* set tables for the normal encryption round */
#define ENC_ROUND FOUR_TABLES
#elif 0
#define ENC_ROUND ONE_TABLE
#define ENC_ROUND NO_TABLES
#endif
-#if !defined(CONFIG_SMALL) /* set tables for the last encryption round */
+#if !defined(CONFIG_SMALL) || defined(CONFIG_SMALL_NO_CRYPTO) /* set tables for the last encryption round */
#define LAST_ENC_ROUND FOUR_TABLES
#elif 0
#define LAST_ENC_ROUND ONE_TABLE
#define LAST_ENC_ROUND NO_TABLES
#endif
-#if !defined(CONFIG_SMALL) /* set tables for the normal decryption round */
+#if !defined(CONFIG_SMALL) || defined(CONFIG_SMALL_NO_CRYPTO) /* set tables for the normal decryption round */
#define DEC_ROUND FOUR_TABLES
#elif 0
#define DEC_ROUND ONE_TABLE
#define DEC_ROUND NO_TABLES
#endif
-#if !defined(CONFIG_SMALL) /* set tables for the last decryption round */
+#if !defined(CONFIG_SMALL) || defined(CONFIG_SMALL_NO_CRYPTO) /* set tables for the last decryption round */
#define LAST_DEC_ROUND FOUR_TABLES
#elif 0
#define LAST_DEC_ROUND ONE_TABLE
way that the round functions can. Include or exclude the following
defines to set this requirement.
*/
-#if !defined(CONFIG_SMALL)
+#if !defined(CONFIG_SMALL) || defined(CONFIG_SMALL_NO_CRYPTO)
#define KEY_SCHED FOUR_TABLES
#elif 0
#define KEY_SCHED ONE_TABLE
{
register krb5_ui_4 a = buf[0], b = buf[1], c = buf[2], d = buf[3];
-#ifdef CONFIG_SMALL
+#if defined(CONFIG_SMALL) && !defined(CONFIG_SMALL_NO_CRYPTO)
int i;
#define ROTATE { krb5_ui_4 temp; temp = d, d = c, c = b, b = a, a = temp; }
for (i = 0; i < 16; i++) {