Deleted Added
full compact
cryptodev.h (159230) cryptodev.h (159232)
1/* $FreeBSD: head/sys/opencrypto/cryptodev.h 159230 2006-06-04 14:36:42Z pjd $ */
1/* $FreeBSD: head/sys/opencrypto/cryptodev.h 159232 2006-06-04 14:49:34Z pjd $ */
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.

--- 67 unchanged lines hidden (view full) ---

77/* HMAC values */
78#define NULL_HMAC_BLOCK_LEN 64
79#define MD5_HMAC_BLOCK_LEN 64
80#define SHA1_HMAC_BLOCK_LEN 64
81#define RIPEMD160_HMAC_BLOCK_LEN 64
82#define SHA2_256_HMAC_BLOCK_LEN 64
83#define SHA2_384_HMAC_BLOCK_LEN 128
84#define SHA2_512_HMAC_BLOCK_LEN 128
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.

--- 67 unchanged lines hidden (view full) ---

77/* HMAC values */
78#define NULL_HMAC_BLOCK_LEN 64
79#define MD5_HMAC_BLOCK_LEN 64
80#define SHA1_HMAC_BLOCK_LEN 64
81#define RIPEMD160_HMAC_BLOCK_LEN 64
82#define SHA2_256_HMAC_BLOCK_LEN 64
83#define SHA2_384_HMAC_BLOCK_LEN 128
84#define SHA2_512_HMAC_BLOCK_LEN 128
85#define HMAC_BLOCK_LEN 64
86/* Maximum HMAC block length */
87#define HMAC_MAX_BLOCK_LEN SHA2_512_HMAC_BLOCK_LEN /* Keep this updated */
88#define HMAC_IPAD_VAL 0x36
89#define HMAC_OPAD_VAL 0x5C
90
91/* Encryption algorithm block sizes */
92#define NULL_BLOCK_LEN 4
93#define DES_BLOCK_LEN 8

--- 325 unchanged lines hidden ---
85/* Maximum HMAC block length */
86#define HMAC_MAX_BLOCK_LEN SHA2_512_HMAC_BLOCK_LEN /* Keep this updated */
87#define HMAC_IPAD_VAL 0x36
88#define HMAC_OPAD_VAL 0x5C
89
90/* Encryption algorithm block sizes */
91#define NULL_BLOCK_LEN 4
92#define DES_BLOCK_LEN 8

--- 325 unchanged lines hidden ---