CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2022/01/14 01:29:06

Modified files:
        lib/libcrypto/dsa: dsa_ameth.c dsa_asn1.c dsa_lib.c dsa_locl.h 

Log message:
Simplify DSAPublicKey_it

This was obtained by porting the OpenSSL commit below and then using
expand_crypto_asn1.go to unroll the new ASN.1 macros - actually the
ones from 987157f6f63 which fixed the omission of dsa_cb() in the
first commit.

ok inoguchi jsing

commit ea6b07b54c1f8fc2275a121cdda071e2df7bd6c1
Author: Dr. Stephen Henson <st...@openssl.org>
Date:   Thu Mar 26 14:35:49 2015 +0000

Simplify DSA public key handling.

DSA public keys could exist in two forms: a single Integer type or a
SEQUENCE containing the parameters and public key with a field called
"write_params" deciding which form to use. These forms are non standard
and were only used by functions containing "DSAPublicKey" in the name.

Simplify code to only use the parameter form and encode the public key
component directly in the DSA public key method.

Reviewed-by: Richard Levitte <levi...@openssl.org>

Reply via email to