xref: /illumos-gate/usr/src/lib/pkcs11/libsoftcrypto/common/mapfile-vers (revision 689b9301078f0c35c7f198fcee8032a0d30eff3a)
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#
23# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
24# Copyright 2017 Jason King.
25# Copyright 2019 Joyent, Inc.
26#
27
28#
29# MAPFILE HEADER START
30#
31# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
32# Object versioning must comply with the rules detailed in
33#
34#	usr/src/lib/README.mapfiles
35#
36# You should not be making modifications here until you've read the most current
37# copy of that file. If you need help, contact a gatekeeper for guidance.
38#
39# MAPFILE HEADER END
40#
41
42
43$mapfile_version 2
44
45SYMBOL_VERSION SUNWprivate {
46    global:
47	aes_alloc_keysched;
48	aes_copy_block;
49	aes_copy_block64;
50	aes_decrypt_block;
51	aes_decrypt_contiguous_blocks;
52	aes_encrypt_block;
53	aes_encrypt_contiguous_blocks;
54	aes_init_keysched;
55	aes_xor_block;
56	arcfour_crypt;
57	arcfour_key_init;
58$if _ELF64
59	big_One			{
60				  ASSERT = {
61					  TYPE = OBJECT;
62					  SIZE = 24;
63					};
64				};
65	big_Two			{
66				  ASSERT = {
67					  TYPE = OBJECT;
68					  SIZE = 24;
69					};
70				};
71$elif _ELF32
72	big_One			{
73				  ASSERT = {
74					  TYPE = OBJECT;
75					  SIZE = 20;
76					};
77				};
78	big_Two			{
79				  ASSERT = {
80					  TYPE = OBJECT;
81					  SIZE = 20;
82					};
83				};
84$else
85$error unknown ELFCLASS
86$endif
87	big_Two;
88	big_add;
89	big_bitlength;
90	big_cmp_abs;
91	big_copy;
92	big_div_pos;
93	big_ext_gcd_pos;
94	big_extend;
95	big_finish;
96	big_init1;
97	big_init;
98	big_modexp;
99	big_modexp_crt;
100	big_mul;
101	big_nextprime_pos;
102	big_random;
103	big_sub;
104	big_sub_pos;
105	bignum2bytestring;
106	blowfish_alloc_keysched;
107	blowfish_decrypt_contiguous_blocks;
108	blowfish_encrypt_contiguous_blocks;
109	blowfish_init_keysched;
110	bytestring2bignum;
111	cbc_alloc_ctx;
112	cbc_init_ctx;
113	ccm_alloc_ctx;
114	ccm_decrypt_final;
115	ccm_encrypt_final;
116	ccm_init_ctx;
117	cmac_alloc_ctx;
118	cmac_init_ctx;
119	cmac_mode_final;
120	ctr_alloc_ctx;
121	ctr_init_ctx;
122	des3_crunch_block;
123	des_alloc_keysched;
124	des_crunch_block;
125	des_decrypt_contiguous_blocks;
126	des_encrypt_contiguous_blocks;
127	des_init_keysched;
128	des_keycheck;
129	dh_genkey_pair;
130	dh_key_derive;
131	dsa_genkey_pair;
132	dsa_sign;
133	dsa_verify;
134	ecb_alloc_ctx;
135	gcm_alloc_ctx;
136	gcm_decrypt_final;
137	gcm_encrypt_final;
138	gcm_init_ctx;
139	pkcs1_decode;
140	pkcs1_encode;
141	pkcs7_decode;
142	pkcs7_encode;
143	rsa_decrypt;
144	rsa_encrypt;
145	rsa_genkey_pair;
146	DEFAULT_PUB_EXPO	{
147				  ASSERT = {
148					  TYPE = OBJECT;
149					  SIZE = 3;
150					};
151				};
152	MD5_DER_PREFIX		{
153				  ASSERT = {
154					  TYPE = OBJECT;
155					  SIZE = 18;
156					};
157				};
158	SHA1_DER_PREFIX		{
159				  ASSERT = {
160					  TYPE = OBJECT;
161					  SIZE = 15;
162					};
163				};
164	SHA1_DER_PREFIX_OID	{
165				  ASSERT = {
166					  TYPE = OBJECT;
167					  SIZE = 13;
168					};
169				};
170	SHA256_DER_PREFIX	{
171				  ASSERT = {
172					  TYPE = OBJECT;
173					  SIZE = 19;
174					};
175				};
176	SHA384_DER_PREFIX	{
177				  ASSERT = {
178					  TYPE = OBJECT;
179					  SIZE = 19;
180					};
181				};
182	SHA512_DER_PREFIX	{
183				  ASSERT = {
184					  TYPE = OBJECT;
185					  SIZE = 19;
186					};
187				};
188    local:
189	*;
190};
191