Skip to content

Commit

Permalink
重构 des 包
Browse files Browse the repository at this point in the history
  • Loading branch information
FishGoddess committed May 21, 2024
1 parent d50d8b3 commit 692ff9a
Show file tree
Hide file tree
Showing 16 changed files with 809 additions and 864 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fmt:
go fmt ./...

test:
go test -v -cover -count=1 -test.cpu=1 ./...
go test -cover -count=1 -test.cpu=1 ./...

bench:
go test -v ./_examples/hash_test.go -bench=. -benchtime=1s
Expand Down
2 changes: 1 addition & 1 deletion aes/aes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func TestNewBlock(t *testing.T) {
}
}

// go test -v -cover -count=1 -test.cpu=1 -run=^TestAESECB$
// go test -v -cover -count=1 -test.cpu=1 -run=^TestECB$
func TestECB(t *testing.T) {
cases := map[string]*testResult{
"": {
Expand Down
63 changes: 0 additions & 63 deletions des/cbc.go

This file was deleted.

97 changes: 0 additions & 97 deletions des/cbc_test.go

This file was deleted.

63 changes: 0 additions & 63 deletions des/cfb.go

This file was deleted.

97 changes: 0 additions & 97 deletions des/cfb_test.go

This file was deleted.

Loading

0 comments on commit 692ff9a

Please sign in to comment.