mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-14 00:04:13 +09:00
restore RPiPlay's crypto implementation, now they have fixed the aes-cbc bug.
This commit is contained in:
@@ -41,8 +41,7 @@ typedef enum aes_direction_e { AES_DECRYPT, AES_ENCRYPT } aes_direction_t;
|
||||
|
||||
typedef struct aes_ctx_s aes_ctx_t;
|
||||
|
||||
aes_ctx_t *aes_ctr_encrypt_init(const uint8_t *key, const uint8_t *iv);
|
||||
aes_ctx_t *aes_ctr_decrypt_init(const uint8_t *key, const uint8_t *iv);
|
||||
aes_ctx_t *aes_ctr_init(const uint8_t *key, const uint8_t *iv);
|
||||
void aes_ctr_reset(aes_ctx_t *ctx);
|
||||
void aes_ctr_encrypt(aes_ctx_t *ctx, const uint8_t *in, uint8_t *out, int len);
|
||||
void aes_ctr_decrypt(aes_ctx_t *ctx, const uint8_t *in, uint8_t *out, int len);
|
||||
|
||||
Reference in New Issue
Block a user