| 757 | } |
| 758 | |
| 759 | void Portable::Square2(word *R, const word *A) |
| 760 | { |
| 761 | DWord p, q; |
| 762 | word c, d, e; |
| 763 | |
| 764 | p = DWord::Multiply(A[0], A[0]); |
| 765 | R[0] = p.GetLowHalf(); |
| 766 | c = p.GetHighHalf(); |
| 767 | d = e = 0; |
| 768 | |
| 769 | SquAcc(0, 1); |
| 770 | |
| 771 | R[1] = c; |
| 772 | p = DWord::MultiplyAndAdd(A[1], A[1], d); |
| 773 | R[2] = p.GetLowHalf(); |
| 774 | R[3] = e + p.GetHighHalf(); |
| 775 | } |
| 776 | |
| 777 | void Portable::Square4(word *R, const word *A) |
| 778 | { |
nothing calls this directly
no test coverage detected