Searched refs:elfhash (Results 1 - 7 of 7) sorted by relevance
/pkg/src/modules/ |
H A D | elfextract.h | 54 char elfhash[41]; member in struct:hashinfo 92 extern hashinfo_t *gethashes(int fd, int elfhash, int sha2_256, int sha2_512);
|
H A D | elf.c | 46 * '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 D | elfextract.c | 325 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];
|
/pkg/src/modules/actions/ |
H A D | file.py | 411 elfhash = None 430 elf_hash_attr == "elfhash" 437 elfhash = elf.get_hashes( 438 path, elfhash=get_elfhash, 444 elfhash = [elfhash] 446 elfhash = list(digest.ContentHash(elfhash).values()) 451 if (elfhash is not None and 452 elf_hash_val != elfhash[ [all...] |
/pkg/src/tests/api/ |
H A D | t_elf.py | 95 # the default is to return both the SHA-1 elfhash and 98 self.assertTrue(len(d["elfhash"]) == sha1_len) 108 elfhash=False, sha512t_256=True) 109 self.assertTrue("elfhash" not in d) 129 d = elf.get_hashes(self.elf_paths[0], elfhash=False,
|
/pkg/src/modules/publish/ |
H A D | transaction.py | 314 # This currently uses the presence of "elfhash" to indicate the 316 # expected until elfhash is no longer generated by default, and 325 need_elfhash = "elfhash" not in action.attrs 344 get_elfhash = (need_elfhash and "elfhash" in 358 elf_name, elfhash=get_elfhash,
|
/pkg/src/modules/server/ |
H A D | transaction.py | 495 "elfhash" not in action.attrs): 510 elf1 = "elfhash" 519 elfhash=get_sha1)
|
Completed in 25 milliseconds