mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-10-13 11:17:49 +02:00
27 lines
531 B
C
27 lines
531 B
C
/**
|
|
* @file crypto.h
|
|
* @brief Lightweight rolling cipher interface for Operation Iron Net
|
|
* @author Kevin Thomas
|
|
* @date 2026
|
|
*
|
|
* MIT License
|
|
* Copyright (c) 2026 Kevin Thomas
|
|
*/
|
|
|
|
#ifndef CRYPTO_H
|
|
#define CRYPTO_H
|
|
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
|
|
#define TOKEN_LEN 8
|
|
|
|
/**
|
|
* @brief Decrypt the rolling strike authorization token into a buffer.
|
|
* @param dest Pointer to buffer receiving the decrypted token bytes.
|
|
* @return void No return value.
|
|
*/
|
|
void decrypt_auth_token(uint8_t *dest);
|
|
|
|
#endif /* CRYPTO_H */
|