Searched defs:elfhash (Results 1 - 3 of 3) sorted by relevance

/pkg/src/modules/
H A Delfextract.h54 char elfhash[41]; member in struct:hashinfo
92 extern hashinfo_t *gethashes(int fd, int elfhash, int sha2_256, int sha2_512);
H A Delf.c46 * 'elfhash' an integer > 0 if we should calculate the old elfhash
53 int elfhash; member in struct:__anon1
166 * The old-style calculation of elfhash will be dropped, but
171 static char *kwlist[] = {"f", "elfhash", "sha256", "sha512t_256", NULL};
185 hargs.elfhash = get_elfhash;
284 * elfhash: "sha1hash",
305 if ((h = gethashes(hargs.fd, hargs.elfhash,
319 if (hargs.elfhash > 0) {
322 ent = Py_BuildValue("s", h->elfhash);
[all...]
H A Delfextract.c325 getelfhash(Elf *elf, char *base, unsigned char *elfhash) argument
373 SHA1Final(elfhash, &shc);
374 return_ptr = elfhash;
659 * doelf > 0: generate hex digest of legacy SHA1 hash in .elfhash
739 char *hp = &hashes->elfhash[0];

Completed in 529 milliseconds