xref: /netbsd-src/crypto/external/cpl/tpm-tools/dist/include/tpm_seal.h (revision 431955c163a358f3111f7be0c1fa1643cab0b701)
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, 2006 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 __TPM_SEAL_H
23 #define __TPM_SEAL_H
24 
25 #define TPMSEAL_HDR_STRING "-----BEGIN TSS-----\n"
26 #define TPMSEAL_FTR_STRING "-----END TSS-----\n"
27 #define TPMSEAL_TSS_STRING "-----TSS KEY-----\n"
28 #define TPMSEAL_EVP_STRING "-----ENC KEY-----\n"
29 #define TPMSEAL_ENC_STRING "-----ENC DAT-----\n"
30 
31 #define TPMSEAL_KEYTYPE_SYM "Symmetric Key: "
32 #define TPMSEAL_CIPHER_AES256CBC "AES-256-CBC\n"
33 
34 #define TPMSEAL_SECRET "password"
35 #define TPMSEAL_IV "IBM SEALIBM SEAL"
36 #endif
37