(n)
| 51 | }, |
| 52 | |
| 53 | dsaAsync(n) { |
| 54 | let remaining = n; |
| 55 | function done(err) { |
| 56 | assert.ifError(err); |
| 57 | if (--remaining === 0) |
| 58 | bench.end(n); |
| 59 | } |
| 60 | bench.start(); |
| 61 | for (let i = 0; i < n; ++i) |
| 62 | generateKeyPair('dsa', { |
| 63 | modulusLength: 1024, |
| 64 | divisorLength: 160, |
| 65 | }, done); |
| 66 | }, |
| 67 | }; |
| 68 | |
| 69 | function main({ n, method }) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…