Skip to content

Commit

Permalink
kernel-pfkey: Enable ENCR_AES_CTR when it's available
Browse files Browse the repository at this point in the history
Obtained-from:	pfSense
Sponsored-by:	Rubicon Communications (Netgate)
Closes #17.
  • Loading branch information
rbgarga authored and tobiasbrunner committed Nov 9, 2015
1 parent 04f22cd commit dff2d05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,9 @@ static kernel_algorithm_t encryption_algs[] = {
/* {ENCR_DES_IV32, 0 }, */
{ENCR_NULL, SADB_EALG_NULL },
{ENCR_AES_CBC, SADB_X_EALG_AESCBC },
/* {ENCR_AES_CTR, SADB_X_EALG_AESCTR }, */
#ifdef SADB_X_EALG_AESCTR
{ENCR_AES_CTR, SADB_X_EALG_AESCTR },
#endif
/* {ENCR_AES_CCM_ICV8, SADB_X_EALG_AES_CCM_ICV8 }, */
/* {ENCR_AES_CCM_ICV12, SADB_X_EALG_AES_CCM_ICV12 }, */
/* {ENCR_AES_CCM_ICV16, SADB_X_EALG_AES_CCM_ICV16 }, */
Expand Down

0 comments on commit dff2d05

Please sign in to comment.