Running go test -cover -coverprofile c.out && go tool cover -html=c.out on the ots folder reveals test coverage issues:
- the
LmsOtsSignatureFromBytes and signature.go file are untested
- most error cases are untested in
ots/public.go
The same is true for the lms folder:
- untested functions
NewLmsSignature, NewPublicKey , NewPrivateKey
- Missing coverage for error cases
Running
go test -cover -coverprofile c.out && go tool cover -html=c.outon theotsfolder reveals test coverage issues:LmsOtsSignatureFromBytesandsignature.gofile are untestedots/public.goThe same is true for the
lmsfolder:NewLmsSignature,NewPublicKey,NewPrivateKey