xref: /illumos-gate/usr/src/lib/pkcs11/libsoftcrypto/common/mapfile-vers (revision 5c277ab3267e7c6f448aefd8628b381dfc90b565)
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	gmac_alloc_ctx;
140	gmac_init_ctx;
141	gmac_mode_final;
142	pkcs1_decode;
143	pkcs1_encode;
144	pkcs7_decode;
145	pkcs7_encode;
146	rsa_decrypt;
147	rsa_encrypt;
148	rsa_genkey_pair;
149	DEFAULT_PUB_EXPO	{
150				  ASSERT = {
151					  TYPE = OBJECT;
152					  SIZE = 3;
153					};
154				};
155	MD5_DER_PREFIX		{
156				  ASSERT = {
157					  TYPE = OBJECT;
158					  SIZE = 18;
159					};
160				};
161	SHA1_DER_PREFIX		{
162				  ASSERT = {
163					  TYPE = OBJECT;
164					  SIZE = 15;
165					};
166				};
167	SHA1_DER_PREFIX_OID	{
168				  ASSERT = {
169					  TYPE = OBJECT;
170					  SIZE = 13;
171					};
172				};
173	SHA256_DER_PREFIX	{
174				  ASSERT = {
175					  TYPE = OBJECT;
176					  SIZE = 19;
177					};
178				};
179	SHA384_DER_PREFIX	{
180				  ASSERT = {
181					  TYPE = OBJECT;
182					  SIZE = 19;
183					};
184				};
185	SHA512_DER_PREFIX	{
186				  ASSERT = {
187					  TYPE = OBJECT;
188					  SIZE = 19;
189					};
190				};
191    local:
192	*;
193};
194