#include <stdint.h>
Idź do kodu źródłowego tego pliku.
Struktury danych |
| struct | sim_message_header |
Definicje |
| #define | SIM_MAGIC_V1 0x2391 |
| #define | SIM_MAGIC_V1_BE 0x9123 |
Wyliczenia |
| enum | sim_errno_t {
SIM_ERROR_SUCCESS,
SIM_ERROR_PUBLIC,
SIM_ERROR_PRIVATE,
SIM_ERROR_RSA,
SIM_ERROR_BF,
SIM_ERROR_RAND,
SIM_ERROR_MEMORY,
SIM_ERROR_INVALID,
SIM_ERROR_MAGIC
} |
Funkcje |
| char * | sim_message_decrypt (const unsigned char *message, const char *uid) |
| char * | sim_message_encrypt (const unsigned char *message, const char *uid) |
| int | sim_key_generate (const char *uid) |
| char * | sim_key_fingerprint (const char *uid) |
| const char * | sim_strerror (int error) |
Zmienne |
| char * | sim_key_path |
| int | sim_errno |
Dokumentacja definicji
| #define SIM_MAGIC_V1 0x2391 |
| #define SIM_MAGIC_V1_BE 0x9123 |
Dokumentacja typów wyliczanych
- Wartości wyliczeń:
| SIM_ERROR_SUCCESS |
|
| SIM_ERROR_PUBLIC |
|
| SIM_ERROR_PRIVATE |
|
| SIM_ERROR_RSA |
|
| SIM_ERROR_BF |
|
| SIM_ERROR_RAND |
|
| SIM_ERROR_MEMORY |
|
| SIM_ERROR_INVALID |
|
| SIM_ERROR_MAGIC |
|
Dokumentacja funkcji
| char* sim_key_fingerprint |
( |
const char * |
uid |
) |
|
| int sim_key_generate |
( |
const char * |
uid |
) |
|
| char* sim_message_decrypt |
( |
const unsigned char * |
message, |
|
|
const char * |
uid | |
|
) |
| | |
| char* sim_message_encrypt |
( |
const unsigned char * |
message, |
|
|
const char * |
uid | |
|
) |
| | |
| const char* sim_strerror |
( |
int |
error |
) |
|
Dokumentacja zmiennych