Question: what is prf in ikev2?
Answer: prf(key, msg) is the keyed pseudo-random function-- often a keyed hash function-- used to generate a deterministic output that appears pseudo-random. The IKEv2 RFC defines a PRF as: The PRF is used for the construction of keying material for all of the cryptographic algorithms used in both the IKE SA and the Child SAs.