4 int select_crypto_if(int ifno);
5 unsigned long encrypt(void *key, int keylen, void *pt, void *ct, int tlen);
6 unsigned long decrypt(void *key, int keylen, void *ct, void *pt, int tlen);
7 unsigned long hash(void *pt, int tlen, void *tag, int *taglen);
8 unsigned long hmac(void *key, int keylen, void *pt, int tlen,
9 void *tag, int *taglen);
10 const char *crypto_errstr(unsigned long err);