]> Pileus Git - ~andy/linux/blobdiff - drivers/crypto/caam/desc.h
crypto: caam - add PDB (Protocol Descriptor Block) definitions
[~andy/linux] / drivers / crypto / caam / desc.h
index a17c2958dab1eed5c2cd3d7a5a715085ce39f398..af25e76c5f7c1de4794f51b79e824169bc6db373 100644 (file)
 #define NFIFOENTRY_PLEN_SHIFT  0
 #define NFIFOENTRY_PLEN_MASK   (0xFF << NFIFOENTRY_PLEN_SHIFT)
 
-/*
- * PDB internal definitions
- */
-
-/* IPSec ESP CBC Encap/Decap Options */
-#define PDBOPTS_ESPCBC_ARSNONE 0x00    /* no antireplay window */
-#define PDBOPTS_ESPCBC_ARS32   0x40    /* 32-entry antireplay window */
-#define PDBOPTS_ESPCBC_ARS64   0xc0    /* 64-entry antireplay window */
-#define PDBOPTS_ESPCBC_IVSRC   0x20    /* IV comes from internal random gen */
-#define PDBOPTS_ESPCBC_ESN     0x10    /* extended sequence included */
-#define PDBOPTS_ESPCBC_OUTFMT  0x08    /* output only decapsulation (decap) */
-#define PDBOPTS_ESPCBC_IPHDRSRC 0x08   /* IP header comes from PDB (encap) */
-#define PDBOPTS_ESPCBC_INCIPHDR 0x04   /* Prepend IP header to output frame */
-#define PDBOPTS_ESPCBC_IPVSN   0x02    /* process IPv6 header */
-#define PDBOPTS_ESPCBC_TUNNEL  0x01    /* tunnel mode next-header byte */
-
 #endif /* DESC_H */