[][src]Function zcash_primitives::note_encryption::sapling_ka_agree

pub fn sapling_ka_agree<'a, P>(
    esk: &Fs,
    pk_d: &'a P
) -> Point<Bls12, PrimeOrder> where
    Point<Bls12, Unknown>: From<&'a P>, 

Sapling key agreement for note encryption.

Implements section 5.4.4.3 of the Zcash Protocol Specification.