Function gnunet_sys::GNUNET_CRYPTO_ecdsa_public_key_derive [−][src]
pub unsafe extern "C" fn GNUNET_CRYPTO_ecdsa_public_key_derive(
pub_: *const GNUNET_CRYPTO_EcdsaPublicKey,
label: *const c_char,
context: *const c_char,
result: *mut GNUNET_CRYPTO_EcdsaPublicKey
)
@ingroup crypto Derive a public key from a given public key and a label. Essentially calculates a public key ‘V = H(l,P) * P’.
@param pub original public key @param label label to use for key deriviation @param context additional context to use for HKDF of ‘h’. typically the name of the subsystem/application @param result where to write the derived public key