Say I want to encrypt something using RSA / KEM and an authenticated cipher. I encrypt using the following scheme:
- generate random seed
zusingn - 1bits - wherenis the size of the modulusN - interpret the seed
zas unsigned number and encrypt using the public keye:w = RSA(e, z) - derive a session key and IV using
s = KDF(z, "skey") and iv = KDF(z, "iv") - encrypt the plaintext message
m' using(c, t) = AEAD(s, iv, ad, m), wheretis the authentication tag andadis (additional) authenticated data - output
w | c | t
Would it be advantageous to include the value of w - the encrypted key seed - in the authenticated data ad?