From sacadmin Thu Dec  7 07:28:47 2006
Received: from sac.sfbay.sun.com (localhost [127.0.0.1])
	by sac.sfbay.sun.com (8.13.6+Sun/8.13.6) with ESMTP id kB7FSkW1011194;
	Thu, 7 Dec 2006 07:28:46 -0800 (PST)
Received: (from darrenm@localhost)
	by sac.sfbay.sun.com (8.13.6+Sun/8.13.6/Submit) id kB7FSkYO011190;
	Thu, 7 Dec 2006 07:28:46 -0800 (PST)
Date: Thu, 7 Dec 2006 07:28:46 -0800 (PST)
From: Darren J Moffat <darrenm@sac.sfbay.sun.com>
Message-Id: <200612071528.kB7FSkYO011190@sac.sfbay.sun.com>
To: PSARC@sac.sfbay.sun.com
Cc: crypto-discuss@opensolaris.org, dina.nimeh@sun.com
Subject: libsoftcrypypto [PSARC/2006/684 Timeout:  unknown]
Status: RO
Content-Length: 2871

Subject: PSARC FastTrack: libsoftcrypypto


Template Version: @(#)sac_nextcase %I% %G% SMI

1. Introduction
    1.1. Project/Component Working Name:
	 libsoftcrypypto
    1.2. Name of Document Author/Supplier:
	 Author:  Dina Nimeh
    1.3  Date of This Document:
	07 December, 2006
4. Technical Description

Software implementations of cryptographic algorithms used in the Crypto
Framework (PSARC 2001/488) are currently embedded in pkcs11_softtoken.so.

New platform variants with different hardware capabilities have a
direct impact on improving the performance of the software crypto
algorithms, if these capabilities are leveraged with optimal software
implementations.  One such example is the use of the floating point
unit on sun4u processors to speed integer multiplication ops used in RSA,
this code hurts sun4v.  We already have different software crypto
providers based on platform/cpu capabilities for the kernel.

This case introduces libsoftcrypto.so.1 initially with support for the
following software crypto implementations:  AES, ARCFOUR, BLOWFISH,
DES, and BIGNUM which is the basis for RSA/DSA integer multiplication.
Other implementations may be added in the future after self-review.

Unlike its counter part for digest algorithms (libmd) this library is
Project Private to Crypto Framework.

The library will provide generic implementations of crypto algorithms,
but for specific platforms it provides optimized versions to gain
performance improvements. The library will consolidate the software
implementations of crypto algorithms, centralize the ability to provide
$PLATFORM and $HWCAP specific implementations, and offload that task
from pkcs11_softtoken.so greatly simplifying its purpose.  Splitting
off the software crypto implementations into its own library will
benefit future performance improvements to a variety of platforms,
among them AMD64, Intel, Niagara, and Niagara 2, OPL.

No new #include files or man pages are created.  No changes to #include
files or man pages are needed.

This project intends to integrate after, or concurrently with, PSARC
2006/610 "Data Encryption Kit (SUNWcry) Removal".  There isn't
a hard case dependency and this fix can be backported without 2006/610
but it is recommended that they stay together.

Exported Interfaces
-------------------

SUNWcsl    /usr/lib/libsoftcrypto.so.1        (for sparc and i386)
    /usr/lib/sparcv9/libsoftcrypto.so.1
    /usr/lib/amd64/libsoftcrypto.so.1

SUNWcar.u    /platform/sun4u/lib/libsoftcrypto_psr.so.1
        /platform/sun4u/lib/sparcv9/libsoftcrypto_psr.so.1

SUNWcar.v    /platform/sun4v/lib/libsoftcrypto_psr.so.1
        /platform/sun4v/lib/sparcv9/libsoftcrypto_psr.so.1

Release Binding: patch

6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		ON
    6.5. ARC review type: FastTrack

From sacadmin Thu Dec  7 07:30:39 2006
Received: from sfbaymail2sca.sfbay.sun.com (sfbaymail2sca.SFBay.Sun.COM [129.145.155.42])
	by sac.sfbay.sun.com (8.13.6+Sun/8.13.6) with ESMTP id kB7FUdGT011271;
	Thu, 7 Dec 2006 07:30:39 -0800 (PST)
Received: from gmp-ea-fw-1.sun.com (gmpes-gis-mail-1.UK.Sun.COM [129.156.42.5])
	by sfbaymail2sca.sfbay.sun.com (8.13.6+Sun/8.12.10/ENSMAIL,v2.2) with ESMTP id kB7FUcxO006552;
	Thu, 7 Dec 2006 07:30:38 -0800 (PST)
Received: from d1-emea-10.sun.com (d1-emea-10.sun.com [192.18.2.120])
	by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id kB7FUWag001930;
	Thu, 7 Dec 2006 15:30:32 GMT
Received: from conversion-daemon.d1-emea-10.sun.com by d1-emea-10.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 id <0J9W00B01TLSZD00@d1-emea-10.sun.com>
 (original mail from Darren.Moffat@Sun.COM); Thu,
 07 Dec 2006 15:30:32 +0000 (GMT)
Received: from [192.168.73.101] (nessieroo.force9.co.uk [81.174.224.49])
 by d1-emea-10.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 with ESMTPSA id <0J9W00K1DTQOBL10@d1-emea-10.sun.com>; Thu,
 07 Dec 2006 15:30:32 +0000 (GMT)
Date: Thu, 07 Dec 2006 15:30:23 +0000
From: Darren J Moffat <Darren.Moffat@Sun.COM>
Subject: Re: libsoftcrypypto [PSARC/2006/684 Timeout:  unknown]
In-reply-to: <200612071528.kB7FSkYO011190@sac.sfbay.sun.com>
Sender: Darren.Moffat@Sun.COM
To: Darren J Moffat <darrenm@sac.sfbay.sun.com>
Cc: PSARC@sac.sfbay.sun.com, crypto-discuss@opensolaris.org,
        dina.nimeh@Sun.COM
Message-id: <4578338F.6070302@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
References: <200612071528.kB7FSkYO011190@sac.sfbay.sun.com>
User-Agent: Thunderbird 1.5.0.8 (X11/20061113)
Status: RO
Content-Length: 128

This case is closed-approved-automatic.  sac_nextcase doesn't understand 
how to produce such cases easily.

--
Darren J Moffat

From anthony.scarpino@sun.com Wed Nov  5 11:22:42 2008
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id mA5JMgc6022738
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 5 Nov 2008 11:22:42 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail2sca.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id mA5JMfVJ008682
	for <@sunmail2sca.sfbay.sun.com:psarc-ext@sun.com>; Wed, 5 Nov 2008 11:22:41 -0800 (PST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K9V0020NKHSF500@nwk-avmta-2.sfbay.sun.com> for psarc-ext@sun.com
 (ORCPT psarc-ext@sun.com); Wed, 05 Nov 2008 11:22:40 -0800 (PST)
Received: from usps.eng.sun.com ([10.6.64.36]) by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K9V00KLQKHR3HD0@nwk-avmta-2.sfbay.sun.com> for
 psarc-ext@sun.com (ORCPT psarc-ext@sun.com); Wed,
 05 Nov 2008 11:22:39 -0800 (PST)
Received: from [10.7.251.211] (punchin-izick.SFBay.Sun.COM [10.7.251.211])
	by usps.eng.sun.com (8.13.8+Sun/8.13.8) with ESMTP id mA5JJWUm003965	for
 <psarc-ext@sun.com>; Wed, 05 Nov 2008 11:19:32 -0800 (PST)
Date: Wed, 05 Nov 2008 11:22:34 -0800
From: Anthony Scarpino <anthony.scarpino@sun.com>
Subject: Update to 2006/684 libsoftcrypto
To: psarc-ext@sun.com
Message-id: <4911F27A.3050007@sun.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
User-Agent: Thunderbird 2.0.0.16 (X11/20080825)
Status: RO
Content-Length: 1137


Just an update, and a request, to the previously closed approved 
automatic case, there is a change in the exported interfaces, the new 
list is:

Exported Interfaces
-------------------

SUNWcsl    /usr/lib/libsoftcrypto.so.1        (for sparc and i386)
            /usr/lib/sparcv9/libsoftcrypto.so.1
            /usr/lib/amd64/libsoftcrypto.so.1
            /usr/lib/libsoftcrypto/libsoftcrypto_hwcap1.so.1 (for i386)


SUNWkvm.u
            /usr/platform/sun4u/lib/libsoftcrypto_psr.so.1
            /usr/platform/sun4u/lib/sparcv9/libsoftcrypto_psr.so.1
            [ with symlinks for appropriate sun4u platforms ]

SUNWkvmt200.v
            /usr/platform/sun4v/lib/libsoftcrypto_psr.so.1
            /usr/platform/sun4v/lib/sparcv9/libsoftcrypto_psr.so.1
            [ with symlinks for appropriate sun4v platforms ]


The symlinks for PSR variants for appropriate platforms will be in
/usr/platform/'uname -i'.


Additionally, a request to please update the case to reflect the proper 
name.  It is currently listed as "libsoftcrypypto".  The wrong name 
shows up on the psarc project list page on sac.sfbay and on 'hg pbchk".


