original files of m241
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
/* 01iphwcrypto.cdf - IPHWCRYPTO configuration file */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2006-2007 Wind River Systems, Inc.
|
||||
*
|
||||
* The right to copy, distribute or otherwise make use of this software
|
||||
* may be licensed only pursuant to the terms of an applicable Wind River
|
||||
* license agreement. No license to Wind River intellectual property rights
|
||||
* is granted herein. All rights not licensed by Wind River are reserved
|
||||
* by Wind River.
|
||||
*/
|
||||
|
||||
/*
|
||||
modification history
|
||||
--------------------
|
||||
01a,02jul07,mcarlste Added file contents
|
||||
*/
|
||||
|
||||
#ifdef _WRS_CONFIG_COMPONENT_IPHWCRYPTO
|
||||
Component INCLUDE_IPHWCRYPTO
|
||||
{
|
||||
NAME Hardware crypto support
|
||||
_CHILDREN FOLDER_CRYPTO
|
||||
SYNOPSIS Provides an API for hardware offload crypto hooks
|
||||
CONFIGLETTES iphwcrypto_config.c
|
||||
MODULES iphwcrypto.o
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,12 @@
|
||||
# Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: common.vxconfig,v $ $Revision: 1.4 $
|
||||
# $Source: /home/interpeak/CVSRoot/iphwcrypto/config/common.vxconfig,v $
|
||||
# $Author: myakan $
|
||||
# $State: Exp $ $Locker: $
|
||||
#
|
||||
# INTERPEAK_COPYRIGHT_STRING
|
||||
|
||||
#hidden option that enables IPHWCRYPTO
|
||||
config SUPPORTS_HWCRYPTO
|
||||
bool
|
||||
default y
|
||||
|
||||
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
******************************************************************************
|
||||
* INTERPEAK CONFIGURATION SOURCE FILE
|
||||
*
|
||||
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: iphwcrypto_config.c,v $ $Revision: 1.6 $
|
||||
* $Source: /home/interpeak/CVSRoot/iphwcrypto/config/iphwcrypto_config.c,v $
|
||||
* $Author: markus $
|
||||
* $State: Exp $ $Locker: $
|
||||
*
|
||||
* INTERPEAK_COPYRIGHT_STRING
|
||||
* Design and implementation by Markus Carlstedt <markus@interpeak.se>
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 1 DESCRIPTION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 2 INCLUDE FILES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#include "iphwcrypto_config.h"
|
||||
|
||||
#include <ipcom_type.h>
|
||||
#include <ipcom_cstyle.h>
|
||||
#include <ipcom_err.h>
|
||||
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 3 DEFINES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 4 TYPES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 5 EXTERN PROTOTYPES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 6 LOCAL PROTOTYPES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
IP_PUBLIC Ip_err iphwcrypto_configure(void);
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 7 DATA
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 8 STATIC FUNCTIONS
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 9 GLOBAL FUNCTIONS
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 10 PUBLIC FUNCTIONS
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
*===========================================================================
|
||||
* iphwcrypto_configure
|
||||
*===========================================================================
|
||||
* Description: Product configure hook. Called by IPCOM at startup.
|
||||
* Parameters: none.
|
||||
* Returns: IPCOM_SUCCESS = ok
|
||||
* IPCOM_ERR_FAILED = error
|
||||
*
|
||||
*/
|
||||
IP_PUBLIC Ip_err
|
||||
iphwcrypto_configure(void)
|
||||
{
|
||||
return IPCOM_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* END OF FILE
|
||||
****************************************************************************
|
||||
*/
|
||||
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
******************************************************************************
|
||||
* INTERPEAK CONFIGURATION HEADER FILE
|
||||
*
|
||||
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: iphwcrypto_config.h,v $ $Revision: 1.7 $
|
||||
* $Source: /home/interpeak/CVSRoot/iphwcrypto/config/iphwcrypto_config.h,v $
|
||||
* $Author: markus $ $Date: 2007-05-30 16:18:00 $
|
||||
* $State: Exp $ $Locker: $
|
||||
*
|
||||
* INTERPEAK_COPYRIGHT_STRING
|
||||
* Design and implementation by Markus Carlstedt <markus@interpeak.se>
|
||||
******************************************************************************
|
||||
*/
|
||||
#ifndef IPHWCRYPTO_CONFIG_H
|
||||
#define IPHWCRYPTO_CONFIG_H
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 1 DESCRIPTION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 2 INCLUDE FILES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 3 DEFINES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
*===========================================================================
|
||||
* IPHWCRYPTO_REVERT_FAILURES_TO_SOFTWARE
|
||||
*===========================================================================
|
||||
* Define this macro to revert failed hardware operations to software.
|
||||
*
|
||||
*/
|
||||
#define IPHWCRYPTO_REVERT_FAILURES_TO_SOFTWARE
|
||||
|
||||
|
||||
/*
|
||||
*===========================================================================
|
||||
* IPHWCRYPTO_CREATE_EVP_TEST_FILE
|
||||
*===========================================================================
|
||||
* Define this macro to create a test file for the IPCRYPTO evp_test utility.
|
||||
*
|
||||
*/
|
||||
#define IPHWCRYPTO_CREATE_EVP_TEST_FILE
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 4 TYPES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 5 FUNCTIONS
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* END OF FILE
|
||||
****************************************************************************
|
||||
*/
|
||||
Reference in New Issue
Block a user