@@ -72,9 +72,6 @@ fn create_algorithm_from_flags(matches: &ArgMatches) -> UResult<(AlgoKind, Optio
7272 if matches. get_flag ( "b2sum" ) {
7373 set_or_err ( ( AlgoKind :: Blake2b , None ) ) ?;
7474 }
75- if matches. get_flag ( "b3sum" ) {
76- set_or_err ( ( AlgoKind :: Blake3 , None ) ) ?;
77- }
7875 if matches. get_flag ( "sha3" ) {
7976 match matches. get_one :: < String > ( options:: LENGTH ) {
8077 Some ( len) => set_or_err ( (
@@ -96,12 +93,6 @@ fn create_algorithm_from_flags(matches: &ArgMatches) -> UResult<(AlgoKind, Optio
9693 if matches. get_flag ( "sha3-512" ) {
9794 set_or_err ( ( AlgoKind :: Sha3 , Some ( 512 ) ) ) ?;
9895 }
99- if matches. get_flag ( "shake128" ) {
100- set_or_err ( ( AlgoKind :: Shake128 , Some ( 128 ) ) ) ?;
101- }
102- if matches. get_flag ( "shake256" ) {
103- set_or_err ( ( AlgoKind :: Shake256 , Some ( 256 ) ) ) ?;
104- }
10596
10697 if alg. is_none ( ) {
10798 return Err ( ChecksumError :: NeedAlgorithmToHash . into ( ) ) ;
@@ -374,10 +365,7 @@ pub fn uu_app_custom() -> Command {
374365 ( "sha3-256" , translate ! ( "hashsum-help-sha3-256" ) ) ,
375366 ( "sha3-384" , translate ! ( "hashsum-help-sha3-384" ) ) ,
376367 ( "sha3-512" , translate ! ( "hashsum-help-sha3-512" ) ) ,
377- ( "shake128" , translate ! ( "hashsum-help-shake128" ) ) ,
378- ( "shake256" , translate ! ( "hashsum-help-shake256" ) ) ,
379368 ( "b2sum" , translate ! ( "hashsum-help-b2sum" ) ) ,
380- ( "b3sum" , translate ! ( "hashsum-help-b3sum" ) ) ,
381369 ] ;
382370
383371 for ( name, desc) in algorithms {
0 commit comments