summaryrefslogtreecommitdiffstats
path: root/src/crypto/mishmash/rsa_aes_cbc_sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/mishmash/rsa_aes_cbc_sha1.c')
-rw-r--r--src/crypto/mishmash/rsa_aes_cbc_sha1.c34
1 files changed, 2 insertions, 32 deletions
diff --git a/src/crypto/mishmash/rsa_aes_cbc_sha1.c b/src/crypto/mishmash/rsa_aes_cbc_sha1.c
index 9f8193de..0862fb5a 100644
--- a/src/crypto/mishmash/rsa_aes_cbc_sha1.c
+++ b/src/crypto/mishmash/rsa_aes_cbc_sha1.c
@@ -30,39 +30,9 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <ipxe/sha256.h>
#include <ipxe/tls.h>
-/** TLS_DHE_RSA_WITH_AES_128_CBC_SHA cipher suite */
-struct tls_cipher_suite
-tls_dhe_rsa_with_aes_128_cbc_sha __tls_cipher_suite ( 05 ) = {
- .code = htons ( TLS_DHE_RSA_WITH_AES_128_CBC_SHA ),
- .key_len = ( 128 / 8 ),
- .fixed_iv_len = 0,
- .record_iv_len = AES_BLOCKSIZE,
- .mac_len = SHA1_DIGEST_SIZE,
- .exchange = &tls_dhe_exchange_algorithm,
- .pubkey = &rsa_algorithm,
- .cipher = &aes_cbc_algorithm,
- .digest = &sha1_algorithm,
- .handshake = &sha256_algorithm,
-};
-
-/** TLS_DHE_RSA_WITH_AES_256_CBC_SHA cipher suite */
-struct tls_cipher_suite
-tls_dhe_rsa_with_aes_256_cbc_sha __tls_cipher_suite ( 06 ) = {
- .code = htons ( TLS_DHE_RSA_WITH_AES_256_CBC_SHA ),
- .key_len = ( 256 / 8 ),
- .fixed_iv_len = 0,
- .record_iv_len = AES_BLOCKSIZE,
- .mac_len = SHA1_DIGEST_SIZE,
- .exchange = &tls_dhe_exchange_algorithm,
- .pubkey = &rsa_algorithm,
- .cipher = &aes_cbc_algorithm,
- .digest = &sha1_algorithm,
- .handshake = &sha256_algorithm,
-};
-
/** TLS_RSA_WITH_AES_128_CBC_SHA cipher suite */
struct tls_cipher_suite
-tls_rsa_with_aes_128_cbc_sha __tls_cipher_suite ( 15 ) = {
+tls_rsa_with_aes_128_cbc_sha __tls_cipher_suite ( 25 ) = {
.code = htons ( TLS_RSA_WITH_AES_128_CBC_SHA ),
.key_len = ( 128 / 8 ),
.fixed_iv_len = 0,
@@ -77,7 +47,7 @@ tls_rsa_with_aes_128_cbc_sha __tls_cipher_suite ( 15 ) = {
/** TLS_RSA_WITH_AES_256_CBC_SHA cipher suite */
struct tls_cipher_suite
-tls_rsa_with_aes_256_cbc_sha __tls_cipher_suite ( 16 ) = {
+tls_rsa_with_aes_256_cbc_sha __tls_cipher_suite ( 26 ) = {
.code = htons ( TLS_RSA_WITH_AES_256_CBC_SHA ),
.key_len = ( 256 / 8 ),
.fixed_iv_len = 0,