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
INFO: 63 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*)'
'bool cpu_have_feature(unsigned int)'
'int crypto_ahash_finup(struct ahash_request*)'
'int crypto_ahash_setkey(struct crypto_ahash*, const u8*, unsigned int)'
'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*)'
'void crypto_cipher_encrypt_one(struct crypto_cipher*, u8*, const u8*)'
'int crypto_cipher_setkey(struct crypto_cipher*, const u8*, unsigned int)'
'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_aead(struct aead_alg*)'
'int crypto_register_aeads(struct aead_alg*, int)'
'int crypto_register_ahash(struct ahash_alg*)'
'int crypto_register_ahashes(struct ahash_alg*, int)'
'int crypto_register_alg(struct crypto_alg*)'
'int crypto_register_algs(struct crypto_alg*, int)'
'int crypto_register_rng(struct rng_alg*)'
'int crypto_register_rngs(struct rng_alg*, int)'
'int crypto_register_shashes(struct shash_alg*, int)'
'int crypto_register_skcipher(struct skcipher_alg*)'
'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)'
'bool crypto_shash_alg_has_setkey(struct shash_alg*)'
'int crypto_shash_tfm_digest(struct crypto_shash*, const u8*, unsigned int, u8*)'
'struct crypto_tfm* crypto_spawn_tfm(struct crypto_spawn*, u32, u32)'
'void* crypto_spawn_tfm2(struct crypto_spawn*)'
'void crypto_unregister_aead(struct aead_alg*)'
'void crypto_unregister_alg(struct crypto_alg*)'
'void crypto_unregister_rng(struct rng_alg*)'
'void crypto_unregister_rngs(struct rng_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)'
'void kernel_neon_begin()'
'void kernel_neon_end()'
'bool rng_is_initialized()'
'struct scatterlist* scatterwalk_ffwd(struct scatterlist*, struct scatterlist*, unsigned int)'
'void scatterwalk_map_and_copy(void*, struct scatterlist*, unsigned int, unsigned int, int)'
'void shash_free_singlespawn_instance(struct shash_instance*)'
'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)'
8 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'
'bool fpsimd_context_busy'
'irq_cpustat_t irq_stat'
Bug: 188620248
Change-Id: I95931f8f3710a4f0a5b642e1c9f7299b72616972
Signed-off-by:
Eric Biggers <ebiggers@google.com>
Loading
Please sign in to comment