ipfe_keygen

Function ipfe_keygen 

Source
pub fn ipfe_keygen(
    msk: &IpfeMasterSecretKey,
    func_vector: &[i64],
) -> FunctionalEncryptionResult<IpfeFunctionalKey>
Expand description

Generate a functional secret key for computing inner product with a given vector

§Arguments

  • msk - Master secret key
  • func_vector - Vector to compute inner product with

§Returns

Functional secret key