LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
Functions
crypt_find_cipher_id.cpp File Reference
#include <logicalaccess/plugins/crypto/tomcrypt.h>

Functions

int find_cipher_id (unsigned char ID)
 

Function Documentation

◆ find_cipher_id()

int find_cipher_id ( unsigned char  ID)

Find a cipher by ID number

Parameters
IDThe ID (not same as index) of the cipher to find
Returns
>= 0 if found, -1 if not present