Branch: Tag:

2013-12-07

2013-12-07 13:09:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Nettle.Hash: Added P_hash() and HMAC.

P_hash() is the pbkdf used by TLS.

As P_hash() is based on HMAC, it is also added.

FIXME: Consider changing the HMAC API to the same API as other hashes.

228:    "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.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,    "Stdio.FileLockKey": "predef::Stdio.File.lock":2, "predef::Stdio.File.trylock":2,
1271:   "predef::__builtin.Nettle.Hash.openssl_pbkdf": "crypt_password()"   "predef::__builtin.Nettle.Hash.pbkdf1": "crypt_password()"   "predef::__builtin.Nettle.Hash.pbkdf2": "crypt_password()" + "predef::__builtin.Nettle.Hash.pkcs_digest": "Standards.PKCS.build_digestinfo()"   "predef::__handle_sprintf_format": "PikeCompiler()->apply_attribute_constant()"   "predef::_typeof": "typeof()"   "predef::backtrace": "catch()"