SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
secAccessFlags = SL_FS_FILE_MODE_OPEN_CREATE(fpInSize,SL_FS_FILE_DOWNLOAD_SECURED_CONTENT);
fileHande = sl_FsOpen("sec_cont1.txt",secAccessFlags,NULL);
if(0 > fileHande)
{
/* error */
}
At the end of this process, the file is saved on the SFLASH, and encrypted as a normal secured file in the file system. The file system uses a different key and method than the ones used to encrypt the file for the secure content delivery process.
Figure 18-1 shows this process.