Commit e61a6ec2 authored by Eric Biggers's avatar Eric Biggers Committed by Matthias Männich
Browse files

ANDROID: add symbol list for fips140 module



Add the missing fips140_abi build target.  Then, create the fips140
symbol list by running the following command:

    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: 36 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*)'
  '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*)'
  '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_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_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*)'
  'struct crypto_tfm* crypto_spawn_tfm(struct crypto_spawn*, u32, u32)'
  'void* crypto_spawn_tfm2(struct crypto_spawn*)'
  'void crypto_unregister_shashes(struct shash_alg*, int)'
  'void crypto_unregister_skciphers(struct skcipher_alg*, int)'
  'void crypto_unregister_templates(struct crypto_template*, int)'
  'bool rng_is_initialized()'
  'void shash_free_singlespawn_instance(struct shash_instance*)'
  'int shash_register_instance(struct crypto_template*, struct shash_instance*)'

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: default avatarEric Biggers <ebiggers@google.com>
parent 09ca5740
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment