Commit Graph

1 Commits

Author SHA1 Message Date
Eric Biggers
41d708af25 ANDROID: fips140: add fips140_lab_util program
Add a sample program that supports various tests that the FIPS
certification lab is required to do on fips140.ko.  To do its work it
uses AF_ALG, as well as the /dev/fips140 device node provided by a build
of fips140.ko with CONFIG_CRYPTO_FIPS140_MOD_EVAL_TESTING enabled.

Original commits:
  android12-5.10:
    109f31ac23f5 ("ANDROID: fips140: add userspace interface for evaluation testing")
    a481d4352121 ("ANDROID: fips140: refactor and rename fips140_lab_test")
    3a624c9ccdd7 ("ANDROID: fips140: add show_invalid_inputs command to fips140_lab_util")
    fe60669d0308 ("ANDROID: fips140: add dump_jitterentropy command to fips140_lab_util")

Bug: 153614920
Bug: 188620248
Change-Id: Ide1875f39d439c3955d03a5f41160382544d47bd
Signed-off-by: Eric Biggers <ebiggers@google.com>
2023-01-09 21:34:28 +00:00