tls: Remove superfluous initializers in TLS AEAD implementations
authorMartin Willi <martin@revosec.ch>
Tue, 1 Apr 2014 09:45:45 +0000 (11:45 +0200)
committerMartin Willi <martin@revosec.ch>
Tue, 1 Apr 2014 12:52:18 +0000 (14:52 +0200)
src/libtls/tls_aead.c
src/libtls/tls_aead_expl.c
src/libtls/tls_aead_impl.c
src/libtls/tls_aead_null.c

index be44cc0..1d0779d 100644 (file)
@@ -191,7 +191,6 @@ tls_aead_t *tls_aead_create_aead(encryption_algorithm_t encr, size_t encr_size)
                .public = {
                        .encrypt = _encrypt,
                        .decrypt = _decrypt,
-                       .get_iv_size = _get_iv_size,
                        .get_mac_key_size = _get_mac_key_size,
                        .get_encr_key_size = _get_encr_key_size,
                        .get_iv_size = _get_iv_size,
index f047d65..5e4d33e 100644 (file)
@@ -201,7 +201,6 @@ tls_aead_t *tls_aead_create_explicit(integrity_algorithm_t mac,
                .public = {
                        .encrypt = _encrypt,
                        .decrypt = _decrypt,
-                       .get_iv_size = _get_iv_size,
                        .get_mac_key_size = _get_mac_key_size,
                        .get_encr_key_size = _get_encr_key_size,
                        .get_iv_size = _get_iv_size,
index 9b259fc..fb14026 100644 (file)
@@ -192,7 +192,6 @@ tls_aead_t *tls_aead_create_implicit(integrity_algorithm_t mac,
                .public = {
                        .encrypt = _encrypt,
                        .decrypt = _decrypt,
-                       .get_iv_size = _get_iv_size,
                        .get_mac_key_size = _get_mac_key_size,
                        .get_encr_key_size = _get_encr_key_size,
                        .get_iv_size = _get_iv_size,
index b80a0bc..595b640 100644 (file)
@@ -140,7 +140,6 @@ tls_aead_t *tls_aead_create_null(integrity_algorithm_t alg)
                .public = {
                        .encrypt = _encrypt,
                        .decrypt = _decrypt,
-                       .get_iv_size = _get_iv_size,
                        .get_mac_key_size = _get_mac_key_size,
                        .get_encr_key_size = _get_encr_key_size,
                        .get_iv_size = _get_iv_size,