SEcube open-source SDK
creation parameter for secure_open

Use this values as creation parameter for secure_open().

#define SEFILE_NEWFILE   CREATE_ALWAYS
 
#define SEFILE_OPEN   OPEN_EXISTING
 

Detailed Description

Macro Definition Documentation

◆ SEFILE_NEWFILE

#define SEFILE_NEWFILE   CREATE_ALWAYS

Forces file creation even if the file already exists.

◆ SEFILE_OPEN

#define SEFILE_OPEN   OPEN_EXISTING

Opens only if the file already exists.