Lines Matching defs:note
52 unsigned int descsz; /* Size of the note descriptor */
102 gen_build_id(struct buildid_note *note,
108 size_t sz = sizeof(note->build_id);
115 sret = read(fd, note->build_id, sz);
120 memset(note->build_id, 0, sz);
126 gen_build_id(struct buildid_note *note,
131 if (sizeof(note->build_id) < SHA_DIGEST_LENGTH)
134 SHA1(code, csize, (unsigned char *)note->build_id);
140 gen_build_id(struct buildid_note *note, unsigned long load_addr, const void *code, size_t csize)
144 if (sizeof(note->build_id) < 16)
154 EVP_DigestFinal_ex(mdctx, (unsigned char *)note->build_id, NULL);