1. Swap adjacent bits in 32 bit integer
2. Macro to set x number of bits at position y with value v in integer z without affecting rest of the bits
3. Write a function to remove all LSB zeroes in 32 bit integer without using any loops
4. How would you lay down a portable software architecture framework to support multiple CPU architectures, drivers, give pros & cons
5. Prove the following hypothesis right or wrong: if x & z are sequential primes then the number y is always divisible by 6 for a sequence of number x y & z (for e.g. 5 6 7, 11 12 13)
6. Why padding is required for RSA algorithms & what are the padding schemes
7. Propose a solution to update a firmware which is encrypted & signed using a key stored in hardware with assumption that key can not be changed but new firmware should be signed with different key
8. Guidelines for security firmware development which are specific to a hardware platform (read ARM)
9. Given a piece of code find out what are the security vulnerabilities
10. Give a string encoded in number format write c code to find out all possible decoded output. A-Z are encoded from 1 to 26. Assumption is only 1-9 numbers will be present in encoded output
11. How does secure boot process works
12. Design an efficient memory manager (malloc/free)