ANDROID: fips140: log already-live algorithms
It may be helpful to know whether the "already-live algorithms" code path is being executed or not, and if so, with which algorithms. Add a log message for it. Bug: 153614920 Bug: 188620248 Change-Id: Ie3757794b1e43f630d5dc8f888c6ad33acacbc4c Signed-off-by: Eric Biggers <ebiggers@google.com>
This commit is contained in:

committed by
Ard Biesheuvel

parent
0a7da21583
commit
92de53472e
@@ -152,6 +152,8 @@ static void __init unregister_existing_fips140_algos(void)
|
||||
* transformations. We will swap these out
|
||||
* later with integrity checked versions.
|
||||
*/
|
||||
pr_info("found already-live algorithm '%s' ('%s')\n",
|
||||
alg->cra_name, alg->cra_driver_name);
|
||||
list_move(&alg->cra_list,
|
||||
&unchecked_fips140_algos);
|
||||
}
|
||||
|
Reference in New Issue
Block a user