SRP code tidy.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 29 Sep 2016 18:24:26 +0000 (19:24 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 1 Oct 2016 13:13:02 +0000 (14:13 +0100)
commit3f39423aac144bf10f04f8d7b069e72bac9fff98
tree6abb726ec8f53238f74bfcabb829a91ed220d6f4
parent25a127bde9ec5022125158bba82e86b02afa76b1
SRP code tidy.

Tidy up srp_Calc_k and SRP_Calc_u by making them a special case of
srp_Calc_xy which performs SHA1(PAD(x) | PAD(y)).

This addresses an OCAP Audit issue.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 8f332ac962b377a52016927e6db7a15367cb839c)
crypto/srp/srp_lib.c