summaryrefslogtreecommitdiff
path: root/lib/accelerated/cryptodev.h
blob: 78b81cbd533b3bef2d321eb85c4e36f3152c2afb (plain)
1
2
3
4
5
6
7
8
9
extern int _gnutls_cryptodev_fd;

#define CHECK_AES_KEYSIZE(s) \
	if (s != 16 && s != 24 && s != 32) \
		return GNUTLS_E_INVALID_REQUEST

void _gnutls_cryptodev_deinit(void);
int _gnutls_cryptodev_init(void);
int _cryptodev_register_gcm_crypto(int cfd);