|
@@ -35,10 +35,10 @@ static inline void get_random_NZ ( int num_rand_bytes, uint8_t *rand_data ) {
|
35
|
35
|
#define aes 1
|
36
|
36
|
#if OBJECT
|
37
|
37
|
|
38
|
|
-/* AES_CTX is not defined at this point, so omit prototypes */
|
|
38
|
+struct aes_key_st;
|
39
|
39
|
|
40
|
|
-static void AES_encrypt();
|
41
|
|
-static void AES_decrypt();
|
|
40
|
+static void AES_encrypt ( const struct aes_key_st *ctx, uint32_t *data );
|
|
41
|
+static void AES_decrypt ( const struct aes_key_st *ctx, uint32_t *data );
|
42
|
42
|
|
43
|
43
|
void axtls_aes_encrypt ( void *ctx, uint32_t *data ) {
|
44
|
44
|
AES_encrypt ( ctx, data );
|