1. 13 Feb, 2023 1 commit
    • Arnd Bergmann's avatar
      crypto: certs: fix FIPS selftest dependency · 0f5d4a0b
      Arnd Bergmann authored
      The selftest code is built into the x509_key_parser module, and depends
      on the pkcs7_message_parser module, which in turn has a dependency on
      the key parser, creating a dependency loop and a resulting link
      failure when the pkcs7 code is a loadable module:
      
      ld: crypto/asymmetric_keys/selftest.o: in function `fips_signature_selftest':
      crypto/asymmetric_keys/selftest.c:205: undefined reference to `pkcs7_parse_message'
      ld: crypto/asymmetric_keys/selftest.c:209: undefined reference to `pkcs7_supply_detached_data'
      ld: crypto/asymmetric_keys/selftest.c:211: undefined reference to `pkcs7_verify'
      ld: crypto/asymmetric_keys/selftest.c:215: undefined reference to `pkcs7_validate_trust'
      ld: crypto/asymmetric_keys/selftest.c:219: undefined reference to `pkcs7_free_message'
      
      Avoid this by only allowing the selftest to be enabled when either
      both parts are loadable modules, or both are built-in.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
      Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
      0f5d4a0b
  2. 12 Feb, 2023 10 commits
  3. 11 Feb, 2023 5 commits
  4. 10 Feb, 2023 16 commits
  5. 09 Feb, 2023 8 commits