summaryrefslogtreecommitdiffstats
path: root/src/crypto/mishmash/rsa_aes_gcm_sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/mishmash/rsa_aes_gcm_sha256.c')
-rw-r--r--src/crypto/mishmash/rsa_aes_gcm_sha256.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/crypto/mishmash/rsa_aes_gcm_sha256.c b/src/crypto/mishmash/rsa_aes_gcm_sha256.c
index cf9c4c27..b18bbd84 100644
--- a/src/crypto/mishmash/rsa_aes_gcm_sha256.c
+++ b/src/crypto/mishmash/rsa_aes_gcm_sha256.c
@@ -29,24 +29,9 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <ipxe/sha256.h>
#include <ipxe/tls.h>
-/** TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 cipher suite */
-struct tls_cipher_suite
-tls_dhe_rsa_with_aes_128_gcm_sha256 __tls_cipher_suite ( 01 ) = {
- .code = htons ( TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 ),
- .key_len = ( 128 / 8 ),
- .fixed_iv_len = 4,
- .record_iv_len = 8,
- .mac_len = 0,
- .exchange = &tls_dhe_exchange_algorithm,
- .pubkey = &rsa_algorithm,
- .cipher = &aes_gcm_algorithm,
- .digest = &sha256_algorithm,
- .handshake = &sha256_algorithm,
-};
-
/** TLS_RSA_WITH_AES_128_GCM_SHA256 cipher suite */
struct tls_cipher_suite
-tls_rsa_with_aes_128_gcm_sha256 __tls_cipher_suite ( 11 ) = {
+tls_rsa_with_aes_128_gcm_sha256 __tls_cipher_suite ( 21 ) = {
.code = htons ( TLS_RSA_WITH_AES_128_GCM_SHA256 ),
.key_len = ( 128 / 8 ),
.fixed_iv_len = 4,