Abstract
Authentication Encryption with Associated Data (AEAD) is a scheme that preserves the integrity of both the cipher text and authenticated data. In AEAD, cipher suites like GCM_SIV and AES_GCM_SIV provides the message integrity through nonce-based authentication encryption technique. The problem of nonce-based authentication encryption is the repetition of nonce in two different messages that violates message integrity property when the number of message blocks is maximized to 232. This paper verifies the maximum limit of nonce usefulness and proves better security bounds attained in GCM_SIV and AES_GCM_SIV using nonce-reuse/misuse resistance authentication encryption (NRMR-AE) technique. The NRMR-AE resistance property achieves better security bounds and performance even when the nonces are repeated in different messages. But nonce repetition in NRMR-AE property reduces the number of message encryption and message length (in blocks) in GCM_SIV and AES_GCM_SIV AEAD methods used in QUIC(Quick UDP Internet Communications) and TLS Cipher suites which is found to be a greater drawback. This paper increases the number of messages encrypted even with maximum number of nonce repetition ensuring that the message length in AES_GCM_SIV meets the standard NIST bound 2-32.
Introduction
An Authenticated Encryption (AE) technique is a symmetric key method that provides both confidentiality and integrity in TLS communication data exchange between two end systems. In a number of AE schemes [17], the most popular scheme since evolution is Galosis Counter Mode (GCM) operation which achieves privacy and authenticity of a data using GHASH and GCTR functions [5]. The GCM works on parallizable encryption method using AES block cipher. GCM achieves better performance and minimize the time during encryption of bulk data in TLS communications. Among number of Cipher suites, the most famous CIPHERSUITE is AES_GCM [14, 16] which is an Authenticated Encryption with Authenticated Data (AEAD). AEAD provides secrecy and realism in TLS record layer encryption and QUIC protocol function which works on the methodology of nonce-based authentication encryption (nAE). The nonce used in GCM encryption is repeated for two different messages that compromise the security future cipher texts by active adversary attacks.
The main problem of GCM is nonce repetition in two different messages which compromises the security in universal hash function (GHASH) resulting in revealing the secret key of a message. The adversary will then forge the future cipher texts. So the nonce-based authentication cipher suites are not suitable for modern TLS cipher suites and QUIC based web servers [23, 24]. In order to achieve the security in nonce-based authentication encryption scheme random nonces are generated instead of unique pattern of nonces. But due to poor randomness on smarter devices the random nonces are also repeated infrequent and breach the security in cipher suites. So Rogaway and Shrimpton modified the nAE schemes and formulized to nonce-reuse/misuse resistance authentication encryption (NRMR-AE) [17] that provides the confidentiality and authenticity even if the nonces are repeated in two different messages. The adversary is only able to capture the minimal information of the data that does not violate the authenticity.
The base of the NRMR-AE scheme is Synthetic IV (SIV) [5] method that resists the nonce-misuse problem. Based on this SIV method, the new method named GCM_SIV was proposed that rely on nonce-misuse resistance property in TLS cipher suites and QUIC which achieves full security with maximum performance achieved in encrypting the data using pseudo random permutation (PRP) used in block cipher and pseudo random function (PRF) in IV encryption. The GCM_SIV method provides full nonce misuse resistance using the 96-bit nonce value and key derivation method using different (key, nonce) pair. Due to birthday bound attack in GCM_SIV on number of queries, the cipher text could be distinguished after crossing 248 queries. Solving the problems of GCM_SIV, number of different variations was formulized from GCM_SIV as GCM_SIV1, GCM_SIV2 and GCM_SIVr [20]. This achieves a better birthday bound security from 2n/2 to 2n called beyond birthday bound security (BBB) [12].
In GCM_SIV encryption method, 231 different messages are encrypted that achieves the NIST standard of IV collision in 2-32 complexity. So the birthday bound security of GCM_SIV is 232 with the message length of 216.But limited number of messages encrypted is a major problem for QUIC and TLS for handling the large amount of data [23, 24]. So a new standard of NRMR-AE scheme named AES_GCM_SIV [8] is formulized which achieves better security and better performance when encrypting more number of messages with repeated nonces.
With the incidence of the security challenges, the following objectives were contributed.
Verifying and proving security bounds of GCM_SIV, GCM_SIV+ and AES_GCM_SIV.
Based on the nonce based authentication scheme, the AES_GCM_SIV achieves better performance against modern TLS Cipher Suites and QUIC web servers.
Finally, the proposed work results in increasing the message length in blocks during the repetition of nonce with maximized performance and better security as per NIST standards.
Literature survey
Mennink et al. proposed [1] optimal PRFs from Block cipher designs. This paper applies pseudorandom permutation function on GCM, GCM_SIV and AES. This paper also suggests the performance and security improvement of message encryption on various cipher suites is increased. Shoni Gilboa et al. [7] proposes truncated permutation from random function. This paper gives the solution of applying random permutation from a random function on block cipher and their advantages. Ashur et al. [21] proposes boosting authentication encryption robustness with minimal modification. This paper ensures the performance Authentication encryption (AE) algorithms like AES_GCM and CHACHA20_POLY1305. This paper also attains higher performance when using AES_NI instructions set and lower performance without AES_NI instruction set.
Antonie Joux [13] proposes Authentication failures in AE algorithms like NIST version of GCM. This paper analyses and proposes the security violence of GCM under the chosen cipher text attack (CCA). Bock et al. [9] proposes various practical forgery attacks on GCM in TLS. This paper focuses the security violence of AES_GCM that is used most modern cipher suites and QUIC server [21]. This paper also identifies the authenticity problem over 70,000 HTTPS connections. Gueron et al. [5] proposed full nonce misuse-resistant authentication encryption at one cycle per byte. This paper achieves the optimized performance and security using AES_NI and PCLMULQDQ operations with the help of GCM_SIV authentication encryption. But the GCM_SIV authentication encryption method falls the birthday bound security at 247. Gueron [8] proposed Nonce based key derivation on Authentication encryption block cipher modes. This paper analysis chosen plaintext attack, Authentication Encryption, nonce-misuse resistance properties block cipher modes. This paper also increases the performance in hardware using key-derivation function.
The existing works of Authentication encryption algorithms gives the solution of proper nonce usefulness on various TLS cipher suites and various servers. It also discusses the performance of nonce based authentication encryption algorithms that are used in TLS and QUIC. But the existing works does not clearly define the nonce repetition procedure and nonce resistance property on various TLS communications and QUIC based web servers. The existing works also degrades the NIST security level on Authentication encryption algorithms when using repeating nonces. The previous AES_GCM AE algorithm can encrypt only 232 messages using random nonces. But TLS and QUIC need to encrypt more messages with random nonces. But it also fails once the nonce is repeated two different messages. So the proposed work clearly depicts the nonce repetition and nonce misuse resistance property on modern TLS cipher suites and QUIC based web servers when using Authentication encryption algorithms.
This paper also suggests AES_GCM_SIV authentication encryption algorithm attains the maximum security level when repetition on nonces used and satisfy the NIST security bound with maximum nonce repetition and maximum message encryption on modern TLS cipher suites and QUIC based web servers.
Preliminaries
General notations
For set of all finite bit strings and the length of bit strings being n > 0, take 0, 1 n, 0, 1* and 0, 1 +. For, |X| initialize as the length of bit string X and the total length is |X|n = [|X|/n] denoted by number of blocks. The bit string 0n represents 0
n
∈ {0, 1}
n
and n denotes number of 0’s or number of 1’s. For any message M∈{0,1}* and an integer l, msb
l
(M) denotes most significant l bits of M and lsb
l
(M) denotes the least significant l bits of M. The message is split into l blocks which is formulated as (M[i]..........M[j])← M, where M[i]..........M[j] specifies different bit strings that denotes the total message length. For a finite set X,
Nonce-based authentication encryption
A nonce based authentication encryption with associated data scheme ∏ performs two different operations, one is encryption algorithm Πe and decryption algorithm Π d using set of K Π ∈ {0, 1} *. We Formulate the nAE Π = (K Π , Πe, Πd). In nAE scheme the encryption algorithm consists of key space (K), nonce space(N), associated data space(A) and message space(M) as inputs and produces the cipher text C belongs to {0,1}n and authentication tag T belongs to {0,1} τ with constant τ. The decryption algorithm takes K, N, A, C and T as input and produces the valid plain text or special symbol ⊥. The general notation of nAE [14, 15] given by Equation (1) and (2) is,
The general security definition of nonce based authentication encryption that provides better security against adversary is modified using nonce misuse resistance authentication encryption like
Based on the above Equation (3) modified security definition, the adversary A does not repeat the same query after getting cipher text from a previous encryption query.
An IV based encryption scheme Π performs an encryption algorithm Π e and decryption algorithm Π d with set of keys Ke belongs to 0, 1n. From this IV encryption is formulated as Π = Π e , Π d and notation of IV based encryption and decryption [14, 15] given by Equation (4) and (5) is,
The advantage of adversary A in IV based encryption is defined as Equation (6) is,
Based on the security definition given in Equation (6), the adversary computes Π e (M) as C ←Π e (K, M, IV) and $(M) selects random IV and computes C ←Π e (K, M, IV) that returns C or T which in other case returns IV |C| random bits.
Synthetic IV (SIV)
The SIV [5, 8] performs an encryption using a block cipher mode of operation. The encryption function of SIV takes inputs such as key (K), plaintext (P) and multiple variable length headers or Zero headers. The main advantage of SIV should authenticate the multiple headers without encrypting when transmitting bulks of data.
The SIV achieves Deterministic authentication encryption (DAE) and nonce based misuse authentication encryption. The SIV works in the method of Encrypt-and-MAC principle that was extracted from the scheme A4. The security of A4 scheme combines the IV based encryption and Vector MAC that achieves the nonce Authentication Encryption (nAE) which gives the nonce-reuse resistance. The security of A4 scheme is explained in the Theorem 1 and is verified using IV of PRF and Tag verification of PRF against adversary attacks
The ivE scheme denotes the function ɛ: K×{0,1}s×M →{0,1}*. Consider integers 1 ≤ η, τ ≤ r and let F: L×Xiv → {0,1}r be a vector MAC from which Fiv: L×Xiv →{0,1} η and Ftag: L×Xtag →{0,1} τ Ftag are derived. So the resulting nAE scheme denoted as ɛ= A [ɛ, FIV, Ftag] includes block box reductions. Thus as a compromise of IVE security of ɛ, the PRF security FIV and the PRF security of Ftag, the adversary could break the nAE security in SIV is specified in Equation (7).
GCM-SIV [5] is a nonce based authentication encryption scheme that achieves full security using the components of GHASH and CTR. The GCM-SIV performs the encryption function using input Nonce (N), Authentication Data (A) and Message (M) and produces the cipher text with authentication using GHASH and CTR functions. The GCM_SIV encryption algorithm is detailed in Table 1.
GCM_SIV encryption algorithm
GCM_SIV encryption algorithm
Figure 1 depicts the GCM_SIV encryptin algorithm using the master keys of K1 and K2.

GCM_SIV Encryption.
So the security of GCM-SIV [26] includes a PRF function of CTR and GHASH function that achieves the nonce authentication encryption Equation (8).
The AES-GCM-SIV [6, 8] is one of the most important AEAD schemes which achieve better security and better performance in the use of nonce repetition compared to other GCM-SIV methods. The AES-GCM-SIV is an AEAD cipher which combines the GCM-SIV constructions. This combined construction differs from two important functions from GCM-SIV that includes POLYVAL hash function instead of GHASH and varied key derivation function. The main construction of AES-GCM-SIV consists of GCM-SIV+ and key derivation based on nonce and master key.
Figure 2 explains the AES_GCM_SIV encryption and decryption algorithm using the nonce and secret key values. The algorithm explains the GCTR and GHash functions.

AES_GCM_SIV Encryption.
The implementation of AES_GCM_SIV encryption algorithm is summarized in Table 2 involving key generation and PolyVal creation.
AES_GCM_SIV Encryption Algorithm
The AES_GCM_SIV mode of operation is a nonce misuse resistant authenticated encryption scheme. Considering for all Q, R, qD, L, K
Where t(A I )≤Q.6.t(A) and q f (A I ) ≤ Q . (2R + 2q D + L/128)
In the implementation phase we have verified the security bounds of AES_GCM, GCM_SIV and AES_GCM_SIV authentication encryption algorithms while using different nonces and maximum nonce repletion. This phase also verifies the NIST security bound on all the above authentication encryption algorithms.
Verification and proving security bounds
The security bounds of GCM-SIV (Two key methods) analysis is based on number of encryptions made by an adversary within the NIST time bound of 2-32. The Equation (8) of GCM-SIV describes the adversary against GCM-SIV who performs the encryption/ decryption queries and takes twice the advantage of any adversary performing block cipher (AES) outputs with differentiated random function and the number of encryption queries as NE2/2n - k - 2. In GCM-SIV the standard message length is 232-1 blocks, so the value of encryption queries NE is defined NE2/294. Based on the above encryption queries, the security bound is fixed to 247. After encrypting 247 messages there is a collision in the 95th-bit of pseudo random value T used in CTR block encryption. So the result of CTR encryption in GCM-SIV provides the same stream of messages. Based on the security problems of GCM-SIV encryption of messages, the number of encryptions can be minimized the NIST standard of IV collision that does not exceed 2-32 can be followed. So the number of message encryptions is restricted to 231 that is formulated from (231)2/294 = 2-32. Suppose if the encryption limit is increased, then the secret key for achieving the better security in GCM-SIV must be changed. But the standard of large servers encrypting short messages at very high frequency using GCM-SIV method are not suitable for achieving the security.
Hence, a new standard of nonce reuse misuse resistance scheme AES-GCM-SIV which combines the existing GCM-SIV components has been adopted in this paper. This differs in the function of key derivation and full randomness of counter block (127-bit) used in counter encryption. In addition to the above modifications in AES-GCM-SIV, universal hash function for generation of the tag is performed. The AES-GCM-SIV using POLYVAL hash function that is similar to GHASH used in GCM-SIV avoids byte swapping in POLYVAL and increase better performance. In AES-GCM-SIV the security bounds are constructed by key derivation and counter mode encryption.
The key derivation functions provides the better security bounds against the adversary and truncating the output blocks of a pseudorandom permutation which is used in AES block cipher that derive keys from nonce and master key. The key derivation function produces the output of 64 bits key with the input of each 128-bit. So the key derivation of 128-bit key needs 2 AES operations and 256-bit key needs 4 AES operations. So the advantage of key derivation is to reduce the distinguishing probabilities of a block cipher from a pseudo random function or pseudo random permutation.
The following Equation (10) gives distinguishable truncation of the keys from randomly chosen permutation from a random function
The derived key advantage of adversary A makes
Based on the derived key advantage 264 different key pairs can be derived without affecting birthday bound Q ap; 264 for distinguishing AES from pseudorandom function, because the distinguishing advantage is only
The AES-GCM-SIV is a nonce-reuse misuse resistance authentication encryption and the adversary A against the NRMR-AE security of AES-GCM-SIV is described as in Equation (12),
Based on the above Equation (12), the existing adversary A||| against PRF of block cipher AES perform Q(2R + 2qD + L/128) and existing adversary A|| against PRP of 6Q oracle queries. On verifying the security bounds, the AES-GCM-SIV contains both PRP and PRF functions. But performing PRF on block cipher is not good computation for providing better security in nonce-misuse resistance authentication schemes. In the above equation the key derivation is used to derive keys for each nonce using a uniformly random function Π| in AES-GCM-SIV. So the difference between
Based on the above equation Q different nonces and Q different key derivation is used by the adversary. So Q Different keys for different queries is used and the security bound in GCM-SIV+ is achieved as in Equation (14)
Here Q act as a hybrid argument of multiuser setting in GCM-SIV+ security bound and Equation (15) shows the security bound of GCM-SIV+,
Based on the hybrid argument of multiuser setting, the encryption and decryption queries used in derived keys from different nonce are different. Hence the decryption queries are different, the hybrid argument of Q is changed to Q + qD because the value of Q = 0 when there is no encryption. Thus the adversary simply forge future cipher texts and it also affects the key derivation of the term min 36Q2/2129, 6Q/296 in GCM-SIV+.
Based on the notable problems the security bound of AES-GCM-SIV is modified and provides a better security bound against adversary A using nonce-misuse resistance authentication method. So the newly constructed security bound of AES-GCM-SIV is as in Equation (16),
Though the block cipher works better in PRP the second integral part of the above equation specifies the block cipher AES in PRF rather in PRP. So the PRF advantage of security bound in above equation should be replaced by PRP-advantage using PRP-PRF switching lemma [2] is made as in Equation (17),
Based on PRP-PRF switching lemma the final security bound of AES-GCM-SIV is given in Equation (18),
So the finalizing equation of nonce reuse/misuse resistance authentication encryption achieved in AES-GCM-SIV is specified in Equation (19),
Based on the nonce-misuse resistance properly achieved in AES_GCM_SIV, it can use more than 232 random nonces compared to AES_GCM and GCM_SIV authentication encryption schemes. So the new scheme AES_GCM_SIV encrypts maximum number of messages with suitable nonce repetition bounds will be useful for modern TLS cipher suites and QUIC based web servers.
The comparison of security bounds in varied AES-GCM-SIV evolved is based on the number of messages encrypted per nonce (Q), nonce repetition (R) and message length 2m. Based on the Equations (19) and (12), the security bounds of AES-GCM-SIV are verified against the maximum number of message encryptions and maximum number of nonce repetition within the NIST bound 2-32. The comparison of security bounds is detailed and justified in Table 3.
Security bounds comparison
Security bounds comparison
Table 3 analyses the maximum message encryptions with considering the values of Q, R, and K and satisfying the bound 2-32. For considering the better security bounds the values beyond 2-32 (red colored) will results in active adversary attacks. So the above table gives better security bounds, considering the values of number of different nonces(Q), maximum nonce repetition (R) and message length for encrypting bulk data (K). This table also gives the detailed analysis of number of nonces and nonce repetition that can be used to achieve the maximum message length blocks of a message.
The message length also depends on the nonces and nonce repetition where the message length decreases when number on nonces and nonce repetition are higher.So the number of nonces and nonce repetition can be restricted when achieving the better message length in TLS cipher suites and QUIC.
Based on the above analysis the number of encrypted messages with maximum nonce repetition using AES-GCM-SIV scheme is higher when compared to existing AES-GCM and GCM_SIV that results in achieving better security and performance. So the newly constructed AEAD scheme which is best suitable for modern TLS cipher suites and QUIC for encrypting more messages with maximum message length without changing the secret key. According to the birthday bound security analysis the new AES-GCM-SIV achieves the 264 derivations that maximize the security bounds to a greater extent.
Figures 3 and 4 shows that as expected in the message transmission rate, the number of bytes is increasing for the various schemes when using nonce repetition of 215. Then the AES_GCM_SIV proves better message transmission rate and secure the NIST bound 2-33 and 2-31.

Nonce Repetition bounds.
The proposed scheme AES_GCM_SIV depicted in Figs. 3 and 4 shows maximum achieved message transmission rate in TLC and QUIC on varied message length(say 283 and 267) respectively.
In Fig. 5 display the results of maximum message length in blocks. The new AES_GCM_SIV scheme applies various nonce repetition(R) 210, 26 and 23 with different number of nonces(Q). The comparison also achieves the better NIST security bounds against adversary is 2-32.

Nonce Repetition Bounds.

Message Length Performance.
Figures 6 and 7 shows that the results of encryption upon different message length. The scheme AES_GCM_SIV results that on applying different Q and R values with constant message length 210 and 216.

Message encryption.

Message Encryption.
Figure 8 explains the performance in varying the message lengths along the x axis and nonce repetition along y axis. The figure insights that if the message length is increased there is a gradual drop in number of messages during maximum nonce repetition. Owing to the drop in message count, the proposed work defends the security of 2-32 which proves to be a better security.

Message Length Performance.
Figures 9 and 10 describes the performance of encryption and decryption. The performance was measured with constant message length 210 and 216 and varying different Q and R which satisfies the NIST security bound greater than 2-32. The performance was justified in computing with the capacity of Intel ® Core TM i7-7660 4 GHz and 8GB RAM.

Encryption and Decryption Performance.

Encryption and Decryption Performance.
This paper makes proper investigation on nonce misuse problem in TLS cipher suites and QUIC based web servers when performing number of maximum number of message encryption and nonce repetition. The nonce misuse problem is avoided by adopting nonce reuse/misuse resistance authentication schemes like GCM_SIV and AES_GCM_SIV. Based on the better security bounds derived in this paper, the AES_GCM_SIV is concluded to be the best scheme for achieving better security bounds performing large messages in TLS cipher suites and QUIC based web servers which also meets the NIST security bound 2-32. So the modern TLS cipher suites and QUIC using AES_GCM_SIV scheme will achieve better bounds even on repeating nonces in their message communication. But some schemes like AES_GCM and CHACHA20-POLY1305 also provides better bounds using unique nonce for different message encryption. The NRMR-AE scheme also increases the message encryption up to 250 when minimizing the number of nonces used and nonce repetition in AES_GCM_SIV.
