Lines Matching full:sd
24 static struct vb2_shared_data *sd; variable
61 sd = vb2_get_sd(ctx); in reset_common_data()
62 sd->status |= VB2_SD_STATUS_RECOVERY_DECIDED; in reset_common_data()
94 sd->preamble_offset = sd->workbuf_used; in reset_common_data()
96 vb2_member_of(sd, sd->preamble_offset); in reset_common_data()
103 sd->preamble_size = sizeof(*fwpre) + k->key_size; in reset_common_data()
105 sd->preamble_offset + sd->preamble_size); in reset_common_data()
109 sd->status &= ~VB2_SD_STATUS_SECDATA_KERNEL_INIT; in reset_common_data()
117 sd->data_key_offset = sd->workbuf_used; in reset_common_data()
119 vb2_member_of(sd, sd->data_key_offset); in reset_common_data()
121 sd->data_key_size = sizeof(*kdkey); in reset_common_data()
123 sd->data_key_offset + sd->data_key_size); in reset_common_data()
126 sd->preamble_offset = sd->workbuf_used; in reset_common_data()
128 vb2_member_of(sd, sd->preamble_offset); in reset_common_data()
141 sd->preamble_size = sizeof(*kpre) + sig->sig_size; in reset_common_data()
142 sd->vblock_preamble_offset = in reset_common_data()
143 0x10000 - sd->preamble_size; in reset_common_data()
145 sd->preamble_offset + sd->preamble_size); in reset_common_data()
149 sd->kernel_version = 0x20004; in reset_common_data()
150 sd->kernel_version_secdata = 0x20002; in reset_common_data()
151 sd->flags |= VB2_SD_FLAG_KERNEL_SIGNED; in reset_common_data()
257 sd->preamble_size = 0; in get_kernel_size_tests()
271 sd->preamble_size = 0; in verify_kernel_data_tests()
282 sd->workbuf_used = sd->workbuf_size + VB2_WORKBUF_ALIGN - in verify_kernel_data_tests()
289 sd->data_key_size = 0; in verify_kernel_data_tests()
307 sd->workbuf_used = sd->workbuf_size - in verify_kernel_data_tests()
331 sd->kernel_version = 0x20001; in phase3_tests()
337 sd->flags &= ~VB2_SD_FLAG_KERNEL_SIGNED; in phase3_tests()
355 sd->status &= ~VB2_SD_STATUS_SECDATA_KERNEL_INIT; in phase3_tests()