Hi All,
We need to use a message authentication code (MAC) in a 10 bytes radio message. Our requirement is a 32-bit tag (32 bit MAC code). I was reading some information about MAC, HMAC, UMAC and so on, but I'm wondering if this algorithms are suitable for a MC9s12xdp512 mcu. ¿Is there any C-code available in freescale about MACs?
I think the best solution for this problem or, at least the simplest, is HMAC (with hash function output 32-bit.. I don't know what function is it!) or UMAC (this algorithm uses Uhash function, with three layers).
I'm really lost in these terms, perhaps somebody has worked with MACs and 16-bits MCUs and can help me.
Thanks in advance.
Added p/n to subject.
I again fully support last kef's opinion... !
If you consider UNBREAKABLE cryptography this is NOT MCU application !!
on the other hand a much simpler hash will do the job !
Try kef links and if could not be implemented in S12 start thinking some other platform, since i think your application has a lot more strict requirements that don't apply for an MCU but rather fall in the upper level CPU category............ I shall give an example (trust me, i know.......)... You can find MANY MCUs (8, 16 or even 32 bit) for a simple commercial application, but if you try to get them to a MILITARY application (cryptography requirements are used a lot there...) you'll never qualify!!!............ even if you DO implement the strongest crypto algorithm there are PHYSICAL, H/W and even S/W design requirements concerning security that it will not pas... Even most of common CPUs will NOT pass and are NOT qualified for such a design.