1. 04 Jan, 2013 5 commits
  2. 03 Jan, 2013 5 commits
  3. 02 Jan, 2013 18 commits
  4. 01 Jan, 2013 2 commits
  5. 30 Dec, 2012 3 commits
  6. 29 Dec, 2012 3 commits
    • Dave Cheney's avatar
      cmd/dist: use -pipe during bootstrap · 0c6beb00
      Dave Cheney authored
      R=golang-dev, minux.ma, rsc
      CC=golang-dev
      https://golang.org/cl/7025044
      0c6beb00
    • Sébastien Paolacci's avatar
      runtime: handle locked mmap failure on Linux · e786829e
      Sébastien Paolacci authored
      Used to then die on a nil pointer situation. Most Linux standard setups are rather
      restrictive regarding the default amount of lockable memory.
      
      R=minux.ma, rsc
      CC=golang-dev
      https://golang.org/cl/6997049
      e786829e
    • Adam Langley's avatar
      crypto/rsa: ensure that RSA keys use the full number of bits. · 975bf6d3
      Adam Langley authored
      While half of all numbers don't have their most-significant bit set,
      this is becoming increasingly impermissible for RSA moduli. In an
      attempt to exclude weak keys, several bits of software either do, or
      will, enforce that RSA moduli are >= 1024-bits.
      
      However, Go often generates 1023-bit RSA moduli which this software
      would then reject.
      
      This change causes crypto/rsa to regenerate the primes in the event
      that the result is shorter than requested.
      
      It also alters crypto/rand in order to remove the performance impact
      of this:
      
      The most important change to crypto/rand is that it will now set the
      top two bits in a generated prime (OpenSSL does the same thing).
      Multiplying two n/2 bit numbers, where each have the top two bits set,
      will always result in an n-bit product. (The effectively makes the
      crypto/rsa change moot, but that seems too fragile to depend on.)
      
      Also this change adds code to crypto/rand to rapidly eliminate some
      obviously composite numbers and reduce the number of Miller-Rabin
      tests needed to generate a prime.
      
      R=rsc, minux.ma
      CC=golang-dev
      https://golang.org/cl/7002050
      975bf6d3
  7. 28 Dec, 2012 4 commits