xref: /illumos-gate/usr/src/lib/libmd/common/mapfile-vers (revision 8222814ef8560ee0ba222eca8ca5acffc6cd0e44)
1f808c858Sraf#
2f808c858Sraf# CDDL HEADER START
3f808c858Sraf#
4f808c858Sraf# The contents of this file are subject to the terms of the
5f808c858Sraf# Common Development and Distribution License (the "License").
6f808c858Sraf# You may not use this file except in compliance with the License.
7f808c858Sraf#
8f808c858Sraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9f808c858Sraf# or http://www.opensolaris.org/os/licensing.
10f808c858Sraf# See the License for the specific language governing permissions
11f808c858Sraf# and limitations under the License.
12f808c858Sraf#
13f808c858Sraf# When distributing Covered Code, include this CDDL HEADER in each
14f808c858Sraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15f808c858Sraf# If applicable, add the following below this CDDL HEADER, with the
16f808c858Sraf# fields enclosed by brackets "[]" replaced with your own identifying
17f808c858Sraf# information: Portions Copyright [yyyy] [name of copyright owner]
18f808c858Sraf#
19f808c858Sraf# CDDL HEADER END
20f808c858Sraf#
21f808c858Sraf#
22cd3e9333SAli Bahrami# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
2345818ee1SMatthew Ahrens# Copyright 2013 Saso Kiselkov. All rights reserved.
244282a9f9SRobert Mustacchi# Copyright (c) 2018, Joyent, Inc.
25f808c858Sraf#
26bfed486aSAli Bahrami
27bfed486aSAli Bahrami#
28bfed486aSAli Bahrami# MAPFILE HEADER START
29bfed486aSAli Bahrami#
30bfed486aSAli Bahrami# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
31bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in
32bfed486aSAli Bahrami#
33bfed486aSAli Bahrami#	usr/src/lib/README.mapfiles
34bfed486aSAli Bahrami#
35bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current
36bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance.
37bfed486aSAli Bahrami#
38bfed486aSAli Bahrami# MAPFILE HEADER END
39f808c858Sraf#
40f808c858Sraf
41cd3e9333SAli Bahrami$mapfile_version 2
42cd3e9333SAli Bahrami
43dfb96a4fSab196087# Note:
44dfb96a4fSab196087#
45dfb96a4fSab196087#	SHA256Update, SHA384Update, and SHA512Update are all
46dfb96a4fSab196087#	weak aliases for SHA2Update.
47dfb96a4fSab196087#
48dfb96a4fSab196087#	SHA256Final, SHA384Final, and SHA512Final are all
49dfb96a4fSab196087#	weak aliases for SHA2Final
50dfb96a4fSab196087#
51dfb96a4fSab196087# We use NODYNSORT to keep the weak aliases out of the .SUNW_dymsymsort
52dfb96a4fSab196087# ELF section. As a result, ld will put the two main symbols in.
53dfb96a4fSab196087#
54dfb96a4fSab196087
5545818ee1SMatthew AhrensSYMBOL_VERSION ILLUMOS_0.1 {
5645818ee1SMatthew Ahrens    global:
5745818ee1SMatthew Ahrens	Skein1024_Final;
5845818ee1SMatthew Ahrens	Skein1024_Final_Pad;
5945818ee1SMatthew Ahrens	Skein1024_Init;
6045818ee1SMatthew Ahrens	Skein1024_InitExt;
6145818ee1SMatthew Ahrens	Skein1024_Output;
6245818ee1SMatthew Ahrens	Skein1024_Update;
6345818ee1SMatthew Ahrens	Skein_256_Final;
6445818ee1SMatthew Ahrens	Skein_256_Final_Pad;
6545818ee1SMatthew Ahrens	Skein_256_Init;
6645818ee1SMatthew Ahrens	Skein_256_InitExt;
6745818ee1SMatthew Ahrens	Skein_256_Output;
6845818ee1SMatthew Ahrens	Skein_256_Update;
6945818ee1SMatthew Ahrens	Skein_512_Final;
7045818ee1SMatthew Ahrens	Skein_512_Final_Pad;
7145818ee1SMatthew Ahrens	Skein_512_Init;
7245818ee1SMatthew Ahrens	Skein_512_InitExt;
7345818ee1SMatthew Ahrens	Skein_512_Output;
7445818ee1SMatthew Ahrens	Skein_512_Update;
7545818ee1SMatthew Ahrens	EdonRFinal;
7645818ee1SMatthew Ahrens	EdonRHash;
7745818ee1SMatthew Ahrens	EdonRInit;
7845818ee1SMatthew Ahrens	EdonRUpdate;
7945818ee1SMatthew Ahrens} SUNW_1.1;
80dfb96a4fSab196087
81cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.1 {
82f808c858Sraf    global:
83f808c858Sraf	MD4Final;
84f808c858Sraf	MD4Init;
85f808c858Sraf	MD4Update;
86f808c858Sraf	md5_calc;
87*8222814eSRichard Lowe	MD5Final	{ FLAGS = NODIRECT; };	# Addr interpose from testsuite
88*8222814eSRichard Lowe	MD5Init	{ FLAGS = NODIRECT; };	# Addr interpose from testsuite
89*8222814eSRichard Lowe	MD5Update	{ FLAGS = NODIRECT; };	# Addr interpose from testsuite
90f808c858Sraf	SHA1Final;
91f808c858Sraf	SHA1Init;
92f808c858Sraf	SHA1Update;
93*8222814eSRichard Lowe	SHA256Final	{ FLAGS = NODYNSORT; };
94f808c858Sraf	SHA256Init;
95*8222814eSRichard Lowe	SHA256Update	{ FLAGS = NODYNSORT; };
96f808c858Sraf	SHA2Final;
97f808c858Sraf	SHA2Init;
98f808c858Sraf	SHA2Update;
99*8222814eSRichard Lowe	SHA384Final	{ FLAGS = NODYNSORT; };
100f808c858Sraf	SHA384Init;
101*8222814eSRichard Lowe	SHA384Update	{ FLAGS = NODYNSORT; };
102*8222814eSRichard Lowe	SHA512Final	{ FLAGS = NODYNSORT; };
103f808c858Sraf	SHA512Init;
104*8222814eSRichard Lowe	SHA512Update	{ FLAGS = NODYNSORT; };
1054282a9f9SRobert Mustacchi};
1064282a9f9SRobert Mustacchi
1074282a9f9SRobert MustacchiSYMBOL_VERSION ILLUMOSprivate {
1084282a9f9SRobert Mustacchi    global:
1094282a9f9SRobert Mustacchi$if _ELF64 && _x86
1104282a9f9SRobert Mustacchi	#
1114282a9f9SRobert Mustacchi	# We use hardware capabilities to define multiple versions of
1124282a9f9SRobert Mustacchi	# the block processing functions for some of the SHA functions.
1134282a9f9SRobert Mustacchi	# Unfortunately, that requires these to be global symbols, even
1144282a9f9SRobert Mustacchi	# though we don't want them to be. As such, they remain in a
1154282a9f9SRobert Mustacchi	# private version and hopefully some day will be removed. These
1164282a9f9SRobert Mustacchi	# symbols are not exposed in any meaningful way in a header file
1174282a9f9SRobert Mustacchi	# so no application should actually end up requiring this
1184282a9f9SRobert Mustacchi	# section.
1194282a9f9SRobert Mustacchi	#
1204282a9f9SRobert Mustacchi	sha1_block_data_order;
1214282a9f9SRobert Mustacchi	SHA256TransformBlocks;
1224282a9f9SRobert Mustacchi$endif
123f808c858Sraf    local:
124f808c858Sraf	*;
125f808c858Sraf};
126