first_file.c 759 B

1234567891011121314151617181920212223242526272829303132
  1. #include <linux/init.h>
  2. /* Keep this on top */
  3. static const char
  4. builtime_crypto_hmac[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
  5. 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f};
  6. const int first_crypto_rodata = 10;
  7. int first_crypto_data = 20;
  8. void first_crypto_text (void) __attribute__((unused));
  9. void first_crypto_text (void)
  10. {
  11. }
  12. const char *
  13. get_builtime_crypto_hmac (void)
  14. {
  15. return builtime_crypto_hmac;
  16. }
  17. void __init first_crypto_init(void) __attribute__((unused));
  18. void __init first_crypto_init(void)
  19. {
  20. }
  21. void __exit first_crypto_exit(void) __attribute__((unused));
  22. void __exit first_crypto_exit(void)
  23. {
  24. }