636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
|
** --384 Compute a SHA3-384 hash
** --512 Compute a SHA3-512 hash
** --size N An N-bit hash. N must be a multiple of 32 between
** 128 and 512.
** -h, --dereference If FILE is a symbolic link, compute the hash on
** the object pointed to, not on the link itself.
*/
void sha3sum_test(void){
int i;
Blob in;
Blob cksum;
int iSize = 256;
int eFType = SymFILE;
if( find_option("dereference","h",0) ) eFType = ExtFILE;
|
|
|
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
|
** --384 Compute a SHA3-384 hash
** --512 Compute a SHA3-512 hash
** --size N An N-bit hash. N must be a multiple of 32 between
** 128 and 512.
** -h, --dereference If FILE is a symbolic link, compute the hash on
** the object pointed to, not on the link itself.
*/
void sha3sum_cmd(void){
int i;
Blob in;
Blob cksum;
int iSize = 256;
int eFType = SymFILE;
if( find_option("dereference","h",0) ) eFType = ExtFILE;
|