File tree 7 files changed +13
-26
lines changed
embedded/md/tcllib/files/modules/sha1
www/tcllib/files/modules/sha1 7 files changed +13
-26
lines changed Original file line number Diff line number Diff line change 2
2
[ //000000001 ] : # ( sha256 \- SHA\- x Message\- Digest Algorithm )
3
3
[ //000000002 ] : # ( Generated from file 'sha256\. man' by tcllib/doctools with format 'markdown' )
4
4
[ //000000003 ] : # ( Copyright © ; 2008, Andreas Kupries <andreas\_ kupries@users\. sourceforge\. net> )
5
- [ //000000004 ] : # ( sha256\( n\) 1\. 0\. 5 tcllib "SHA\- x Message\- Digest Algorithm" )
5
+ [ //000000004 ] : # ( sha256\( n\) 1\. 0\. 6 tcllib "SHA\- x Message\- Digest Algorithm" )
6
6
7
7
<hr > [ <a href =" ../../../../toc.md " >Main Table Of Contents</a > | ; <a
8
8
href="../../../toc.md">Table Of Contents</a > | ; <a
@@ -44,7 +44,7 @@ sha256 \- SHA256 Message\-Digest Algorithm
44
44
# <a name =' synopsis ' ></a >SYNOPSIS
45
45
46
46
package require Tcl 8\. 5 9
47
- package require sha256 ?1\. 0\. 5 ?
47
+ package require sha256 ?1\. 0\. 6 ?
48
48
49
49
[ __ ::sha2::sha256__ ?__ \- hex| ; \- bin__ ? \[ __ \- channel channel__ | ; __ \- file filename__ | ; ?__ \-\- __ ? * string* \] ] ( #1 )
50
50
[ __ ::sha2::sha224__ ?__ \- hex| ; \- bin__ ? \[ __ \- channel channel__ | ; __ \- file filename__ | ; ?__ \-\- __ ? * string* \] ] ( #2 )
Original file line number Diff line number Diff line change 2
2
'\" Generated from file 'sha256\&.man' by tcllib/doctools with format 'nroff'
3
3
'\" Copyright (c) 2008, Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
4
4
'\"
5
- .TH "sha256" n 1\& .0\& .5 tcllib "SHA-x Message-Digest Algorithm"
5
+ .TH "sha256" n 1\& .0\& .6 tcllib "SHA-x Message-Digest Algorithm"
6
6
.\" The -*- nroff -*- definitions below are for supplemental macros used
7
7
.\" in Tcl/Tk manual entries.
8
8
.\"
@@ -276,7 +276,7 @@ sha256 \- SHA256 Message-Digest Algorithm
276
276
.SH SYNOPSIS
277
277
package require \fB Tcl 8 \& .5 9 \fR
278
278
.sp
279
- package require \fB sha256 ?1 \& .0 \& .5 ? \fR
279
+ package require \fB sha256 ?1 \& .0 \& .6 ? \fR
280
280
.sp
281
281
\fB ::sha2::sha256 \fR ?\fB -hex|-bin \fR ? [ \fB -channel channel \fR | \fB -file filename \fR | ?\fB -- \fR ? \fI string \fR ]
282
282
.sp
Original file line number Diff line number Diff line change 109
109
| < a href ="../../../../toc2.html "> Applications</ a >
110
110
] < hr >
111
111
< div class ="doctools ">
112
- < h1 class ="doctools_title "> sha256(n) 1.0.5 tcllib "SHA-x Message-Digest Algorithm"</ h1 >
112
+ < h1 class ="doctools_title "> sha256(n) 1.0.6 tcllib "SHA-x Message-Digest Algorithm"</ h1 >
113
113
< div id ="name " class ="doctools_section "> < h2 > < a name ="name "> Name</ a > </ h2 >
114
114
< p > sha256 - SHA256 Message-Digest Algorithm</ p >
115
115
</ div >
@@ -133,7 +133,7 @@ <h1 class="doctools_title">sha256(n) 1.0.5 tcllib "SHA-x Message-Digest Alg
133
133
< div class ="doctools_synopsis ">
134
134
< ul class ="doctools_requirements ">
135
135
< li > package require < b class ="pkgname "> Tcl 8.5 9</ b > </ li >
136
- < li > package require < b class ="pkgname "> sha256 < span class ="opt "> ?1.0.5 ?</ span > </ b > </ li >
136
+ < li > package require < b class ="pkgname "> sha256 < span class ="opt "> ?1.0.6 ?</ span > </ b > </ li >
137
137
</ ul >
138
138
< ul class ="doctools_syntax ">
139
139
< li > < a href ="#1 "> < b class ="cmd "> ::sha2::sha256</ b > < span class ="opt "> ?< b class ="option "> -hex|-bin</ b > ?</ span > [ < b class ="option "> -channel channel</ b > | < b class ="option "> -file filename</ b > | < span class ="opt "> ?< b class ="option "> --</ b > ?</ span > < i class ="arg "> string</ i > ]</ a > </ li >
Original file line number Diff line number Diff line change 1
- # Tcl package index file, version 1.1
2
- # This file is generated by the "pkg_mkIndex" command
3
- # and sourced either when an application starts up or
4
- # by a "package unknown" script. It invokes the
5
- # "package ifneeded" command to set up package-related
6
- # information so that packages will be loaded automatically
7
- # in response to "package require" commands. When this
8
- # script is sourced, the variable $dir must contain the
9
- # full path name of this file's directory.
10
-
11
1
if {![package vsatisfies [package provide Tcl] 8.5 9]} {return }
12
- package ifneeded sha256 1.0.5 [list source [file join $dir sha256.tcl]]
2
+ package ifneeded sha256 1.0.6 [list source [file join $dir sha256.tcl]]
13
3
package ifneeded sha256c 1.0.5 [list source [file join $dir sha256c.tcl]]
14
- package ifneeded sha1 2.0.5 [list source [file join $dir sha1.tcl]]
15
- package ifneeded sha1 1.1.2 [list source [file join $dir sha1v1.tcl]]
4
+ package ifneeded sha1 2.0.5 [list source [file join $dir sha1.tcl]]
5
+ package ifneeded sha1 1.1.2 [list source [file join $dir sha1v1.tcl]]
Original file line number Diff line number Diff line change 1
- [vset VERSION 1.0.5 ]
1
+ [vset VERSION 1.0.6 ]
2
2
[manpage_begin sha256 n [vset VERSION]]
3
3
[see_also md4]
4
4
[see_also md5]
Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ proc ::sha2::LoadAccelerator {name} {
83
83
set r 1
84
84
}
85
85
critcl {
86
- if {![catch {package require tcllibc}]
87
- || ![catch {package require sha256c }]} {
86
+ if {![catch {package require sha256c}] ||
87
+ ![catch {package require tcllibc }]} {
88
88
set r [expr {[info commands ::sha2::sha256c_update] != {}}]
89
89
}
90
90
}
@@ -824,7 +824,7 @@ namespace eval ::sha2 {
824
824
unset e
825
825
}
826
826
827
- package provide sha256 1.0.5
827
+ package provide sha256 1.0.6
828
828
829
829
# -------------------------------------------------------------------------
830
830
# Local Variables:
Original file line number Diff line number Diff line change 4
4
# (Rewriting the sha1c wrapper to 256).
5
5
#
6
6
# Wrapper for the Secure Hashing Algorithm (SHA256)
7
- #
8
- # $Id: sha256c.tcl,v 1.5 2009/05/07 00:35:10 patthoyts Exp $
9
7
10
8
package require critcl; # needs critcl
11
9
# @sak notprovided sha256c
@@ -179,7 +177,6 @@ critcl::api header sha256.h
179
177
::critcl::api function void SHA256Init {
180
178
SHA256Context *sc
181
179
}
182
-
183
180
::critcl::api function void SHA256Update {
184
181
SHA256Context *sc
185
182
{const void} *data
You can’t perform that action at this time.
0 commit comments