Skip to main content
. 2016 Nov 25;16(12):1993. doi: 10.3390/s16121993
Algorithm 4 KeyGenerate.
Input:
  MK: TA’s master key;
  PK: the public parameter;
  SQ: a querier’s attribute set;
Output:
  SKQ: a secret key;
 1: Compute D=MK·g0d0, where d0Zp;
 2: for all iSQ do
 3:   Compute Di=Hiri·g0d0, Di=g0ri, where riZp;
 4: end for
  return SKQ=D,iSQ:Di,Di.