Files
node/src
Ben Noordhuis 27efc1a2e1 src: remove extra heap allocations in DH functions
Replace allocate + Encode() + free patterns by calls to Malloc +
the Buffer::New() overload that takes ownership of the pointer.
Avoids unnecessary heap allocations and copying around of data.

DRY the accessor functions for the prime, generator, public key and
private key properties; deletes about 40 lines of quadruplicated code.

PR-URL: https://github.com/nodejs/node/pull/14122
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-07-19 15:02:56 -04:00
..
2017-07-18 19:56:26 +02:00
2017-06-07 13:29:44 -07:00
2017-07-18 19:56:26 +02:00
2017-07-19 15:02:35 -04:00
2017-07-19 15:02:35 -04:00
2017-06-07 13:32:25 -07:00
2016-06-28 21:21:21 +02:00
2017-05-09 15:01:41 +02:00
2017-07-11 11:43:13 -05:00
2017-07-19 15:02:24 -04:00
…
2017-07-19 15:02:24 -04:00
2017-05-23 11:39:13 -07:00
2017-05-23 11:39:13 -07:00
…
2017-04-14 22:47:29 +02:00
2016-06-28 21:21:21 +02:00