summaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
authorMichael Brown2009-02-18 22:33:54 +0100
committerMichael Brown2009-02-18 22:33:54 +0100
commit5de8305febf0fe4f2b8a89753cefdfedc519cee2 (patch)
tree38421150425c645ee63b28742797aa50752117d1 /src/net
parent[crypto] Rename aes_algorithm to aes_cbc_algorithm (diff)
downloadipxe-5de8305febf0fe4f2b8a89753cefdfedc519cee2.tar.gz
ipxe-5de8305febf0fe4f2b8a89753cefdfedc519cee2.tar.xz
ipxe-5de8305febf0fe4f2b8a89753cefdfedc519cee2.zip
[crypto] Move AES_convert_key() hack into axtls_aes.c
Although the nature of the hack is essentially unchanged, this allows us to remove the hardcoded assumption in tls.c that the RX cipher is AES.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/tls.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/net/tls.c b/src/net/tls.c
index df872d42e..f8e5318bf 100644
--- a/src/net/tls.c
+++ b/src/net/tls.c
@@ -372,10 +372,6 @@ static int tls_generate_keys ( struct tls_session *tls ) {
tls, strerror ( rc ) );
return rc;
}
-
- /* FIXME: AES needs to be fixed to not require this */
- AES_convert_key ( rx_cipherspec->cipher_ctx );
-
DBGC ( tls, "TLS %p RX key:\n", tls );
DBGC_HD ( tls, key, key_size );
key += key_size;