First alternative primitive type. BIGNUM and CBIGNUM. These convert
commit4bbd40f2bf72c6dafe7e70c847220975b4cd6447
authorsteve <steve>
Wed, 29 Nov 2000 01:33:07 +0000 (29 01:33 +0000)
committersteve <steve>
Wed, 29 Nov 2000 01:33:07 +0000 (29 01:33 +0000)
tree3a27f54a97a30a5d75540aef8893c0d64039dfb0
parent74a5ab6c3cbce8342630c990a7211f843ff21373
First alternative primitive type. BIGNUM and CBIGNUM. These convert
directly between an ASN1 INTEGER and a BIGNUM. CBIGNUM clears the
BIGNUM when it is freed (for sensitive information).

These types will interpret an negative INTEGER as positive because
this is a common encoding error. Negative INTEGERs are rarely used
legitimately for large integers.

Fix for some encoding bugs with ASN1_TYPE and SEQUENCEs.

Remove some unnecessary dependencies on asn1_mac.h.
15 files changed:
crypto/asn1/Makefile.ssl
crypto/asn1/a_bytes.c
crypto/asn1/a_dup.c
crypto/asn1/asn1t.h
crypto/asn1/tasn_enc.c
crypto/asn1/x_bignum.c [copied from crypto/x509/x509spki.c with 57% similarity]
crypto/asn1/x_info.c
crypto/asn1/x_name.c
crypto/dsa/Makefile.ssl
crypto/dsa/dsa_asn1.c
crypto/x509/Makefile.ssl
crypto/x509/x509spki.c
crypto/x509v3/Makefile.ssl
crypto/x509v3/v3conf.c
crypto/x509v3/v3prin.c