0
$\begingroup$

Let's say we choose AES as cryptographic algorithm for IPsec. My question is the following

Is the key produced by Diffie-Hellman algorithm used as INPUT to the AES algorithm so AES does the encryption with it?

$\endgroup$

1 Answer 1

0
$\begingroup$

Is the key produced by Diffie-Hellman algorithm used as INPUT to the AES algorithm so AES does the encryption with it?

Well, it depends on how the keys used by IPsec are generated; the IPsec RFC (RFC 4301) does not specify it, and there are several methods used in practice.

The most common method is with IKE (RFC 7296); that does perform a Diffie-Hellman between the two parties, and the result of that is used (along with other data) to generate the AES keys (through a number of steps).

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.