data_protect.h revision 1.1.1.1
1/* 2 * The Initial Developer of the Original Code is International 3 * Business Machines Corporation. Portions created by IBM 4 * Corporation are Copyright (C) 2005 International Business 5 * Machines Corporation. All Rights Reserved. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the Common Public License as published by 9 * IBM Corporation; either version 1 of the License, or (at your option) 10 * any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * Common Public License for more details. 16 * 17 * You should have received a copy of the Common Public License 18 * along with this program; if not, a copy can be viewed at 19 * http://www.opensource.org/licenses/cpl1.0.php. 20 */ 21 22#ifndef __DATA_PROTECT_H 23#define __DATA_PROTECT_H 24 25#define TOKEN_AES_BLOCKSIZE 16 26#define TOKEN_BUFFER_SIZE TOKEN_AES_BLOCKSIZE * 256 27 28#define TOKEN_INPUT_FILE_ERROR _("Error, an input file must be specified\n" ) 29#define TOKEN_OUTPUT_FILE_ERROR _("Error, an output file must be specified\n" ) 30#define TOKEN_NO_KEY_ERROR _("Error, protection key is not available\n") 31 32#endif 33