ANDROID: add symbol list for fips140 module
Add the missing fips140_abi build target and add
android/abi_gki_aarch64_fips140 to the list of symbol lists. Then,
create the fips140 symbol list by running the following commands:
echo '[abi_symbol_list]' > android/abi_gki_aarch64_fips140
tools/bazel run //common:fips140_abi_update_symbol_list
Then, update the stg file by running:
tools/bazel run //common:kernel_aarch64_abi_dist
tools/bazel run //common:kernel_aarch64_abi_update_symbol_list
tools/bazel run //common:kernel_aarch64_abi_update
47 function symbol(s) added
'int __traceiter_android_vh_aes_decrypt(void*, const struct crypto_aes_ctx*, u8*, const u8*, int*)'
'int __traceiter_android_vh_aes_encrypt(void*, const struct crypto_aes_ctx*, u8*, const u8*, int*)'
'int __traceiter_android_vh_aes_expandkey(void*, struct crypto_aes_ctx*, const u8*, unsigned int, int*)'
'int __traceiter_android_vh_sha256(void*, const u8*, unsigned int, u8*, int*)'
'int aead_register_instance(struct crypto_template*, struct aead_instance*)'
'int ahash_register_instance(struct crypto_template*, struct ahash_instance*)'
'int crypto_ahash_finup(struct ahash_request*)'
'struct crypto_rng* crypto_alloc_rng(const char*, u32, u32)'
'const char* crypto_attr_alg_name(struct rtattr*)'
'int crypto_check_attr_type(struct rtattr**, u32, u32*)'
'struct crypto_cipher* crypto_clone_cipher(struct crypto_cipher*)'
'struct crypto_shash* crypto_clone_shash(struct crypto_shash*)'
'void crypto_drop_spawn(struct crypto_spawn*)'
'struct crypto_sync_skcipher* crypto_get_default_null_skcipher()'
'int crypto_grab_aead(struct crypto_aead_spawn*, struct crypto_instance*, const char*, u32, u32)'
'int crypto_grab_ahash(struct crypto_ahash_spawn*, struct crypto_instance*, const char*, u32, u32)'
'int crypto_grab_shash(struct crypto_shash_spawn*, struct crypto_instance*, const char*, u32, u32)'
'int crypto_grab_skcipher(struct crypto_skcipher_spawn*, struct crypto_instance*, const char*, u32, u32)'
'int crypto_grab_spawn(struct crypto_spawn*, struct crypto_instance*, const char*, u32, u32)'
'int crypto_inst_setname(struct crypto_instance*, const char*, struct crypto_alg*)'
'void crypto_put_default_null_skcipher()'
'int crypto_register_aeads(struct aead_alg*, int)'
'int crypto_register_ahashes(struct ahash_alg*, int)'
'int crypto_register_algs(struct crypto_alg*, int)'
'int crypto_register_shashes(struct shash_alg*, int)'
'int crypto_register_skciphers(struct skcipher_alg*, int)'
'int crypto_register_template(struct crypto_template*)'
'int crypto_register_templates(struct crypto_template*, int)'
'void crypto_remove_spawns(struct crypto_alg*, struct list_head*, struct crypto_alg*)'
'int crypto_rng_reset(struct crypto_rng*, const u8*, unsigned int)'
'struct crypto_tfm* crypto_spawn_tfm(struct crypto_spawn*, u32, u32)'
'void* crypto_spawn_tfm2(struct crypto_spawn*)'
'void crypto_unregister_aeads(struct aead_alg*, int)'
'void crypto_unregister_shashes(struct shash_alg*, int)'
'void crypto_unregister_skciphers(struct skcipher_alg*, int)'
'void crypto_unregister_template(struct crypto_template*)'
'void crypto_unregister_templates(struct crypto_template*, int)'
'bool rng_is_initialized()'
'void shash_free_singlespawn_instance(struct shash_instance*)'
'int shash_no_setkey(struct crypto_shash*, const u8*, unsigned int)'
'int shash_register_instance(struct crypto_template*, struct shash_instance*)'
'struct skcipher_instance* skcipher_alloc_instance_simple(struct crypto_template*, struct rtattr**)'
'int skcipher_register_instance(struct crypto_template*, struct skcipher_instance*)'
'int skcipher_walk_aead_decrypt(struct skcipher_walk*, struct aead_request*, bool)'
'int skcipher_walk_aead_encrypt(struct skcipher_walk*, struct aead_request*, bool)'
'int skcipher_walk_done(struct skcipher_walk*, int)'
'int skcipher_walk_virt(struct skcipher_walk*, struct skcipher_request*, bool)'
6 variable symbol(s) added
'struct tracepoint __tracepoint_android_vh_aes_decrypt'
'struct tracepoint __tracepoint_android_vh_aes_encrypt'
'struct tracepoint __tracepoint_android_vh_aes_expandkey'
'struct tracepoint __tracepoint_android_vh_sha256'
'struct list_head crypto_alg_list'
'struct rw_semaphore crypto_alg_sem'
Bug: 188620248
Change-Id: I95931f8f3710a4f0a5b642e1c9f7299b72616972
Signed-off-by:
Eric Biggers <ebiggers@google.com>
Loading
Please sign in to comment