X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fsec%2Fcipher%2Faes_f32.h;h=4fa64a0f9361f4ab9bebcea39074c4e125079a14;hb=4278d44ef7681c56f4bd16615c3c4d9338112df4;hp=d172388decab101057c03cdf259bf537796b28bf;hpb=6d06c404f1e39253c5c7918fe0e044db462433e4;p=bertos.git diff --git a/bertos/sec/cipher/aes_f32.h b/bertos/sec/cipher/aes_f32.h index d172388d..4fa64a0f 100644 --- a/bertos/sec/cipher/aes_f32.h +++ b/bertos/sec/cipher/aes_f32.h @@ -440,7 +440,9 @@ static void lazy_expandKeyEnc256(uint32_t *k) } } -static const void (*lazy_expandKeyEnc[3])(uint32_t *k) = +typedef void (*lazy_expand_handler)(uint32_t *); + +static const lazy_expand_handler lazy_expandKeyEnc[3] = { lazy_expandKeyEnc128, lazy_expandKeyEnc192, lazy_expandKeyEnc256, };