summaryrefslogtreecommitdiff
path: root/usr/src/lib/pkcs11
diff options
context:
space:
mode:
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>2013-07-29 16:16:59 -0400
committerRichard Lowe <richlowe@richlowe.net>2013-07-29 16:18:07 -0400
commit694c35faa87b858ecdadfe4fc592615f4eefbb07 (patch)
tree2a78abdba3549d11ff88460d03ff67ce152ae59c /usr/src/lib/pkcs11
parent36f7455d36b60be70d7aae5959fa19e71954678e (diff)
downloadillumos-joyent-694c35faa87b858ecdadfe4fc592615f4eefbb07.tar.gz
3882 Remove xmod & friends
Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/lib/pkcs11')
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken/common/Makefile47
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken/common/softRSA.c8
2 files changed, 0 insertions, 55 deletions
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken/common/Makefile b/usr/src/lib/pkcs11/pkcs11_softtoken/common/Makefile
deleted file mode 100644
index fefdc1f893..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken/common/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (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
-# or http://www.opensolaris.org/os/licensing.
-# 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
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/pkcs11/pkcs11_softtoken/common/Makefile
-#
-# include global definitions
-include $(SRC)/Makefile.master
-
-.KEEP_STATE:
-
-FRC:
-
-# EXPORT DELETE START
-EXPORT_SRC:
- $(RM) Makefile+ softRSA.c+
- sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
- < softRSA.c > softRSA.c+
- $(MV) softRSA.c+ softRSA.c
- sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
- < Makefile > Makefile+
- $(RM) Makefile
- $(MV) Makefile+ Makefile
- $(CHMOD) 444 Makefile softRSA.c
-# EXPORT DELETE END
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken/common/softRSA.c b/usr/src/lib/pkcs11/pkcs11_softtoken/common/softRSA.c
index a919b32d0e..a3976f7832 100644
--- a/usr/src/lib/pkcs11/pkcs11_softtoken/common/softRSA.c
+++ b/usr/src/lib/pkcs11/pkcs11_softtoken/common/softRSA.c
@@ -45,8 +45,6 @@ soft_rsa_encrypt(soft_object_t *key, CK_BYTE_PTR in, uint32_t in_len,
CK_RV rv = CKR_OK;
-/* EXPORT DELETE START */
-
uchar_t expo[MAX_KEY_ATTR_BUFLEN];
uchar_t modulus[MAX_KEY_ATTR_BUFLEN];
uint32_t expo_len = sizeof (expo);
@@ -82,8 +80,6 @@ soft_rsa_encrypt(soft_object_t *key, CK_BYTE_PTR in, uint32_t in_len,
clean1:
-/* EXPORT DELETE END */
-
return (rv);
}
@@ -95,8 +91,6 @@ soft_rsa_decrypt(soft_object_t *key, CK_BYTE_PTR in, uint32_t in_len,
CK_RV rv = CKR_OK;
-/* EXPORT DELETE START */
-
uchar_t modulus[MAX_KEY_ATTR_BUFLEN];
uchar_t prime1[MAX_KEY_ATTR_BUFLEN];
uchar_t prime2[MAX_KEY_ATTR_BUFLEN];
@@ -184,8 +178,6 @@ soft_rsa_decrypt(soft_object_t *key, CK_BYTE_PTR in, uint32_t in_len,
clean1:
-/* EXPORT DELETE END */
-
return (rv);
}