Quellcode durchsuchen

Merge NIAP and FIPS test suites.

When we do future FIPS or NIAP runs, we'll do everything. So no need for
a -niap option any longer.

Change-Id: I2c8b71951acca0734c1a15cfb6f61ec5ecee5884
Reviewed-on: https://boringssl-review.googlesource.com/26124
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
kris/onging/CECPQ3_patch15
Adam Langley vor 6 Jahren
committed by CQ bot account: commit-bot@chromium.org
Ursprung
Commit
ed626ec99b
1 geänderte Dateien mit 1 neuen und 10 gelöschten Zeilen
  1. +1
    -10
      fipstools/run_cavp.go

+ 1
- 10
fipstools/run_cavp.go Datei anzeigen

@@ -21,7 +21,6 @@ var (
oraclePath = flag.String("oracle-bin", "", "Path to the oracle binary")
suiteDir = flag.String("suite-dir", "", "Base directory containing the CAVP test suite")
noFAX = flag.Bool("no-fax", false, "Skip comparing against FAX files")
niap = flag.Bool("niap", false, "Perform NIAP tests rather than FIPS tests")
android = flag.Bool("android", false, "Run tests via ADB")
)

@@ -334,7 +333,7 @@ var tlsKDFTests = testSuite{
},
}

var fipsTestSuites = []*testSuite{
var testSuites = []*testSuite{
&aesGCMTests,
&aesTests,
&ctrDRBGTests,
@@ -350,9 +349,6 @@ var fipsTestSuites = []*testSuite{
&shaTests,
&shaMonteTests,
&tdesTests,
}

var niapTestSuites = []*testSuite{
&kasTests,
&tlsKDFTests,
}
@@ -421,11 +417,6 @@ func main() {
go worker(&wg, work)
}

testSuites := fipsTestSuites
if *niap {
testSuites = niapTestSuites
}

for _, suite := range testSuites {
for i := range suite.tests {
work <- testInstance{suite, i}


Laden…
Abbrechen
Speichern