Overview
| Artifact ID: | 1f72c33e57d15e81e88fcec67219a53aa206a3eb |
|---|---|
| Ticket: | 2986723fffffffffffffffffffffffffffffffff
issue with tcllib sha256 on 64bit systems |
| User & Date: | zdia on 2010-04-13 20:21:51 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
Having compiled Tcltk on a 64bit system I could not open databases which were encrypted with the sha256 algorithm. Before I used only 32bit versions of ActiveState binaries. Debugging the sha256.tcl file I found the reason: In line 303-308 there was one expression which was not ANDed by 0xffffffff. The patched line looks now like: for {set t 16} {$t < 64} {incr t} { lappend W [expr {([sigma1 [lindex $W [incr t2]]] \ + [lindex $W [incr t7]] \ + [sigma0 [lindex $W [incr t15]]] \ + [lindex $W [incr t16]]) & 0xffffffff}] } Now everything works fine. Zbigniew Diaczyszyn - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "zdia"
- subsystem changed to: "55. Other Tools"
- title changed to: "issue with tcllib sha256 on 64bit systems"
- type changed to: "Patch"