BALTECH Docs |
C API for BALTECH SDK
|
Encryption Commands for Rijkspas Readers. More...
#include "../typedefs.h"
Go to the source code of this file.
Macros | |
#define | BRP_UlRdr_ErrResponse BRP_ERR_STATUS(0xA500, 0x01) |
Response received from reader is unexpected. More... | |
#define | BRP_UlRdr_ErrSequence BRP_ERR_STATUS(0xA500, 0x02) |
Command sequence was not kept. More... | |
#define | BRP_UlRdr_ErrSignature BRP_ERR_STATUS(0xA500, 0x03) |
Signature of SEND_ENCRYPTED is invalid. More... | |
Functions | |
brp_errcode | brp_UlRdr_SendAuth1 (brp_protocol protocol, unsigned *SendDevCode, unsigned *SendCmdCode, brp_buf *SendParams, size_t *SendParams_len, brp_mempool *mempool) |
Retrieves the command that has to be sent to the reader to unlock, to initiate authentication. More... | |
brp_errcode | brp_UlRdr_RecvAuth1 (brp_protocol protocol, unsigned RecvStatus, brp_buf RecvResult, size_t RecvResult_len) |
Passes the response of the reader to unlock. More... | |
brp_errcode | brp_UlRdr_SendAuth2 (brp_protocol protocol, unsigned *SendDevCode, unsigned *SendCmdCode, brp_buf *SendParams, size_t *SendParams_len, brp_mempool *mempool) |
Retrieves the command that has to be send to the reader to unlock, to continue authentication. More... | |
brp_errcode | brp_UlRdr_RecvAuth2 (brp_protocol protocol, unsigned RecvStatus, brp_buf RecvResult, size_t RecvResult_len) |
Passes the response of the reader to unlock. More... | |
brp_errcode | brp_UlRdr_SendEncryptedCmd (brp_protocol protocol, brp_buf Signature, unsigned DevCode, unsigned CmdCode, brp_buf Params, size_t Params_len, unsigned *SendDevCode, unsigned *SendCmdCode, brp_buf *SendParams, size_t *SendParams_len, brp_mempool *mempool) |
Encrypts the given command with the session key generated in the previous 3-pass-authentication. More... | |
brp_errcode | brp_UlRdr_RecvEncryptedCmd (brp_protocol protocol, unsigned RecvStatus, brp_buf RecvResult, size_t RecvResult_len, unsigned *Status) |
Check the response received by the command brp_UlRdr_SendEncryptedCmd(). More... | |
Encryption Commands for Rijkspas Readers.
Definition in file ulrdr.h.