Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * AMCC SoC PPC4xx Crypto Driver
0004  *
0005  * Copyright (c) 2008 Applied Micro Circuits Corporation.
0006  * All rights reserved. James Hsiao <jhsiao@amcc.com>
0007  *
0008  * This file defines the security context
0009  * associate format.
0010  */
0011 
0012 #ifndef __CRYPTO4XX_TRNG_H__
0013 #define __CRYPTO4XX_TRNG_H__
0014 
0015 #ifdef CONFIG_HW_RANDOM_PPC4XX
0016 void ppc4xx_trng_probe(struct crypto4xx_core_device *core_dev);
0017 void ppc4xx_trng_remove(struct crypto4xx_core_device *core_dev);
0018 #else
0019 static inline void ppc4xx_trng_probe(
0020     struct crypto4xx_core_device *dev __maybe_unused) { }
0021 static inline void ppc4xx_trng_remove(
0022     struct crypto4xx_core_device *dev __maybe_unused) { }
0023 #endif
0024 
0025 #endif