adding security misc from Vx7 to 6.9 (original files from vx7) (#5)

Co-authored-by: neelimap <neelimaps@neominds.in>
Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/5
Reviewed-by: Siddhant Singh <siddhant.singh@neominds.in>
Co-authored-by: Neelima P S <neelima.ps@neominds.in>
Co-committed-by: Neelima P S <neelima.ps@neominds.in>
This commit is contained in:
2026-07-30 18:09:00 +05:30
committed by neelimap
co-authored by neelimap
parent 368226261b
commit 122392cfc0
60 changed files with 9586 additions and 0 deletions
@@ -0,0 +1,28 @@
# Makefile - SECURITY_MISC SEC_HASH layer Makefile
#
# Copyright (c) 2019, 2021 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.
#
# Customers wishing an alternate hash code implementation can set the WR_HASH_DISABLE=y
# in a common.vxconfig file in their new layer, this allows the SEC_HASH code to be built
# which provides a VxWorks API for hash algorithms, hmac and pbkdf2. Different implementations
# of the hash algorithms can be plugged in without affecting the user of the APIs.
# Note that no implementation of hash algorithms are included in the SEC_HASH code.
# The WR provided implementations are based on openssl and are placed in the HASH layer.
# A user of the SEC_HASH hash API must therefore either include the HASH layer or
# provide its own set of hash algorithm implementations.
# Provides VxWorks Hash, HMAC, and PBKDF2 APIs
KERNEL_PUBLIC_H_DIRS += h
BUILD_DIRS += src
POST_NOBUILD_CDFDIRS += cdf
POST_NOBUILD_CFGDIRS += cfg
CC_WARNINGS_BUILD_DIRS = CC_WARNINGS_HIGH_SYS
CC_WARNINGS_BUILD_USER_DIRS = CC_WARNINGS_HIGH_SYS
include $(WIND_KRNL_MK)/rules.layers.mk