ANDROID: ABI: update fips140 symbol list

Generated by running:

    BUILD_CONFIG=common/build.config.gki.aarch64.fips140 build/build_abi.sh --update-symbol-list

Note: some registration functions are added to the list only because
they are called from fips140-alg-registration.c by wrapper functions
that aren't currently used.  I'm thinking it makes sense to include
these extra wrapper functions so that people don't have to dig into the
guts of fips140-alg-registration.c to add and remove wrappers later as
the kernel is updated.  E.g., currently the module's algorithms happen
to use crypto_register_skciphers() but not crypto_register_skcipher(),
but this is just an implementation detail.  Also, most of these extra
symbols will end up being used by OEM crypto drivers (like they are in
android12-5.10) and thus will end up in the KMI anyway.

We could drop this extra stuff if it's preferred, though.

Bug: 188620248
Change-Id: Icd74d8d31889e7771ec0bc0c05bcb59173016a8a
Signed-off-by: Eric Biggers <ebiggers@google.com>
This commit is contained in:
Eric Biggers
2021-10-12 11:39:14 -07:00
committed by Matthias Maennich
parent 02e48f383b
commit 19ed81406a

View File

@@ -6,10 +6,13 @@
# required by fips140.ko
add_random_ready_callback
aead_register_instance
ahash_register_instance
arch_timer_read_counter
bcmp
cancel_work_sync
__cfi_slowpath
complete_all
completion_done
cpu_have_feature
crypto_aead_decrypt
crypto_aead_encrypt
@@ -40,11 +43,16 @@
crypto_inst_setname
crypto_put_default_null_skcipher
crypto_register_aead
crypto_register_aeads
crypto_register_ahash
crypto_register_ahashes
crypto_register_alg
crypto_register_algs
crypto_register_rng
crypto_register_rngs
crypto_register_shash
crypto_register_shashes
crypto_register_skcipher
crypto_register_skciphers
crypto_register_template
crypto_register_templates
@@ -137,3 +145,5 @@
tracepoint_probe_register
up_write
wait_for_completion
xa_load
xa_store