Other Parts Discussed in Thread: SHA-256
Hello,
I am a student and I am doing a graduation project, the subject of which is the security of a wireless sensor network. I did the encryption and decryption of packets transmits and received by AES-CCM on CC1310; I have some questions to ask you:
1 / I would like to add a hash function like sha-256, but I have not found any examples of code or information about this part?
2 / I will use a key communication protocol that I proposed, and that is based on three keys:
1) The first key will be private and static.
2) A session key generated by the random generator and will be encrypted with a challenge hello to make the transfers between the nodes and the sink.
3) An authentication key that will be generated by the random generator and will remain constant for 24 hours.
The other questions are:
1) Is there a secure part in the memory, or I can store my private key. a part in the separate memory of the code?
2) How can I make this change, by code? (I am in second master electronic, system and I did not have much notion on the aspect security and its implementation.)
3) If you have examples of key exchange codes with algo AES can you share with me or point me to the right path.
NB: wireless sensor network: star topology, I work on two nodes CC1310 lanchpads but after, it is necessary that the code works on a system of more than 100 nodes. Thank you in advance for your answer