mirror of
https://github.com/ipxe/ipxe
synced 2025-12-19 11:00:27 +03:00
[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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user