added some crypto

This commit is contained in:
merlokk
2018-10-26 14:12:20 +03:00
parent ef4b2fae8a
commit 8bb192fc75
7 changed files with 459 additions and 1 deletions

View File

@@ -16,5 +16,7 @@
extern int aes_encode(uint8_t *iv, uint8_t *key, uint8_t *input, uint8_t *output, int length);
extern int aes_decode(uint8_t *iv, uint8_t *key, uint8_t *input, uint8_t *output, int length);
extern int aes_cmac(uint8_t *iv, uint8_t *key, uint8_t *input, uint8_t *mac, int length);
extern int aes_cmac8(uint8_t *iv, uint8_t *key, uint8_t *input, uint8_t *mac, int length);
#endif /* libpcrypto.h */