- Dual-Core Architecture: Dedicated 1000Hz USB gaming pipeline on Core 1 and BLE/Wi-Fi/Web telemetry on Core 0. - Multi-Input BLE Host: Parsers for Xbox Wireless, Google Stadia, 8BitDo (Ultimate/Pro2/SN30), and Generic HOGP gamepads. - Multi-Console USB Emulation: Nintendo Switch, PC DirectInput, PS3, PS4, Xbox 360 (libxsm3 cryptographic challenge-response), Original Xbox, and Couch Mouse/Keyboard. - Onboard Web Portal & Captive Portal: Real-time SVG gamepad visualizer, stick deadzone calibration, button combo remapping, and Wi-Fi manager. - Low-Latency Radio Management: Interactive SoftAP toggle to drop to 0-latency gaming mode. - Dual OTA Firmware Flashing: Browser-based wireless firmware updater and automated Python OTA script. - Strict Build Quality: Clean build under -Wall -Wextra with zero warnings or errors. - Versioning & Licensing: Semantic Versioning v1.0.0 and GNU GPLv3 with Commercial Restrictions.
24 lines
856 B
C
24 lines
856 B
C
#ifndef EXCRYPT_DES_H_
|
|
#define EXCRYPT_DES_H_
|
|
// DES & 3DES functions
|
|
|
|
typedef struct _EXCRYPT_DES_STATE
|
|
{
|
|
uint64_t keytab[16];
|
|
} EXCRYPT_DES_STATE;
|
|
|
|
void ExCryptDesParity(const uint8_t* input, uint32_t input_size, uint8_t* output);
|
|
|
|
void ExCryptDesKey(EXCRYPT_DES_STATE* state, const uint8_t* key);
|
|
void ExCryptDesEcb(const EXCRYPT_DES_STATE* state, const uint8_t* input, uint8_t* output, uint8_t encrypt);
|
|
|
|
typedef struct _EXCRYPT_DES3_STATE
|
|
{
|
|
EXCRYPT_DES_STATE des_state[3];
|
|
} EXCRYPT_DES3_STATE;
|
|
|
|
void ExCryptDes3Key(EXCRYPT_DES3_STATE* state, const uint64_t* keys);
|
|
void ExCryptDes3Ecb(const EXCRYPT_DES3_STATE* state, const uint8_t* input, uint8_t* output, uint8_t encrypt);
|
|
void ExCryptDes3Cbc(const EXCRYPT_DES3_STATE* state, const uint8_t* input, uint32_t input_size, uint8_t* output, uint8_t* feed, uint8_t encrypt);
|
|
|
|
#endif // EXCRYPT_DES_H_
|