Overview
| Artifact ID: | cd89880e03609f75d27ffa999fc318f0ea9c4743 |
|---|---|
| Ticket: | 2413689fffffffffffffffffffffffffffffffff
Bug in function s_mp_sqr() |
| User & Date: | gcramer on 2008-12-10 11:58:14 |
Changes
- assignee changed to: "kennykb"
- cmimetype changed to: "text/plain"
- comment changed to:
Function s_mp_sqr() has a bug. I have no example, but I developed a multiple precision library by myself, and I had the same bug in my code. In line bn_s_mp_sqr.c:59 "r = ((mp_word) *tmpt) + r + r + ((mp_word) u);" an integer overflow may occur! This leads to wrong results in general. Inside the function "HAC pp.596-597, Algorithm 14.16" is referenced, but "Note 14.17 (i)" is not regarded appropriately.
- 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: "gcramer"
- subsystem changed to: "56. LibTomMath"
- title changed to: "Bug in function s_mp_sqr()"
- type changed to: "Bug"