| Herbert Xu | 5311f24 | 2007-12-17 21:34:32 +0800 | [diff] [blame] | 1 | /* | 
|  | 2 | * CTR: Counter mode | 
|  | 3 | * | 
|  | 4 | * Copyright (c) 2007 Herbert Xu <herbert@gondor.apana.org.au> | 
|  | 5 | * | 
|  | 6 | * This program is free software; you can redistribute it and/or modify it | 
|  | 7 | * under the terms of the GNU General Public License as published by the Free | 
|  | 8 | * Software Foundation; either version 2 of the License, or (at your option) | 
|  | 9 | * any later version. | 
|  | 10 | * | 
|  | 11 | */ | 
|  | 12 |  | 
|  | 13 | #ifndef _CRYPTO_CTR_H | 
|  | 14 | #define _CRYPTO_CTR_H | 
|  | 15 |  | 
|  | 16 | #define CTR_RFC3686_NONCE_SIZE 4 | 
|  | 17 | #define CTR_RFC3686_IV_SIZE 8 | 
|  | 18 | #define CTR_RFC3686_BLOCK_SIZE 16 | 
|  | 19 |  | 
|  | 20 | #endif  /* _CRYPTO_CTR_H */ |