#include "system.h"
#include <gcrypt.h>
#include "rpmio_internal.h"
#include "popt.h"
#include "debug.h"
Go to the source code of this file.
Defines | |
#define | SHA1_CMD "/usr/bin/sha1sum" |
#define | MD5_CMD "/usr/bin/md5sum" |
Functions | |
int | main (int argc, const char *argv[]) |
Variables | |
static pgpHashAlgo | hashalgo = PGPHASHALGO_MD5 |
static rpmDigestFlags | flags = RPMDIGEST_NONE |
int | _rpmio_debug |
static int | fips = 0 |
static int | gcrypt = 0 |
const char * | FIPSAdigest = "a9993e364706816aba3e25717850c26c9cd0d89d" |
const char * | FIPSBdigest = "84983e441c3bd26ebaae4aa1f95129e5e54670f1" |
const char * | FIPSCdigest = "34aa973cd4c4daa4f61eeb2bdbad27316534016f" |
static struct poptOption | optionsTable [] |
|
Definition at line 34 of file tdigest.c. Referenced by main(). |
|
Definition at line 33 of file tdigest.c. Referenced by main(). |
|
Definition at line 37 of file tdigest.c. References _, Fclose(), fdFiniDigest(), fdInitDigest(), Ferror(), Fflush(), fips, FIPSAdigest, FIPSBdigest, FIPSCdigest, flags, Fopen(), Fread(), Fstrerror(), Fwrite(), gcrypt, hashalgo, MD5_CMD, optionsTable, PGPHASHALGO_SHA1, reverse, rpmDigestFinal(), rpmDigestInit(), rpmDigestUpdate(), rpmswDiff(), rpmswNow(), SHA1_CMD, stpcpy(), xcalloc(), and xstrdup(). |
|
|
|
Definition at line 11 of file tdigest.c. Referenced by main(). |
|
Definition at line 14 of file tdigest.c. Referenced by main(). |
|
Definition at line 15 of file tdigest.c. Referenced by main(). |
|
Definition at line 16 of file tdigest.c. Referenced by main(). |
|
Definition at line 8 of file tdigest.c. Referenced by addReqProv(), cvtfmode(), db3copen(), db_init(), Fopen(), genCpioListAndHeader(), getFilesystemList(), hdr_dsFromHeader(), hdr_fiFromHeader(), main(), printDeps(), rpmds_init(), rpmfcGenerateDepends(), rpmfi_init(), rpmGetRpmlibProvides(), rpmShowProgress(), rpmVerifyFile(), triggercondsTag(), and triggertypeTag(). |
|
Definition at line 12 of file tdigest.c. Referenced by main(). |
|
Definition at line 7 of file tdigest.c. Referenced by main(). |
|
Initial value: { { "md5", '\0', POPT_ARG_VAL, &hashalgo, PGPHASHALGO_MD5, NULL, NULL }, { "sha1",'\0', POPT_ARG_VAL, &hashalgo, PGPHASHALGO_SHA1, NULL, NULL }, { "fipsa",'\0', POPT_ARG_VAL, &fips, 1, NULL, NULL }, { "fipsb",'\0', POPT_ARG_VAL, &fips, 2, NULL, NULL }, { "fipsc",'\0', POPT_ARG_VAL, &fips, 3, NULL, NULL }, { "gcrypt",'\0', POPT_ARG_VAL, &gcrypt, 1, NULL, NULL }, { "debug",'d', POPT_ARG_VAL, &_rpmio_debug, -1, NULL, NULL }, POPT_AUTOHELP POPT_TABLEEND } |