summaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
authorHolger Lubitz2007-07-27 21:31:11 +0200
committerHolger Lubitz2007-07-27 21:31:11 +0200
commit426c2c150d43f1c2661205c9a0956fcbeeaeacc4 (patch)
treed7f90fe6db88681c42984639a622994895af1ea7 /src/crypto
parentAdded two lines of code that were completely missing! (diff)
downloadipxe-426c2c150d43f1c2661205c9a0956fcbeeaeacc4.tar.gz
ipxe-426c2c150d43f1c2661205c9a0956fcbeeaeacc4.tar.xz
ipxe-426c2c150d43f1c2661205c9a0956fcbeeaeacc4.zip
disable AES_convert_key by #if 0'ing it out (suggested by mcb30)
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/axtls/aes.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crypto/axtls/aes.c b/src/crypto/axtls/aes.c
index 9154a515..298e4193 100644
--- a/src/crypto/axtls/aes.c
+++ b/src/crypto/axtls/aes.c
@@ -238,6 +238,9 @@ void AES_set_key(AES_CTX *ctx, const uint8_t *key,
memcpy(ctx->iv, iv, 16);
}
+#if 0
+/** currently unused function **/
+
/**
* Change a key for decryption.
*/
@@ -256,6 +259,7 @@ void AES_convert_key(AES_CTX *ctx)
*k++ =w;
}
}
+#endif
/**
* Encrypt a byte sequence (with a block size 16) using the AES cipher.