Lines Matching defs:fsgp
109 struct filesig *fsgp;
136 fsgp = &fssp->filesig_sig;
137 fsgp->filesig_size = sizeof (struct filesig) +
139 fsgp->filesig_version = version;
143 fsgp->filesig_size -= sizeof (struct filesig) -
145 fsgp->filesig_v1_dnsize = dn_len;
146 fsgp->filesig_v1_sigsize = sig_len;
147 fsgp->filesig_v1_oidsize = oid_len;
148 fsdatap = &fsgp->filesig_v1_data[0];
152 fsgp->filesig_size -= sizeof (struct filesig) -
154 fsgp->filesig_v3_time = time(NULL);
155 fsgp->filesig_v3_dnsize = dn_len;
156 fsgp->filesig_v3_sigsize = sig_len;
157 fsgp->filesig_v3_oidsize = oid_len;
158 fsdatap = &fsgp->filesig_v3_data[0];
172 fsgp = filesig_next(fsgp);
173 (void) memset(fsdatap, 0, (char *)(fsgp) - fsdatap);
182 filesig_extract(struct filesig *fsgp, struct filesig_extraction *fsxp)
188 if (len_var > fsgp->field) \
189 len_var = fsgp->field; \
191 cp += fsgp->field; }
199 fsxp->fsx_version = fsgp->filesig_version;
208 fsdp = fsgp->filesig_v1_data;
220 fsdp = fsgp->filesig_v3_data;
222 fsxp->fsx_time = fsgp->filesig_v3_time;
490 struct filesig *fsgp, *fsgpnext;
634 fsgp = &(*fsspp)->filesig_sig;
637 fsgpnext = filesig_next(fsgp);
638 fssize += (char *)(fsgpnext) - (char *)(fsgp);
639 fsgp = fsgpnext;
1023 struct filesig *fsgp;
1051 fsgp = &fssp->filesig_sig;
1057 sigcnt++, fsgp = filesig_next(fsgp)) {
1058 ess->es_version = filesig_extract(fsgp, &fsx);
1199 struct filesig *fsgp, *fsgpnext;
1210 fsgp = &(fssp)->filesig_sig;
1211 for (; fscnt > 0; fscnt--, fsgp = fsgpnext) {
1213 version = fsgp->filesig_version;
1214 fsgpnext = filesig_next(fsgp);
1216 fsgp->filesig_size =
1217 elfsign_switch_uint32(fsgp->filesig_size);
1218 fsgp->filesig_version =
1219 elfsign_switch_uint32(fsgp->filesig_version);
1221 version = fsgp->filesig_version;
1222 fsgpnext = filesig_next(fsgp);
1227 fsgp->filesig_v1_dnsize =
1228 elfsign_switch_uint32(fsgp->filesig_v1_dnsize);
1229 fsgp->filesig_v1_sigsize =
1230 elfsign_switch_uint32(fsgp->filesig_v1_sigsize);
1231 fsgp->filesig_v1_oidsize =
1232 elfsign_switch_uint32(fsgp->filesig_v1_oidsize);
1236 fsgp->filesig_v3_time =
1237 elfsign_switch_uint64(fsgp->filesig_v3_time);
1238 fsgp->filesig_v3_dnsize =
1239 elfsign_switch_uint32(fsgp->filesig_v3_dnsize);
1240 fsgp->filesig_v3_sigsize =
1241 elfsign_switch_uint32(fsgp->filesig_v3_sigsize);
1242 fsgp->filesig_v3_oidsize =
1243 elfsign_switch_uint32(fsgp->filesig_v3_oidsize);