Name Date Size #Lines LOC

..--

amd64/H--606465

i386/H--1,4151,156

sun4u/H--7,5186,977

READMEH A D28-Feb-20091.6 KiB4436

bignum.hH A D12-Sep-20107.4 KiB223154

bignumimpl.cH A D16-May-201166.5 KiB3,1992,539

mont_mulf.cH A D28-Feb-20097.9 KiB334245

README

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# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
22# Use is subject to license terms.
23#
24
25A note on the file mont_mulf.c.
26
27It is used as a starting point for the following hand optimized assembly files:
28
29- usr/src/common/bignum/sun4u/mont_mulf_v8plus.s
30 This file is used in the 32-bit pkcs11_softtoken library.
31
32- usr/src/common/bignum/sun4u/mont_mulf_v9.s
33 This file is used in the 64-bit pkcs11_softtoken library.
34
35- usr/src/common/bignum/sun4u/mont_mulf_kernel_v9.s
36 This file is used in the kernel RSA module.
37
38We keep the .c file around for future reference.
39
40See file bignumimpl.c for information about these preprocessor symbols:
41	USE_FLOATING_POINT, PSR_MUL, HWCAP, UMUL64
42UMUL64 is set in bignum.h based on architecture.
43The other symbols are set in Makefiles, as appropriate.
44