⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sec2descriptors.h

📁 freescale ppc sec2加解密单元驱动
💻 H
字号:
/**************************************************************************** * Sec2Descriptors.h - Descriptor construction definitions for the SEC2.x *                     security processing core family **************************************************************************** * Copyright (c) Certicom Corp. 1996-2000.  All rights reserved * Copyright (c) 2003, 2004 Motorola Inc., Freescale Semiconductor * Copyright (c) 2005 Freescale Semiconductor * All Rights Reserved. Proprietary and Confidential. * * NOTICE: The information contained in this file is proprietary * to Freescale Semiconductor. and is being made available to * Freescale's customers under strict license agreements. * Use or disclosure of this information is permissible only * under the terms of the existing license agreement. ***************************************************************************//* * Revision History: * 1.0 Aug 24,2003 dgs - adapted from the final version of mpc18x *     May 24,2003 sec - update types for ECC operations *     Aug 23,2003 sec - add TLS support *     Nov 22,2004 sec - merge in Linux changes *     Jan 17,2004 sec - change header for outbound CCMP requests * 1.2 Jan 27,2005 sec - delete and typedef some obsolete names, remove *                       nonpad IPSec types *//* * Header constants for AESA_CRYPT_REQ / DPD_AESA_CRYPT_GROUP * Note that CCM and SRT modes are not handled by this request type, * they are deployed in the SRTP and CCMP request types. * Basic AES ECB, CBC, and counter mode are handled here. */#ifndef _SEC2DESCRIPTORS_H_#define _SEC2DESCRIPTORS_H_extern const unsigned long AesaDesc[1*NUM_AESA_CRYPT_DESC];/* * Header constants for RNG_REQ / DPD_RNG_GROUP */ extern const unsigned long sec2_RngDesc[1*NUM_RNGA_DESC];/* * Header constants for DES_CBC_CRYPT_REQ / DPD_DES_CBC_GROUP */ const unsigned long DesCbcReq[1 * NUM_DES_CBC_DESC];/* * Header constants for DES_CRYPT_REQ / DPD_DES_ECB_GROUP */extern const unsigned long DesReq[1*NUM_DES_DESC];/* * Header constants for * ARC4_LOADCTX_CRYPT_REQ / DPD_RC4_LDCTX_CRYPT_ULCTX_GROUP */ extern const unsigned long sec2_Rc4LoadCtxUnloadCtxReq[1*NUM_RC4_LOADCTX_UNLOADCTX_DESC];/* * Header constants for * ARC4_LOADKEY_CRYPT_UNLOADCTX_REQ / DPD_RC4_LDKEY_CRYPT_ULCTX_GROUP */extern const unsigned long sec2_Rc4LoadKeyUnloadCtxReq[1*NUM_RC4_LOADKEY_UNLOADCTX_DESC];/* * Header constants for HASH_REQ / DPD_HASH_LDCTX_HASH_ULCTX_GROUP */extern const unsigned long sec2_MdhaReq[1*NUM_MDHA_DESC];/* * Header constants for HASH_REQ / DPD_HASH_LDCTX_HASH_PAD_ULCTX_GROUP */extern const unsigned long sec2_MdhaPadReq[1*NUM_MDHA_PAD_DESC];/* * Header constants for HMAC_PAD_REQ / DPD_HASH_LDCTX_HMAC_ULCTX_GROUP *//* NOTE: The MD4 Descriptors are no longer supported */extern const unsigned long HmacPadReq[1*NUM_HMAC_PAD_DESC];/* * Header constants for MOD_EXP_REQ  DPD_MM_LDCTX_EXP_ULCTX_GROUP */extern const unsigned long sec2_PkhaMmExpReq[1*NUM_MM_EXP_DESC];/* * Header constants for MOD_SS_EXP_REQ / DPD_MM_SS_RSA_EXP */extern const unsigned long sec2_PkhaMmSsExpReq[1*NUM_MM_SS_EXP_DESC];/* * Header constants for MOD_R2MODN_REQ / DPD_MM_LDCTX_R2MODN_ULCTX_GROUP */extern const unsigned long PkhaModR2modnReq[1 * NUM_MOD_R2MODN_DESC];    /* * Header constants for MOD_RRMODP_REQ / DPD_MM_LDCTX_RRMODP_ULCTX_GROUP */extern const unsigned long sec2_PkhaMmRrmodpReq[1*NUM_MM_RRMODP_DESC];/* * Header constants for MOD_2OP_REQ / DPD_MM_LDCTX_2OP_ULCTX_GROUP */extern const unsigned long PkhaMod2OpReq[1 * NUM_MOD_2OP_DESC];/* * Header constants for ECC_POINT_REQ / DPD_EC_LDCTX_kP_ULCTX_GROUP * These descriptors use the "packed" format */extern const unsigned long PkhaEccPointReq[1*NUM_EC_POINT_DESC];/* * Header constants for ECC_2OP_REQ / DPD_EC_2OP_GROUP */extern const unsigned long sec2_PkhaEcc2OpReq[1*NUM_EC_2OP_DESC];/* * Header constants for ECC_SPKBUILD_REQ / DPD_EC_SPKBUILD_GROUP */extern const unsigned long PkhaEccSpkbuildReq[1*NUM_EC_SPKBUILD_DESC];/* * Header constants for ECC_PTADD_DBL */ extern const unsigned long PkhaEccPtaddDblReq[1 * NUM_EC_PTADD_DBL_DESC];/* * Header constants for IPSEC_CBC_REQ / DPD_IPSEC_CBC_GROUP */extern const unsigned long IpsecCbcReq[1*NUM_IPSEC_CBC_DESC];/* * Header constants for IPSEC_ECB_REQ / DPD_IPSEC_ECB_GROUP */extern const unsigned long IpsecEcbReq[1*NUM_IPSEC_ECB_DESC];/* * Header constants for IPSEC_AES_CBC_REQ / DPD_IPSEC_AES_CBC_GROUP */ extern const unsigned long IpsecAesCbcReq[1*NUM_IPSEC_AES_CBC_DESC];/* * Header constants for IPSEC_AES_ECB_REQ / DPD_IPSEC_AES_ECB_GROUP */extern const unsigned long IpsecAesEcbReq[1*NUM_IPSEC_AES_ECB_DESC];/* * Header constants for IPSEC_ESP_REQ / DPD_IPSEC_ESP_GROUP */extern const unsigned long IpsecEspReq[1*NUM_IPSEC_ESP_DESC];/* * Header constants for CCMP_REQ / DPD_CCMP_GROUP */ extern const unsigned long CcmpReq[1*NUM_CCMP_DESC];/* * Header constants for SRTP_REQ / DPD_SRTP_GROUP */ extern const unsigned long SrtpReq[1*NUM_SRTP_DESC];/* * Header constants for KEA_CRYPT_REQ / DPD_KEA_CRYPT_GROUP */ extern const unsigned long KeaReq[1 * NUM_KEA_CRYPT_DESC];/* * Header constants for TLS_BLOCK_INBOUND_REQ / DPD_TLS_BLOCK_INBOUND_GROUP */extern const unsigned long TlsBlockInboundReq[1 * NUM_TLS_BLOCK_INBOUND_DESC];    /* * Header constants for TLS_BLOCK_OUTBOUND_REQ / DPD_TLS_BLOCK_OUTBOUND_GROUP */extern const unsigned long TlsBlockOutboundReq[1 * NUM_TLS_BLOCK_OUTBOUND_DESC];/* * Header constants for TLS_STREAM_INBOUND_REQ / DPD_TLS_STREAM_INBOUND_GROUP */extern const unsigned long TlsStreamInboundReq[1 * NUM_TLS_STREAM_INBOUND_DESC];/* * Header constants for TLS_STREAM_OUTBOUND_REQ / DPD_TLS_STREAM_OUTBOUND_GROUP */extern const unsigned long TlsStreamOutboundReq[1 * NUM_TLS_STREAM_OUTBOUND_DESC];#endif /*_SEC2DESCRIPTORS_H_*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -