BALTECH Docs |
C API for BALTECH SDK
|
#include "../typedefs.h"
Go to the source code of this file.
Macros | |
#define | BRP_Crypto_CrptErrInvalidBlock BRP_ERR_STATUS(0x0200, 0x01) |
#define | BRP_Crypto_CrptErrAuth BRP_ERR_STATUS(0x0200, 0x02) |
#define | BRP_Crypto_CrptErrKeyNotFound BRP_ERR_STATUS(0x0200, 0x03) |
#define | BRP_Crypto_CrptErrWriteConfigkey BRP_ERR_STATUS(0x0200, 0x04) |
#define | BRP_Crypto_CrptErrInvalidKey BRP_ERR_STATUS(0x0200, 0x05) |
Functions | |
brp_errcode | brp_Crypto_EncryptBlock (brp_protocol protocol, unsigned KeyIndex, brp_buf KeyValue, brp_buf Block, brp_buf *EncryptedBlock, brp_mempool *mempool) |
brp_errcode | brp_Crypto_DecryptBlock (brp_protocol protocol, unsigned KeyIndex, brp_buf KeyValue, brp_buf Block, brp_buf *UnencryptedBlock, brp_mempool *mempool) |
brp_errcode | brp_Crypto_EncryptBuffer (brp_protocol protocol, unsigned KeyIndex, brp_buf KeyValue, brp_buf InitialVector, brp_buf Buffer, size_t Buffer_len, brp_buf *NextInitialVector, brp_buf *EncryptedBuffer, size_t *EncryptedBuffer_len, brp_mempool *mempool) |
brp_errcode | brp_Crypto_DecryptBuffer (brp_protocol protocol, unsigned KeyIndex, brp_buf KeyValue, brp_buf InitialVector, brp_buf Buffer, size_t Buffer_len, brp_buf *NextInitialVector, brp_buf *UnencryptedBuffer, size_t *UnencryptedBuffer_len, brp_mempool *mempool) |
brp_errcode | brp_Crypto_BalKeyEncryptBuffer (brp_protocol protocol, unsigned KeyVersion, unsigned EmbeddedKeyIndex, unsigned EmbeddedKeyPos, brp_buf Buffer, size_t Buffer_len, brp_buf InitialVector, size_t InitialVector_len, brp_buf *EncryptedBuffer, size_t *EncryptedBuffer_len, brp_buf *NextInitialVector, size_t *NextInitialVector_len, brp_mempool *mempool) |
brp_errcode | brp_Crypto_GetKeySig (brp_protocol protocol, unsigned KeyIndex, brp_buf KeyValue, unsigned *KeySignature) |
brp_errcode | brp_Crypto_CopyConfigKey (brp_protocol protocol, unsigned KeyIndex, bool ForceDefaultKey) |
This command group regroups the commands needed to use the integrated crypto- engine of the Baltech reader.
Definition in file crypto.h.