[...] > + /* verify signature */ > + /* against digest */ > + c = 0x31; > + regtmp[0].data = &c; > + regtmp[0].size = 1; Is there a reason for '1' instea of sizeof(c)? > + regtmp[1].data = ps_info->authattrs; > + regtmp[1].size = ps_info->authattrs_len; > + > + > +out: Thanks /Ilias