[PATCH 1/5] x86/microcode/intel: Change checksum variables to u32

2016-03-07 Thread Borislav Petkov
From: Chris Bainbridge Microcode checksum verification should be done using unsigned 32-bit values otherwise the calculation overflow results in undefined behaviour. This is also nicely documented in the SDM, section "Microcode Update Checksum": "To check for a

[PATCH 1/5] x86/microcode/intel: Change checksum variables to u32

2016-03-07 Thread Borislav Petkov
From: Chris Bainbridge Microcode checksum verification should be done using unsigned 32-bit values otherwise the calculation overflow results in undefined behaviour. This is also nicely documented in the SDM, section "Microcode Update Checksum": "To check for a corrupt microcode update,