**NOTE:** Reverted back the dependency of ip_net components like diameter and eap from IPCRYPTO to IPSSL. Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/61 Reviewed-by: Subham Gangdeb <subham.gangdeb@neominds.in> Co-authored-by: siddhant <siddhant.singh@neominds.in> Co-committed-by: siddhant <siddhant.singh@neominds.in>
336 lines
12 KiB
Mathematica
336 lines
12 KiB
Mathematica
/*
|
|
* Copyright (c) 2007, 2014-2019, 2021-2024 Wind River Systems, Inc.
|
|
*
|
|
* The right to copy, distribute, modify or otherwise make use
|
|
* of this software may be licensed only pursuant to the terms
|
|
* of an applicable Wind River license agreement.
|
|
*/
|
|
|
|
Folder FOLDER_CRYPTO
|
|
{
|
|
NAME CRYPTO Components
|
|
SYNOPSIS CRYPTO Components
|
|
DEFAULTS INCLUDE_IPCRYPTO
|
|
}
|
|
|
|
Folder FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
{
|
|
NAME Openssl Commands
|
|
_CHILDREN FOLDER_CRYPTO
|
|
SYNOPSIS Crypto Commands
|
|
}
|
|
|
|
Component INCLUDE_IPCRYPTO
|
|
{
|
|
NAME CRYPTO
|
|
SYNOPSIS Crypto Library
|
|
_CHILDREN FOLDER_CRYPTO
|
|
CONFIGLETTES ipcrypto_config.c
|
|
INIT_RTN ipcrypto_init();
|
|
_INIT_ORDER usrToolsInit
|
|
CFG_PARAMS OPENSSL_CONF \
|
|
OPENSSL_HOME
|
|
MODULES ipcrypto_aescmac.o \
|
|
ipcrypto_aeskeywrap.o \
|
|
ipcrypto.o \
|
|
ipcrypto_crc32.o \
|
|
ipcrypto_bubble_babble.o \
|
|
ipcrypto_cmd_cmp.o
|
|
}
|
|
|
|
Component INCLUDE_VERIFY_CMD
|
|
{
|
|
NAME OpenSSL verify shell command
|
|
SYNOPSIS This component includes the OpenSSL verify shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_ASN1PARSE_CMD
|
|
{
|
|
NAME OpenSSL asn1parse shell command
|
|
SYNOPSIS This component includes the OpenSSL asn1parse shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_REQ_CMD
|
|
{
|
|
NAME OpenSSL req shell command
|
|
SYNOPSIS This component includes the OpenSSL req shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_DGST_CMD
|
|
{
|
|
NAME OpenSSL dgst shell command
|
|
SYNOPSIS This component includes the OpenSSL dgst shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_DHPARAM_CMD
|
|
{
|
|
NAME OpenSSL dhparam shell command
|
|
SYNOPSIS This component includes the OpenSSL dhparam shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_ENC_CMD
|
|
{
|
|
NAME OpenSSL enc shell command
|
|
SYNOPSIS This component includes the OpenSSL enc shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_PASSWD_CMD
|
|
{
|
|
NAME OpenSSL passwd shell command
|
|
SYNOPSIS This component includes the OpenSSL passwd shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_CA_CMD
|
|
{
|
|
NAME OpenSSL ca shell command
|
|
SYNOPSIS This component includes the OpenSSL ca shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_CRL_CMD
|
|
{
|
|
NAME OpenSSL crl shell command
|
|
SYNOPSIS This component includes the OpenSSL crl shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_RSA_CMD
|
|
{
|
|
NAME OpenSSL rsa shell command
|
|
SYNOPSIS This component includes the OpenSSL rsa shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_RSAUTL_CMD
|
|
{
|
|
NAME OpenSSL rsautl shell command
|
|
SYNOPSIS This component includes the OpenSSL rsautl shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_GENRSA_CMD
|
|
{
|
|
NAME OpenSSL genrsa shell command
|
|
SYNOPSIS This component includes the OpenSSL genrsa shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_DSA_CMD
|
|
{
|
|
NAME OpenSSL dsa shell command
|
|
SYNOPSIS This component includes the OpenSSL dsa shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_DSAPARAM_CMD
|
|
{
|
|
NAME OpenSSL dsaparam shell command
|
|
SYNOPSIS This component includes the OpenSSL dsaparam shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_GENDSA_CMD
|
|
{
|
|
NAME OpenSSL gendsa shell command
|
|
SYNOPSIS This component includes the OpenSSL gendsa shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_X509_CMD
|
|
{
|
|
NAME OpenSSL x509 shell command
|
|
SYNOPSIS This component includes the OpenSSL x509 shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_SPEED_CMD
|
|
{
|
|
NAME OpenSSL speed shell command
|
|
SYNOPSIS This component includes the OpenSSL speed shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD INCLUDE_POSIX_TIMERS
|
|
}
|
|
|
|
Component INCLUDE_PKCS7_CMD
|
|
{
|
|
NAME OpenSSL pkcs7 shell command
|
|
SYNOPSIS This component includes the OpenSSL pkcs7 shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_CRL2PKCS7_CMD
|
|
{
|
|
NAME OpenSSL crl2p7 shell command
|
|
SYNOPSIS This component includes the OpenSSL crl2p7 shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_NSEQ_CMD
|
|
{
|
|
NAME OpenSSL nseq shell command
|
|
SYNOPSIS This component includes the OpenSSL nseq shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_PKCS12_CMD
|
|
{
|
|
NAME OpenSSL pkcs12 shell command
|
|
SYNOPSIS This component includes the OpenSSL pkcs12 shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_PKCS8_CMD
|
|
{
|
|
NAME OpenSSL pkcs8 shell command
|
|
SYNOPSIS This component includes the OpenSSL pkcs8 shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_SPKAC_CMD
|
|
{
|
|
NAME OpenSSL spkac shell command
|
|
SYNOPSIS This component includes the OpenSSL spkac shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_SMIME_CMD
|
|
{
|
|
NAME OpenSSL smime shell command
|
|
SYNOPSIS This component includes the OpenSSL smime shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_RAND_CMD
|
|
{
|
|
NAME OpenSSL rand shell command
|
|
SYNOPSIS This component includes the OpenSSL rand shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_VERSION_CMD
|
|
{
|
|
NAME OpenSSL ipcrypto_ver shell command
|
|
SYNOPSIS This component includes the OpenSSL ipcrypto_ver shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_ENGINE_CMD
|
|
{
|
|
NAME OpenSSL engine shell command
|
|
SYNOPSIS This component includes the OpenSSL engine shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_OCSP_CMD
|
|
{
|
|
NAME OpenSSL ocsp shell command
|
|
SYNOPSIS This component includes the OpenSSL ocsp shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_ECPARAM_CMD
|
|
{
|
|
NAME OpenSSL ecparam shell command
|
|
SYNOPSIS This component includes the OpenSSL ecparam shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_EC_CMD
|
|
{
|
|
NAME OpenSSL ec shell command
|
|
SYNOPSIS This component includes the OpenSSL ec shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_GENPKEY_CMD
|
|
{
|
|
NAME OpenSSL genpkey shell command
|
|
SYNOPSIS This component includes the OpenSSL genpkey shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_PKEY_CMD
|
|
{
|
|
NAME OpenSSL pkey shell command
|
|
SYNOPSIS This component includes the OpenSSL pkey shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_PKEYPARAM_CMD
|
|
{
|
|
NAME OpenSSL pkeyparam shell command
|
|
SYNOPSIS This component includes the OpenSSL pkeyparam shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_PKEYUTL_CMD
|
|
{
|
|
NAME OpenSSL pkeyutl shell command
|
|
SYNOPSIS This component includes the OpenSSL pkeyutl shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Component INCLUDE_STOREUTL_CMD
|
|
{
|
|
NAME OpenSSL storeutl shell command
|
|
SYNOPSIS This component includes the OpenSSL storeutl shell command.
|
|
_CHILDREN FOLDER_OPENSSL_3_5_0_USE_CMDS
|
|
REQUIRES INCLUDE_IPCRYPTO INCLUDE_IPCOM_SHELL_CMD
|
|
}
|
|
|
|
Parameter OPENSSL_CONF
|
|
{
|
|
NAME OPENSSL_CONF
|
|
SYNOPSIS OpenSSL configuration files
|
|
TYPE string
|
|
DEFAULT IPCOM_FILE_ROOT "openssl/openssl.cnf"
|
|
}
|
|
|
|
Parameter OPENSSL_HOME
|
|
{
|
|
NAME OPENSSL_HOME
|
|
SYNOPSIS OpenSSL Home Directory
|
|
TYPE string
|
|
DEFAULT IPCOM_FILE_ROOT "openssl"
|
|
}
|