lots of changes, some project restructuring and a new experiment
This commit is contained in:
13
c8_remote/lib/payload/include/crypto_dev.h
Normal file
13
c8_remote/lib/payload/include/crypto_dev.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef CHECKM8_TOOL_CRYPTO_H
|
||||
#define CHECKM8_TOOL_CRYPTO_H
|
||||
|
||||
#include "bootrom_type.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);
|
||||
|
||||
|
||||
#endif //CHECKM8_TOOL_CRYPTO_H
|
||||
Reference in New Issue
Block a user