http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c7ffa8
)
disable AES_convert_key by #if 0'ing it out (suggested by mcb30)
author
Holger Lubitz
<hal@duncan.ol.sub.de>
Fri, 27 Jul 2007 19:31:11 +0000
(21:31 +0200)
committer
Holger Lubitz
<hal@duncan.ol.sub.de>
Fri, 27 Jul 2007 19:31:11 +0000
(21:31 +0200)
src/crypto/axtls/aes.c
patch
|
blob
|
history
diff --git
a/src/crypto/axtls/aes.c
b/src/crypto/axtls/aes.c
index
9154a51
..
298e419
100644
(file)
--- 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.