Factor out code for explicit IV length, block size and MAC length.
authorjsing <jsing@openbsd.org>
Tue, 19 Jan 2021 18:34:02 +0000 (18:34 +0000)
committerjsing <jsing@openbsd.org>
Tue, 19 Jan 2021 18:34:02 +0000 (18:34 +0000)
commit1c1840fbfd773bb2c96289691280aa64fec20908
tree3ed45d756e1f53218633ac55676d4e6c65a2a226
parent058f65ce38a9ccca343a525b6fe4dd10e755c2bf
Factor out code for explicit IV length, block size and MAC length.

Pull this code up into the record protection struct, which means we only
need the length checks in one place. This code will soon be used for
additional purposes.

ok inoguchi@ tb@
lib/libssl/tls12_record_layer.c