Skip to content
Commit 6d405b64 authored by Andy Polyakov's avatar Andy Polyakov Committed by Richard Levitte
Browse files

rsa/rsa_ssl.c: make RSA_padding_check_SSLv23 constant-time.



Copy of RSA_padding_check_PKCS1_type_2 with a twist that rejects padding
if nul delimiter is preceded by 8 consecutive 0x03 bytes.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
(cherry picked from commit 60322140)

Resolved conflicts:
	crypto/rsa/rsa_ssl.c

(Merged from https://github.com/openssl/openssl/pull/7735)
parent 437b7f05
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment