summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/sdc_crypto.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-05-13 12:45:53 +0200
committerUros Majstorovic <majstor@majstor.org>2022-05-13 12:45:53 +0200
commit412a8f99928beff605805807b0f07f6bf8d0a965 (patch)
tree366f1768ddfd32960c5d26ca3fba14e82c3b571e /fw/fe310/eos/sdc_crypto.h
parent9ccb4db8d59ec9dab33ee8617d462f21a8bb4fa8 (diff)
code rename
Diffstat (limited to 'fw/fe310/eos/sdc_crypto.h')
-rw-r--r--fw/fe310/eos/sdc_crypto.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/fw/fe310/eos/sdc_crypto.h b/fw/fe310/eos/sdc_crypto.h
deleted file mode 100644
index 015bf8a..0000000
--- a/fw/fe310/eos/sdc_crypto.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <stddef.h>
-#include <stdint.h>
-
-typedef void (*eve_sdcc_init_t) (void *, uint8_t *);
-typedef void (*eve_sdcc_crypt_t) (void *, uint8_t *, uint8_t *, size_t);
-typedef void (*eve_sdcc_essiv_t) (void *, uint8_t *);
-
-typedef struct EOSSDCCrypto {
- void *ctx;
- eve_sdcc_crypt_t enc;
- eve_sdcc_crypt_t dec;
- void *ctx_essiv;
- eve_sdcc_essiv_t enc_essiv;
-} EOSSDCCrypto;
-
-void eos_sdcc_init(EOSSDCCrypto *crypto, uint8_t *key, void *ctx, eve_sdcc_init_t init, eve_sdcc_crypt_t enc, eve_sdcc_crypt_t dec, void *ctx_essiv, eve_sdcc_init_t init_essiv, eve_sdcc_essiv_t enc_essiv);
-void eos_sdcc_encrypt(uint32_t sect, uint8_t *buffer);
-void eos_sdcc_decrypt(uint32_t sect, uint8_t *buffer); \ No newline at end of file