Commit add2ac38 authored by npzacs's avatar npzacs
Browse files

Hide implementation details

parent 7480f16e
......@@ -41,6 +41,13 @@
#define PATCHED_DRIVE 0
#endif
struct mmc {
int fd;
uint8_t sk, asc, ascq;
uint8_t host_priv_key[20], host_cert[92], host_nonce[20];
uint8_t host_key_point[40];
};
static int _mmc_send_cmd(MMC *mmc, const uint8_t *cmd, uint8_t *buf, size_t tx,
size_t rx)
{
......
......@@ -23,12 +23,6 @@
#include <stdint.h>
typedef struct mmc MMC;
struct mmc {
int fd;
uint8_t sk, asc, ascq;
uint8_t host_priv_key[20], host_cert[92], host_nonce[20];
uint8_t host_key_point[40];
};
MMC *mmc_open(const char *path, const uint8_t *host_priv_key,
const uint8_t *host_cert, const uint8_t *host_nonce,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment