/*1* RNG: Random Number Generator algorithms under the crypto API2*3* Copyright (c) 2008 Neil Horman <[email protected]>4*5* This program is free software; you can redistribute it and/or modify it6* under the terms of the GNU General Public License as published by the Free7* Software Foundation; either version 2 of the License, or (at your option)8* any later version.9*10*/1112#ifndef _CRYPTO_INTERNAL_RNG_H13#define _CRYPTO_INTERNAL_RNG_H1415#include <crypto/algapi.h>16#include <crypto/rng.h>1718extern const struct crypto_type crypto_rng_type;1920static inline void *crypto_rng_ctx(struct crypto_rng *tfm)21{22return crypto_tfm_ctx(&tfm->base);23}2425#endif262728