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 12:46:54 +0000 (13:46 +0100)
commit8f332ac962b377a52016927e6db7a15367cb839c
treeef7e4d84c9dff1ebda72e1178583a69afd23d6bc
parenta00d75e1b21bc5c49817610b172bae440f526622
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>
crypto/srp/srp_lib.c