[crypto] Add a placeholder for a proper random number generator

Currently it just calls random().

Signed-off-by: Marty Connor <mdc@etherboot.org>
This commit is contained in:
Joshua Oreman
2009-06-29 22:54:16 -07:00
committed by Marty Connor
parent 6c6db8647b
commit 8d08da3a99
2 changed files with 57 additions and 0 deletions

View File

@@ -151,4 +151,6 @@ extern struct digest_algorithm digest_null;
extern struct cipher_algorithm cipher_null;
extern struct pubkey_algorithm pubkey_null;
void get_random_bytes ( void *buf, size_t len );
#endif /* _GPXE_CRYPTO_H */