Darren J Moffat wrote: > Roland Mainz wrote: > > Darren: > > 1. Are the changes Ok for you ? If "yes" I'll post a diff for the ARC > > case+manpages... > > Yes that is fine.
Ok... ... I've attached the diff as "PSARC_2008_094_sum_uses_libmd.diff.txt" and commited the change to my master copies in the Subversion tree at http://svn.genunix.org/repos/on/branches/ksh93/gisburn/arc/ksh93_amendments2/onepager.txt and http://svn.genunix.org/repos/on/branches/ksh93/gisburn/arc/ksh93_amendments2/manpage_diff.txt Are there any other issues left ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) -------------- next part -------------- Index: onepager.txt =================================================================== --- onepager.txt (revision 947) +++ onepager.txt (working copy) @@ -1,4 +1,5 @@ -I'm sponsoring this fast-track request on behalf of XXX. +I'm sponsoring this fast-track request on behalf of the +ksh93-integration project. Please note that this is an *open* case. The release binding is the same as with the previous ksh93 project: a @@ -398,7 +399,10 @@ An addition to the ksh93 test suite will gurantee compatibilty between previous versions of the /usr/bin/sum utillity and the new version. +The "sum" command will use libmd to use Solaris's native&&optimized +versions for ciphers like MD5 and the SHA*-family. + #### Part 6: Add AT&T "shcomp" (shell script compiler) and "shbinexec" kernel module ## Part 6.1: Addition of AT&T "shcomp" (shell script compiler) Index: manpage_diff.txt =================================================================== --- manpage_diff.txt (revision 947) +++ manpage_diff.txt (working copy) # Manpage diff for sum --- sum.1.original.txt Fri Oct 19 03:49:51 2007 -+++ sum.1.new.txt Fri Dec 14 18:55:36 2007 -@@ -9,22 +9,229 @@ ++++ sum.1.new.txt Fri Feb 15 07:27:37 2008 +@@ -9,22 +9,186 @@ sum - print checksum and block count for a file SYNOPSIS @@ -579,117 +579,74 @@ + -w, --warn Warn about invalid --check lines. On by + default; -w means --nowarn. + -x, --method|algorithm=method -+ Specifies the checksum method to apply. -+ Parenthesized method options are readonly -+ implementation details. -+ att|sys5|s5|default -+ The system 5 release 4 checksum. This -+ is the default for sum when getconf -+ UNIVERSE is att. This is the only true -+ sum; all of the other methods are -+ order dependent. -+ ast4|32x4|tw -+ The ast 128 bit PRNG hash generated by -+ catenating 4 separate 32 bit PNRG -+ hashes. The block count is not -+ printed. -+ bsd|ucb -+ The BSD checksum. -+ crc 32 bit CRC (cyclic redundancy check). -+ polynomial=mask -+ The 32 bit crc polynomial -+ bitmask with implicit bit 32. -+ The default value is -+ 0xedb88320. -+ done[=number] -+ XOR the final crc value with -+ number. 0xffffffff is used if -+ number is omitted. The option -+ value may be omitted. The -+ default value is 0. -+ init[=number] -+ The initial crc value. -+ 0xffffffff is used if number -+ is omitted. The option value -+ may be omitted. The default -+ value is 0. -+ rotate -+ XOR each input character with -+ the high order crc byte -+ (instead of the low order). -+ size[=number] -+ Include the total number of -+ bytes in the crc. number, if -+ specified, is first XOR'd into -+ the size. The option value may -+ be omitted. The default value -+ is 0. -+ md5|MD5 -+ The RSA Data Security, Inc. MD5 -+ Message-Digest Method, 1991-2, used -+ with permission. The block count is -+ not printed. -+ (version) -+ md5 (RSA Data Security, Inc. -+ MD5 Message-Digest, 1991-2) -+ 1996-02-29 -+ prng 32 bit PRNG (pseudo random number -+ generator) hash. -+ mpy=number -+ The 32 bit PRNG multiplier. -+ The default value is -+ 0x01000193. -+ add=number -+ The 32 bit PRNG addend. The -+ default value is 0. -+ init[=number] -+ The PRNG initial value. -+ 0xffffffff is used if number -+ is omitted. The option value -+ may be omitted. The default -+ value is 0x811c9dc5. -+ sha1|SHA1|sha-1|SHA-1 -+ FIPS 180-1 SHA-1 secure hash algorithm -+ 1. -+ (version) -+ sha1 (FIPS 180-1) 1996-09-26 -+ (author) -+ Steve Reid <steve at edmweb.com> -+ sha256|sha-256|SHA256|SHA-256 -+ FIPS SHA-256 secure hash algorithm. -+ (version) -+ sha-256 (FIPS) 2000-01-01 -+ (author) -+ Aaron D. Gifford -+ sha384|sha-384|SHA384|SHA-384 -+ FIPS SHA-384 secure hash algorithm. -+ (version) -+ sha-384 (FIPS) 2000-01-01 -+ (author) -+ Aaron D. Gifford -+ sha512|sha-512|SHA512|SHA-512 -+ FIPS SHA-512 secure hash algorithm. -+ (version) -+ sha-512 (FIPS) 2000-01-01 -+ (author) -+ Aaron D. Gifford -+ posix|cksum|std|standard -+ The posix 1003.2-1992 32 bit crc -+ checksum. This is the default cksum(1) -+ method. Shorthand for -+ crc-0x04c11db7-rotate-done-size. -+ zip The zip(1) crc. Shorthand for -+ crc-0xedb88320-init-done. -+ fddi The FDDI crc. Shorthand for -+ crc-0xedb88320-size=0xcc55cc55. -+ fnv|fnv1 -+ The Fowler-Noll-Vo 32 bit PRNG hash -+ with non-zero initializer (FNV-1). -+ Shorthand for -+ prng-0x01000193-init=0x811c9dc5. -+ ast|strsum -+ The ast strsum(3) PRNG hash. Shorthand -+ for prng-0x63c63cd9-add=0x9c39c33d. ++ Specifies the checksum method to apply. Parenthesized method options are readonly implementation ++ details. ++ att|sys5|s5|default ++ The system 5 release 4 checksum. This is the default for sum when getconf UNIVERSE is att. ++ This is the only true sum; all of the other methods are order dependent. ++ ast4|32x4|tw ++ The ast 128 bit PRNG hash generated by catenating 4 separate 32 bit PNRG hashes. The block ++ count is not printed. ++ bsd|ucb ++ The BSD checksum. ++ crc 32 bit CRC (cyclic redundancy check). ++ polynomial=mask ++ The 32 bit crc polynomial bitmask with implicit bit 32. The default value is ++ 0xedb88320. ++ done[=number] ++ XOR the final crc value with number. 0xffffffff is used if number is omitted. The ++ option value may be omitted. The default value is 0. ++ init[=number] ++ The initial crc value. 0xffffffff is used if number is omitted. The option value may ++ be omitted. The default value is 0. ++ rotate ++ XOR each input character with the high order crc byte (instead of the low order). ++ size[=number] ++ Include the total number of bytes in the crc. number, if specified, is first XOR'd ++ into the size. The option value may be omitted. The default value is 0. ++ prng 32 bit PRNG (pseudo random number generator) hash. ++ mpy=number ++ The 32 bit PRNG multiplier. The default value is 0x01000193. ++ add=number ++ The 32 bit PRNG addend. The default value is 0. ++ init[=number] ++ The PRNG initial value. 0xffffffff is used if number is omitted. The option value may ++ be omitted. The default value is 0x811c9dc5. ++ md4|MD4 ++ RFC1320 MD4 message digest. Cryptographically weak. The block count is not printed. ++ (version) ++ md4 (solaris -lmd) 2005-07-26 ++ md5|MD5 ++ RFC1321 MD5 message digest. Cryptographically weak. The block count is not printed. ++ (version) ++ md5 (solaris -lmd) 2005-07-26 ++ sha1|SHA1|sha-1|SHA-1 ++ RFC3174 / FIPS 180-1 SHA-1 secure hash algorithm 1. Cryptographically weak. The block count ++ is not printed. ++ (version) ++ sha1 (solaris -lmd) 2005-07-26 ++ sha256|sha-256|SHA256|SHA-256 ++ FIPS 180-2 SHA256 secure hash algorithm. The block count is not printed. ++ (version) ++ sha256 (solaris -lmd) 2005-07-26 ++ sha384|sha-384|SHA384|SHA-384 ++ FIPS 180-2 SHA384 secure hash algorithm. The block count is not printed. ++ (version) ++ sha384 (solaris -lmd) 2005-07-26 ++ sha512|sha-512|SHA512|SHA-512 ++ FIPS 180-2 SHA512 secure hash algorithm. The block count is not printed. ++ (version) ++ sha512 (solaris -lmd) 2005-07-26 ++ posix|cksum|std|standard ++ The posix 1003.2-1992 32 bit crc checksum. This is the default cksum(1) method. Shorthand for ++ crc-0x04c11db7-rotate-done-size. ++ zip The zip(1) crc. Shorthand for crc-0xedb88320-init-done. ++ fddi The FDDI crc. Shorthand for crc-0xedb88320-size=0xcc55cc55. ++ fnv|fnv1 ++ The Fowler-Noll-Vo 32 bit PRNG hash with non-zero initializer (FNV-1). Shorthand for ++ prng-0x01000193-init=0x811c9dc5. ++ ast|strsum ++ The ast strsum(3) PRNG hash. Shorthand for prng-0x63c63cd9-add=0x9c39c33d. + -L, --logical|follow + Follow symbolic links when traversing + directories. The default is determined by @@ -717,7 +674,7 @@ OPERANDS The following operands are supported: -@@ -32,7 +239,6 @@ +@@ -32,7 +196,6 @@ standard input is used. @@ -725,7 +682,7 @@ USAGE See largefile(5) for the description of the behavior of sum when encountering files greater than or equal to 2 Gbyte ( 2 -@@ -73,14 +279,16 @@ +@@ -73,14 +236,16 @@ ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | @@ -739,12 +696,12 @@ SEE ALSO - cksum(1), sum(1B), wc(1), attributes(5), environ(5), large- - file(5) -+ cksum(1), ksh93(1), sum(1B), wc(1), attributes(5), environ(5), -+ largefile(5) ++ cksum(1), ksh93(1), sum(1B), wc(1), libmd(3lib), attributes(5), ++ environ(5), largefile(5) DIAGNOSTICS "Read error" is indistinguishable from end of file on most -@@ -87,7 +295,9 @@ +@@ -87,7 +252,9 @@ devices; check the block count. NOTES