blob: bc5ba235e15dd0fa1931b1f2e9542ca681db113b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*
* misc.h All that didn't fit elsewhere.
*
* Copyright (C) 1995 Olaf Kirch <okir@monad.swb.de>
*/
#ifndef MISC_H
#define MISC_H
/*
* Generate random key, returning the length of the result. Currently,
* weakrandomkey generates a maximum of 20 bytes are generated, but this
* may change with future implementations.
*/
int randomkey(unsigned char *keyout, int len);
int weakrandomkey(unsigned char *keyout, int len);
extern int is_mountpoint(char *path);
#endif /* MISC_H */
|