Cleaned up headers
This commit is contained in:
21
c8_remote/include/util/experiments.h
Normal file
21
c8_remote/include/util/experiments.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef CHECKM8_TOOL_EXPERIMENTS_H
|
||||
#define CHECKM8_TOOL_EXPERIMENTS_H
|
||||
|
||||
#include "tool/payload.h"
|
||||
#include "dev/types.h"
|
||||
|
||||
/* AES Software */
|
||||
DEV_PTR_T setup_bern_exp(struct pwned_device *dev);
|
||||
struct bern_data *get_bern_exp_data(struct pwned_device *dev, DEV_PTR_T async_buf);
|
||||
|
||||
DEV_PTR_T setup_corr_exp(struct pwned_device *dev, unsigned char *init_key);
|
||||
struct corr_data *get_corr_exp_data(struct pwned_device *dev, DEV_PTR_T async_buf);
|
||||
|
||||
/* System */
|
||||
void usb_task_exit(struct pwned_device *dev);
|
||||
|
||||
/* Power */
|
||||
void floppysleep(struct pwned_device *dev);
|
||||
void floppysleep_async(struct pwned_device *dev);
|
||||
|
||||
#endif //CHECKM8_TOOL_EXPERIMENTS_H
|
||||
14
c8_remote/include/util/host_crypto.h
Normal file
14
c8_remote/include/util/host_crypto.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef CHECKM8_TOOL_HOST_CRYPTO_H
|
||||
#define CHECKM8_TOOL_HOST_CRYPTO_H
|
||||
|
||||
#include "dev/types.h"
|
||||
|
||||
void expand_key(unsigned char key[16], unsigned char key_sched[176],
|
||||
int n, struct aes_constants *c);
|
||||
|
||||
void aes128_encrypt_ecb(unsigned char *msg, unsigned int msg_len,
|
||||
unsigned char key_sched[176], struct aes_constants *c);
|
||||
|
||||
struct aes_constants *get_constants();
|
||||
|
||||
#endif //CHECKM8_TOOL_HOST_CRYPTO_H
|
||||
Reference in New Issue
Block a user