Branch: Tag:

2014-01-11

2014-01-11 13:35:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.DSA: Moved some functions from Standards.PKCS.DSA.

To avoid circular dependencies between Crypto.DSA and
Standards.PKCS.DSA the pkcs_*() functions are now
inlined in Crypto.DSA.

This also adds pkcs_algorithm_identifer() to Crypto.DSA.

Fixes module dumping problems for Crypto.DSA.

205:    "SSL.Constants.PACKET_MAX_SIZE": "predef::SSL.context":1,    "SSL_null_with_null_null": "predef::SSL.Cipher.KeyExchangeNULL":1,    "Search.Database.MySQL": "predef::Search.Utils.ProfileEntry.get_database":1, -  "Sequence": "predef::Crypto.DSA.pkcs_algorithm_id":1, "predef::Crypto.DSA.pkcs_public_key":1, "predef::Crypto.RSA.pkcs_algorithm_id":1, "predef::Crypto.RSA.pkcs_public_key":1, +  "Sequence": "predef::Crypto.DSA.pkcs_algorithm_identifier":1, "predef::Crypto.DSA.pkcs_public_key":1, "predef::Crypto.DSA.pkcs_signature_algorithm_id":1, "predef::Crypto.RSA.pkcs_public_key":1, "predef::Crypto.RSA.pkcs_signature_algorithm_id":1,    "Serialization.deserialize()": "lfun::_deserialize":1,    "Serializer.Serializable": "lfun::_deserialize":1, "lfun::_serialize":1,    "Serializer.Serializable()->_deserialize()": "lfun::_deserialize":1,
219:    "Sql.query": "predef::Mysql.SqlTable.Result.fetch":2,    "Standards.ASN1.Decode.constructed": "predef::Standards.ASN1.Decode.der_decode":1, "predef::Standards.ASN1.Decode.simple_der_decode":1,    "Standards.ASN1.Sequence": "predef::Standards.X509.verify_certificate_chain":2, "predef::Tools.X509.verify_certificate_chain":2, -  "Standards.PKCS.DSA.signatue_algorithm_id": "predef::Crypto.DSA.pkcs_algorithm_id":1, -  "Standards.PKCS.RSA.signatue_algorithm_id": "predef::Crypto.RSA.pkcs_algorithm_id":1, +  "Standards.PKCS.RSA.signatue_algorithm_id": "predef::Crypto.RSA.pkcs_signature_algorithm_id":1,    "Standards.PKCS.build_digestinfo()": "predef::__builtin.Nettle.Hash.pkcs_digest":1,    "Stdio.File()->read()": "7.8::Stdio.FILE.read":1,    "Stdio.File()->write()": "7.8::Stdio.FILE.write":1,
595:   "predef::Calendar_I.Gregorian.Year": "Calendar_I.time_unit" "Day" "Month" "Week"   "predef::CompilationHandler": "master()->get_compilation_handler()"   "predef::CompilerEnvironment.get_default_module": "Pike_compiler()->get_default_module()" - "predef::Crypto.DSA.pkcs_algorithm_id": "Sequence" "Standards.PKCS.DSA.signatue_algorithm_id" + "predef::Crypto.DSA.pkcs_algorithm_identifier": "Sequence"   "predef::Crypto.DSA.pkcs_public_key": "Sequence" -  + "predef::Crypto.DSA.pkcs_signature_algorithm_id": "Sequence"   "predef::Crypto.MD5.crypt_hash": "crypt_md5()"   "predef::Crypto.NT.CryptContext.create": "CRYPT_VERIFYCONTEXT" - "predef::Crypto.RSA.pkcs_algorithm_id": "Sequence" "Standards.PKCS.RSA.signatue_algorithm_id" +    "predef::Crypto.RSA.pkcs_public_key": "Sequence" -  + "predef::Crypto.RSA.pkcs_signature_algorithm_id": "Sequence" "Standards.PKCS.RSA.signatue_algorithm_id"   "predef::Crypto.verify_crypt_md5": "bool"   "predef::Debug.Profiling.display": "Debug.Watchdog"   "predef::Debug.dump_backlog": "_debug"