certificate: implement P_SHA1() to compute key
commited18a0e2be75a7f78d28c74d4d3b16f75fd38a8d
authorStefan Becker <chemobejk@gmail.com>
Fri, 11 Nov 2011 00:22:11 +0000 (11 02:22 +0200)
committerStefan Becker <chemobejk@gmail.com>
Fri, 11 Nov 2011 00:22:11 +0000 (11 02:22 +0200)
tree5806fb30b147b39b4e7a112058dab845979814c4
parent116ce9057ae178cb000dca3968cd18824c0cc00e
certificate: implement P_SHA1() to compute key

The computed key is P_SHA1(entropy_REQ, entropy_RES). With that computed
key we can finally generate a correct XML signature which is accepted by
the Certificate Provisioning Service.

Drop the dummy sipe_cert_crypto_unwrap_kw_aes() implementation, as it is
no longer needed. That leaves the certificate crypto backend empty at
the moment.
src/core/sipe-cert-crypto-nss.c
src/core/sipe-cert-crypto.h
src/core/sipe-certificate.c