# 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