xref: /illumos-gate/usr/src/lib/libmd/common/mapfile-vers (revision 45818ee124adeaaf947698996b4f4c722afc6d1f)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23# Copyright 2013 Saso Kiselkov. All rights reserved.
24#
25
26#
27# MAPFILE HEADER START
28#
29# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
30# Object versioning must comply with the rules detailed in
31#
32#	usr/src/lib/README.mapfiles
33#
34# You should not be making modifications here until you've read the most current
35# copy of that file. If you need help, contact a gatekeeper for guidance.
36#
37# MAPFILE HEADER END
38#
39
40$mapfile_version 2
41
42# Note:
43#
44#	SHA256Update, SHA384Update, and SHA512Update are all
45#	weak aliases for SHA2Update.
46#
47#	SHA256Final, SHA384Final, and SHA512Final are all
48#	weak aliases for SHA2Final
49#
50# We use NODYNSORT to keep the weak aliases out of the .SUNW_dymsymsort
51# ELF section. As a result, ld will put the two main symbols in.
52#
53
54SYMBOL_VERSION ILLUMOS_0.1 {
55    global:
56	Skein1024_Final;
57	Skein1024_Final_Pad;
58	Skein1024_Init;
59	Skein1024_InitExt;
60	Skein1024_Output;
61	Skein1024_Update;
62	Skein_256_Final;
63	Skein_256_Final_Pad;
64	Skein_256_Init;
65	Skein_256_InitExt;
66	Skein_256_Output;
67	Skein_256_Update;
68	Skein_512_Final;
69	Skein_512_Final_Pad;
70	Skein_512_Init;
71	Skein_512_InitExt;
72	Skein_512_Output;
73	Skein_512_Update;
74	EdonRFinal;
75	EdonRHash;
76	EdonRInit;
77	EdonRUpdate;
78} SUNW_1.1;
79
80SYMBOL_VERSION SUNW_1.1 {
81    global:
82	MD4Final;
83	MD4Init;
84	MD4Update;
85	md5_calc;
86	MD5Final	{ FLAGS = NODIRECT };	# Addr interpose from testsuite
87	MD5Init		{ FLAGS = NODIRECT };	# Addr interpose from testsuite
88	MD5Update	{ FLAGS = NODIRECT };	# Addr interpose from testsuite
89	SHA1Final;
90	SHA1Init;
91	SHA1Update;
92	SHA256Final	{ FLAGS = NODYNSORT };
93	SHA256Init;
94	SHA256Update	{ FLAGS = NODYNSORT };
95	SHA2Final;
96	SHA2Init;
97	SHA2Update;
98	SHA384Final	{ FLAGS = NODYNSORT };
99	SHA384Init;
100	SHA384Update	{ FLAGS = NODYNSORT };
101	SHA512Final	{ FLAGS = NODYNSORT };
102	SHA512Init;
103	SHA512Update	{ FLAGS = NODYNSORT };
104    local:
105	*;
106};
107