summaryrefslogtreecommitdiff
path: root/cipher/rijndael.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/rijndael.c')
-rw-r--r--cipher/rijndael.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/cipher/rijndael.c b/cipher/rijndael.c
index a3080f55..8d4036b7 100644
--- a/cipher/rijndael.c
+++ b/cipher/rijndael.c
@@ -285,15 +285,10 @@ do_setkey (RIJNDAEL_context *ctx, const byte *key, const unsigned keylen)
ctx->rounds = rounds;
+ /* NB: We don't yet support Padlock hardware key generation. */
+
if (0)
;
-#ifdef USE_PADLOCK
- else if (ctx->use_padlock)
- {
- /* Nothing to do as we support only hardware key generation for
- now. */
- }
-#endif /*USE_PADLOCK*/
#ifdef USE_AESNI_is_disabled_here
else if (ctx->use_aesni && ctx->rounds == 10)
{