Re: [openssl-users] Hashing public keys in EVP_PKEY's

2014-12-11 Thread Viktor Dukhovni
On Thu, Dec 11, 2014 at 04:02:10PM +0100, Jan Danielsson wrote: >If I would want to use the hash of a EVP_PKEY to uniquely identify > the key (regardless of whether it contains the private key or not), what > would be the best way to do this? (I.e. how do I deterministically hash > the public

[openssl-users] Hashing public keys in EVP_PKEY's

2014-12-11 Thread Jan Danielsson
Hello, If I would want to use the hash of a EVP_PKEY to uniquely identify the key (regardless of whether it contains the private key or not), what would be the best way to do this? (I.e. how do I deterministically hash the public key of a EVP_PKEY?). Performance is not a major concern.