SmFsCreateFile

Synopsis
int SmFsCreateFile(const char * name,
    		    unsigned int len);
Description

Allocates NVRAM memory and a directory entry for an encrypted file.  Once a file has been created, its size can not be changed.

NOTE   These files are encrypted. If the HSM experiences a tamper event it will respond by erasing the encryption key. This means that the confidentiality of the file contents is protected by both Tamper Resistance and Tamper Response security Features.

Parameters
name Pointer to the absolute path of file to create.
len Size of file to create (in bytes).
Return Value

Returns 0 or an error condition.