1 1.1 christos /* 2 1.1 christos * The Initial Developer of the Original Code is International 3 1.1 christos * Business Machines Corporation. Portions created by IBM 4 1.1 christos * Corporation are Copyright (C) 2005, 2006 International Business 5 1.1 christos * Machines Corporation. All Rights Reserved. 6 1.1 christos * 7 1.1 christos * This program is free software; you can redistribute it and/or modify 8 1.1 christos * it under the terms of the Common Public License as published by 9 1.1 christos * IBM Corporation; either version 1 of the License, or (at your option) 10 1.1 christos * any later version. 11 1.1 christos * 12 1.1 christos * This program is distributed in the hope that it will be useful, 13 1.1 christos * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 1.1 christos * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 1.1 christos * Common Public License for more details. 16 1.1 christos * 17 1.1 christos * You should have received a copy of the Common Public License 18 1.1 christos * along with this program; if not, a copy can be viewed at 19 1.1 christos * http://www.opensource.org/licenses/cpl1.0.php. 20 1.1 christos */ 21 1.1 christos 22 1.1 christos #ifndef __TPM_SEAL_H 23 1.1 christos #define __TPM_SEAL_H 24 1.1 christos 25 1.1 christos #define TPMSEAL_HDR_STRING "-----BEGIN TSS-----\n" 26 1.1 christos #define TPMSEAL_FTR_STRING "-----END TSS-----\n" 27 1.1 christos #define TPMSEAL_TSS_STRING "-----TSS KEY-----\n" 28 1.1 christos #define TPMSEAL_EVP_STRING "-----ENC KEY-----\n" 29 1.1 christos #define TPMSEAL_ENC_STRING "-----ENC DAT-----\n" 30 1.1 christos 31 1.1 christos #define TPMSEAL_KEYTYPE_SYM "Symmetric Key: " 32 1.1 christos #define TPMSEAL_CIPHER_AES256CBC "AES-256-CBC\n" 33 1.1 christos 34 1.1 christos #define TPMSEAL_SECRET "password" 35 1.1 christos #define TPMSEAL_IV "IBM SEALIBM SEAL" 36 1.1 christos #endif 37