make scrypt ASN.1 parameter functions public
authorHubert Kario <hkario@redhat.com>
Wed, 26 Jul 2017 13:05:59 +0000 (15:05 +0200)
committerRich Salz <rsalz@openssl.org>
Wed, 26 Jul 2017 19:04:54 +0000 (15:04 -0400)
commite15c95ce8596bcc2a5f5e163ff78ccf469dbf994
treee9c06483bc18465e6a08845a0080d5d73553e9b6
parent11a25d34549461ad6ddd61322ed3b54dd4c69686
make scrypt ASN.1 parameter functions public

Since scrypt PBKDF can be used both in PKCS#5 and PKCS#12 files,
do share the code between them.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1334)
crypto/asn1/asn1_item_list.h
crypto/asn1/p5_scrypt.c
include/openssl/x509.h
util/libcrypto.num