News for hackers. Stuff that matters.
Re:Go 1.20 Cryptography by kibwen on Wednesday January 04, 2023 @02:43PM (#34250374)
I'm under the impression that Go's original crypto libs were written by none other than djb himself. Is there a rationale for the deficiencies laid out in the OP, or am I putting djb on too much of a pedestal?
Re:Go 1.20 Cryptography by FiloSottile on Wednesday January 04, 2023 @02:51PM (#34250477)
The libraries were originally written by Adam Langley, who did a great job compared to the state of the art at the time. They have been serving us well for over 13 years.

Bernstein was never involved.

Re:Go 1.20 Cryptography by kibwen on Wednesday January 04, 2023 @04:18PM (#34251824)
Interesting, could have sworn I heard this back in 2011 or so, but searching for a source now I have no clue how I got that impression. :) Thank you!
Re:Go 1.20 Cryptography by remus on Wednesday January 04, 2023 @02:55PM (#34250525)
> Is there a rationale for the deficiencies laid out in the OP

Yes. The previous package had a dependency on the general purpose math/big package which was not constant-time and had a large surface area (that was not required for crypto). This has lead to security bugs in the crypto package.