Simplify PKCS#12 PBE algorithm.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 1 Oct 2016 20:19:41 +0000 (21:19 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 15 Nov 2016 01:23:25 +0000 (01:23 +0000)
commit54c68d35c6b7e7650856beb949b45363ce40ca93
treefdc1238fdb3b4c6b642373b068708af7beea2ba1
parent8aa9cf7e655ae1e41f283fbf16dcc810970058a0
Simplify PKCS#12 PBE algorithm.

Simplify PKCS#12 PBE algorithm by working out Ij + B + 1 directly
instead of using BIGNUMs.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/pkcs12/p12_key.c