summaryrefslogtreecommitdiffstats
path: root/sys/crypto/cast128/cast128.h
blob: c316f170cbb7bb1eca4c7f9e1e5f44b2622a105f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*	$FreeBSD$	*/

#ifndef _CAST128_H_
#define _CAST128_H_

#include <opencrypto/cast.h>

#define cast128_key	cast_key

#define cast128_setkey(key, rawkey, keybytes) \
	cast_setkey((key), (rawkey), (keybytes))
#define cast128_encrypt(key, inblock, outblock) \
	cast_encrypt((key), (inblock), (outblock))
#define cast128_decrypt(key, inblock, outblock) \
	cast_decrypt((key), (inblock), (outblock))

#endif /* _CAST128_H_ */
OpenPOWER on IntegriCloud