Home
last modified time | relevance | path

Searched refs:sig_digest (Results 1 – 1 of 1) sorted by relevance

/external/vboot_reference/host/lib21/
Dhost_signature.c101 uint8_t *sig_digest; in vb2_sign_data() local
130 sig_digest = malloc(sig_digest_size); in vb2_sign_data()
131 if (!sig_digest) in vb2_sign_data()
136 memcpy(sig_digest, info, info_size); in vb2_sign_data()
140 free(sig_digest); in vb2_sign_data()
145 free(sig_digest); in vb2_sign_data()
149 if (vb2_digest_finalize(&dc, sig_digest + info_size, digest_size)) { in vb2_sign_data()
150 free(sig_digest); in vb2_sign_data()
164 memcpy(buf + s.sig_offset, sig_digest, sig_digest_size); in vb2_sign_data()
168 sig_digest, in vb2_sign_data()
[all …]