|
|
|
|
54
|
void AES_cbc_encrypt(AES_CTX *ctx, const uint8_t *msg,
|
54
|
void AES_cbc_encrypt(AES_CTX *ctx, const uint8_t *msg,
|
55
|
uint8_t *out, int length);
|
55
|
uint8_t *out, int length);
|
56
|
void AES_cbc_decrypt(AES_CTX *ks, const uint8_t *in, uint8_t *out, int length);
|
56
|
void AES_cbc_decrypt(AES_CTX *ks, const uint8_t *in, uint8_t *out, int length);
|
|
|
57
|
+#if 0 /** currently unused function **/
|
57
|
void AES_convert_key(AES_CTX *ctx);
|
58
|
void AES_convert_key(AES_CTX *ctx);
|
|
|
59
|
+#endif
|
58
|
|
60
|
|
59
|
/**************************************************************************
|
61
|
/**************************************************************************
|
60
|
* RC4 declarations
|
62
|
* RC4 declarations
|