Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Issue 567093002: Temporarily add a public modPow method to _Bigint class. (Closed)

Created:
6 years, 3 months ago by regis
Modified:
6 years, 3 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Temporarily add a public modPow method to _Bigint class. R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=40271

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -30 lines) Patch
M runtime/lib/bigint.dart View 1 8 chunks +155 lines, -30 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
regis
I have also split the _am method into _am and _amc, since different assembly code ...
6 years, 3 months ago (2014-09-12 23:05:13 UTC) #2
regis
On 2014/09/12 23:05:13, regis wrote: > I have also split the _am method into _am ...
6 years, 3 months ago (2014-09-15 16:52:15 UTC) #3
srdjan
lgtm https://codereview.chromium.org/567093002/diff/1/runtime/lib/bigint.dart File runtime/lib/bigint.dart (right): https://codereview.chromium.org/567093002/diff/1/runtime/lib/bigint.dart#newcode1096 runtime/lib/bigint.dart:1096: // New methods to support crypto. Maybe remove ...
6 years, 3 months ago (2014-09-15 18:10:52 UTC) #4
regis
Committed patchset #2 (id:20001) manually as r40271 (presubmit successful).
6 years, 3 months ago (2014-09-15 19:29:19 UTC) #5
regis
6 years, 3 months ago (2014-09-15 19:29:31 UTC) #6
Message was sent while issue was closed.
Thanks!

https://codereview.chromium.org/567093002/diff/1/runtime/lib/bigint.dart
File runtime/lib/bigint.dart (right):

https://codereview.chromium.org/567093002/diff/1/runtime/lib/bigint.dart#newc...
runtime/lib/bigint.dart:1096: // New methods to support crypto.
On 2014/09/15 18:10:52, srdjan wrote:
> Maybe remove this comment?

Done.

https://codereview.chromium.org/567093002/diff/1/runtime/lib/bigint.dart#newc...
runtime/lib/bigint.dart:1125: int modPow(int e, int m) {
On 2014/09/15 18:10:52, srdjan wrote:
> Maybe in a later CL: You may also implement a modPow in IntegerImplementation
in
> case receiver is not Bigint.

Will do.

Powered by Google App Engine
This is Rietveld 408576698