1
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
3
* LibTomCrypt is a library that provides various cryptographic
4
* algorithms in a highly modular and flexible manner.
6
* The library is free for all purposes without any express
9
* Tom St Denis, tomstdenis@iahu.ca, http://libtomcrypt.org
13
int find_cipher_id(unsigned char ID)
16
for (x = 0; x < TAB_SIZE; x++) {
17
if (cipher_descriptor[x].ID == ID) {
18
return (cipher_descriptor[x].name == NULL) ? -1 : x;