#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
### Core definitions for each crypto component included in this library
# AES
# Blowfish
BLOWFISH_FLAGS = -I$(BLOWFISH_DIR)
# ARCFour
ARCFOUR_FLAGS = -I$(ARCFOUR_DIR)
# DES
# BIGNUM -- needed by DH, DSA, RSA
BIGNUM_FLAGS = -I$(BIGNUM_DIR)
# Modes
MODES_FLAGS = -I$(MODES_DIR)
# DH
# DSA
# ECC
# MPI -- needed by ECC
# RSA
# PADDING -- needed by RSA
# libsoftcrypto common (ucrypto api)
# FIPS-140 changes
### All the objects
# Bring in platform-specific objects if any
### All the sources
# Bring in platform-specific objects if any
FIPS_SRC = $(FIPS_COMMON_SRC)
### Make it so that consumer Makefiles just need to include this file.
### All the commonly shared flags
# ECC and MPI currently do not lint, do not include them in lint targets
$(UCRYPTO_SRC) $(FIPS_SRC)
# Common source and header directories and flags shared by entire module
# The following objects are unused. Refer to comments in Makefile.master.
# Clear -xspace/$SPACEFLAG due to SS12 compiler loop-unrolling bug that
# results in loss of performance on 32-bit x86. Overriding the compiler
# option here clears it for x86 platform-specific capabilities also.
ASFLAGS += $(AS_PICFLAGS) -P
LINTFLAGS += $(EXTRA_LINT_FLAGS)
LINTFLAGS64 += $(EXTRA_LINT_FLAGS)
#
# Add FIPS-140 Checksum
#
POST_PROCESS_SO += ; $(FIPS140_CHECKSUM)