Descriptioncrypto/rsa: check for minimal PKCS#1 v1.5 padding.
The PKCS#1 spec requires that the PS padding in an RSA message be at
least 8 bytes long. We were not previously checking this. This isn't
important in the most common situation (session key encryption), but
the impact is unclear in other cases.
This change enforces the specified minimum size.
Patch Set 1 #Patch Set 2 : diff -r 3a896cbee85f https://code.google.com/p/go/ #Patch Set 3 : diff -r 3a896cbee85f https://code.google.com/p/go/ #Patch Set 4 : diff -r 3a896cbee85f https://code.google.com/p/go/ #Patch Set 5 : diff -r 3a896cbee85f https://code.google.com/p/go/ #Patch Set 6 : diff -r b37d2fdcc4d9 https://code.google.com/p/go/ #
MessagesTotal messages: 5
|