Merge commit '2470270f500c728d10b8895314d8d8b07016e37b' into grubba/typechecker-automap * commit '2470270f500c728d10b8895314d8d8b07016e37b': (18681 commits) Removed the old typechecker. ...
Crypto.Sign: Added sub-class State. This makes the Crypto.Sign API to behave closer to the other Crypto APIs. This affects code that uses Crypto.RSA and Crypto.DSA (which now are modules and not classes). Crypto.ECC.Curve.ECDSA is currently unmodified.
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.
Crypto.RSA: pkcs_algorithm_id() ==> pkcs_signature_algorithm_id() Renamed the function above in Crypto.RSA and Crypto.DSA to avoid confusion with the similar algorithm_identifier().
Merge branch '8.0' into gobject-introspection
SSL.Cipher: Improved TLS 1.2 compatibility. The TLS 1.2 prf is now derived from the hash function used for the MAC for the suite, as this seems to be the convention for all the suites that have been defined after TLS 1.2. This simplifies implementation of the prf selection behaviour specified eg for the suites defined in RFC 6367 3.3: When used with TLS versions prior to 1.2 (TLS 1.0 and TLS 1.1), the PRF is calculated as specified in the appropriate version of the TLS specification.
Unified signature and verification methods with RSA.
Added build_public_key() to align with RSA
Restructured RSA and DSA so that they resemble each other in structure and interface. Deprecated RSA->cooked_get_n RSA->cooked_get_e RSA->cooked_get_d RSA->cooked_get_p RSA->cooked_get_q RSA->cooked_sign RSA->query_blocksize (now block_size) RSA->rsa_size (now key_size) RSA->md5_sign RSA->md5_verify RSA->sha_sign RSA->sha_verify DSA->sign_rsaref DSA->verify_rsaref