Re: SADB_EALG_3DESCBC conflict with RFC2367

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

 



On Mon, 5 May 2003, Herbert Xu wrote:

> RFC 2367 defines the following values for encryption algorithms:
> 
>            /* Encryption algorithms */
>            #define SADB_EALG_NONE          0
>            #define SADB_EALG_DESCBC        2
>            #define SADB_EALG_3DESCBC       3
> 
> The Linux kernel says:
> 
> #define SADB_EALG_NONE                  0
> #define SADB_EALG_DESCBC                1
> #define SADB_EALG_3DESCBC               2
> 

These values may have been used to be compatible with an old kame header.

How did you come across this?  If there is software depending on these 
macros having specific values then it needs to be fixed.



- James
-- 
James Morris
<jmorris@intercode.com.au>



-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux