Lines Matching defs:BootSignature
61 } BootSignature;
63 ASN1_SEQUENCE(BootSignature) = {
64 ASN1_SIMPLE(BootSignature, formatVersion, ASN1_INTEGER),
65 ASN1_SIMPLE(BootSignature, certificate, X509),
66 ASN1_SIMPLE(BootSignature, algorithmIdentifier, X509_ALGOR),
67 ASN1_SIMPLE(BootSignature, authenticatedAttributes, AuthAttrs),
68 ASN1_SIMPLE(BootSignature, signature, ASN1_OCTET_STRING)
69 } ASN1_SEQUENCE_END(BootSignature)
71 IMPLEMENT_ASN1_FUNCTIONS(BootSignature)
86 * Calculates the offset to the beginning of the BootSignature block
125 * Reads and parses the ASN.1 BootSignature block from the given offset
130 static int read_signature(int fd, off64_t offset, BootSignature **bs)
147 if ((*bs = ASN1_item_d2i_bio(ASN1_ITEM_rptr(BootSignature), in, bs)) == NULL) {
164 static int validate_signature_block(const BootSignature *bs, uint64_t length)
313 static int verify_signature(int fd, uint64_t length, const BootSignature *bs)
364 BootSignature *bs = NULL;