[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

determining the initialization vector in CBC mode



Hi,


RFC2409 states:

     In phase 1, material for the initialization vector (IV material)
for
     CBC mode encryption algorithms is derived from a hash of a
     concatenation of the initiator's public Diffie-Hellman value and
the
     responder's public Diffie-Hellman value using the negotiated hash
     algorithm. This is used for the first message only.

Do I assume SKEYID_e is the key for the hash alforithmi.e.

    IV  = prf(SKEYID_e, g^xi | g^xr)

Any input would be appreciated.

Thanks,

Peadar Harmon