Adds flash encryption support for C3 and updates docs for S2 & C3
Based on internal commit 3ef01301fff