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

Functions

int register_cipher (const struct ltc_cipher_descriptor *cipher)
 

Function Documentation

◆ register_cipher()

int register_cipher ( const struct ltc_cipher_descriptor cipher)

Register a cipher with the descriptor table

Parameters
cipherThe cipher you wish to register
Returns
value >= 0 if successfully added (or already present), -1 if unsuccessful