Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
crypto
internal
rng.h
Go to the documentation of this file.
1
/*
2
* RNG: Random Number Generator algorithms under the crypto API
3
*
4
* Copyright (c) 2008 Neil Horman <
[email protected]
>
5
*
6
* This program is free software; you can redistribute it and/or modify it
7
* under the terms of the GNU General Public License as published by the Free
8
* Software Foundation; either version 2 of the License, or (at your option)
9
* any later version.
10
*
11
*/
12
13
#ifndef _CRYPTO_INTERNAL_RNG_H
14
#define _CRYPTO_INTERNAL_RNG_H
15
16
#include <
crypto/algapi.h
>
17
#include <
crypto/rng.h
>
18
19
extern
const
struct
crypto_type
crypto_rng_type
;
20
21
static
inline
void
*crypto_rng_ctx(
struct
crypto_rng
*tfm)
22
{
23
return
crypto_tfm_ctx(&tfm->
base
);
24
}
25
26
#endif
Generated on Thu Jan 10 2013 14:50:54 for Linux Kernel by
1.8.2