asn1_test.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * GRUB -- GRand Unified Bootloader
  3. * Copyright (C) 2020 IBM Corporation
  4. * Copyright (C) 2024 Free Software Foundation, Inc.
  5. *
  6. * GRUB is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * GRUB is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
  18. */
  19. #ifndef LIBTASN1_WRAP_TESTS_H
  20. #define LIBTASN1_WRAP_TESTS_H
  21. #include <libtasn1.h>
  22. #include <grub/err.h>
  23. #include <grub/mm.h>
  24. #include <grub/misc.h>
  25. #include <grub/types.h>
  26. extern int test_CVE_2018_1000654 (void);
  27. extern int test_object_id_encoding (void);
  28. extern int test_object_id_decoding (void);
  29. extern int test_octet_string (void);
  30. extern int test_overflow (void);
  31. extern int test_reproducers (void);
  32. extern int test_simple (void);
  33. extern int test_strings (void);
  34. #endif