diff options
Diffstat (limited to 'drivers/staging/sep54/dx_cc_defs.h')
-rw-r--r-- | drivers/staging/sep54/dx_cc_defs.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/drivers/staging/sep54/dx_cc_defs.h b/drivers/staging/sep54/dx_cc_defs.h new file mode 100644 index 00000000000..0bdd38d81d8 --- /dev/null +++ b/drivers/staging/sep54/dx_cc_defs.h @@ -0,0 +1,42 @@ +/******************************************************************* +* (c) Copyright 2011-2012 Discretix Technologies Ltd. * +* This software is protected by copyright, international * +* treaties and patents, and distributed under multiple licenses. * +* Any use of this Software as part of the Discretix CryptoCell or * +* Packet Engine products requires a commercial license. * +* Copies of this Software that are distributed with the Discretix * +* CryptoCell or Packet Engine product drivers, may be used in * +* accordance with a commercial license, or at the user's option, * +* used and redistributed under the terms and conditions of the GNU * +* General Public License ("GPL") version 2, as published by the * +* Free Software Foundation. * +* This program is distributed in the hope that it will be useful, * +* but WITHOUT ANY LIABILITY AND WARRANTY; without even the implied * +* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * +* See the GNU General Public License version 2 for more details. * +* You should have received a copy of the GNU General Public * +* License version 2 along with this Software; if not, please write * +* to the Free Software Foundation, Inc., 59 Temple Place - Suite * +* 330, Boston, MA 02111-1307, USA. * +* Any copy or reproduction of this Software, as permitted under * +* the GNU General Public License version 2, must include this * +* Copyright Notice as well as any other notices provided under * +* the said license. * +********************************************************************/ + +#ifndef _DX_CC_DEFS_H_ +#define _DX_CC_DEFS_H + +#define DX_INT32_MAX 0x7FFFFFFFL + +enum dx_crypto_key_type { + DX_USER_KEY = 0, + DX_ROOT_KEY = 1, + DX_PROVISIONING_KEY = 2, + DX_XOR_HDCP_KEY = 3, + DX_APPLET_KEY = 4, + DX_SESSION_KEY = 5, + DX_END_OF_KEYS = DX_INT32_MAX +}; + +#endif |