cryptodev.h (123557) | cryptodev.h (125330) |
---|---|
1/* $FreeBSD: head/sys/opencrypto/cryptodev.h 123557 2003-12-15 21:49:41Z bms $ */ | 1/* $FreeBSD: head/sys/opencrypto/cryptodev.h 125330 2004-02-02 17:06:34Z phk $ */ |
2/* $OpenBSD: cryptodev.h,v 1.31 2002/06/11 11:14:29 beck Exp $ */ 3 4/* 5 * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu) 6 * 7 * This code was written by Angelos D. Keromytis in Athens, Greece, in 8 * February 2000. Network Security Technologies Inc. (NSTI) kindly 9 * supported the development of this code. --- 212 unchanged lines hidden (view full) --- 222 int crd_inject; /* Where to inject results, if applicable */ 223 int crd_flags; 224 225#define CRD_F_ENCRYPT 0x01 /* Set when doing encryption */ 226#define CRD_F_IV_PRESENT 0x02 /* When encrypting, IV is already in 227 place, so don't copy. */ 228#define CRD_F_IV_EXPLICIT 0x04 /* IV explicitly provided */ 229#define CRD_F_DSA_SHA_NEEDED 0x08 /* Compute SHA-1 of buffer for DSA */ | 2/* $OpenBSD: cryptodev.h,v 1.31 2002/06/11 11:14:29 beck Exp $ */ 3 4/* 5 * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu) 6 * 7 * This code was written by Angelos D. Keromytis in Athens, Greece, in 8 * February 2000. Network Security Technologies Inc. (NSTI) kindly 9 * supported the development of this code. --- 212 unchanged lines hidden (view full) --- 222 int crd_inject; /* Where to inject results, if applicable */ 223 int crd_flags; 224 225#define CRD_F_ENCRYPT 0x01 /* Set when doing encryption */ 226#define CRD_F_IV_PRESENT 0x02 /* When encrypting, IV is already in 227 place, so don't copy. */ 228#define CRD_F_IV_EXPLICIT 0x04 /* IV explicitly provided */ 229#define CRD_F_DSA_SHA_NEEDED 0x08 /* Compute SHA-1 of buffer for DSA */ |
230#define CRD_F_KEY_EXPLICIT 0x10 /* Key explicitly provided */ |
|
230#define CRD_F_COMP 0x0f /* Set when doing compression */ 231 232 struct cryptoini CRD_INI; /* Initialization/context data */ 233#define crd_iv CRD_INI.cri_iv 234#define crd_key CRD_INI.cri_key 235#define crd_rnd CRD_INI.cri_rnd 236#define crd_alg CRD_INI.cri_alg 237#define crd_klen CRD_INI.cri_klen --- 150 unchanged lines hidden --- | 231#define CRD_F_COMP 0x0f /* Set when doing compression */ 232 233 struct cryptoini CRD_INI; /* Initialization/context data */ 234#define crd_iv CRD_INI.cri_iv 235#define crd_key CRD_INI.cri_key 236#define crd_rnd CRD_INI.cri_rnd 237#define crd_alg CRD_INI.cri_alg 238#define crd_klen CRD_INI.cri_klen --- 150 unchanged lines hidden --- |