crypto4xx_trng.h 697 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * AMCC SoC PPC4xx Crypto Driver
  4. *
  5. * Copyright (c) 2008 Applied Micro Circuits Corporation.
  6. * All rights reserved. James Hsiao <[email protected]>
  7. *
  8. * This file defines the security context
  9. * associate format.
  10. */
  11. #ifndef __CRYPTO4XX_TRNG_H__
  12. #define __CRYPTO4XX_TRNG_H__
  13. #ifdef CONFIG_HW_RANDOM_PPC4XX
  14. void ppc4xx_trng_probe(struct crypto4xx_core_device *core_dev);
  15. void ppc4xx_trng_remove(struct crypto4xx_core_device *core_dev);
  16. #else
  17. static inline void ppc4xx_trng_probe(
  18. struct crypto4xx_core_device *dev __maybe_unused) { }
  19. static inline void ppc4xx_trng_remove(
  20. struct crypto4xx_core_device *dev __maybe_unused) { }
  21. #endif
  22. #endif