SEcube open-source SDK
Variables
environment.h File Reference

This is a header file required by any application exploiting SEfile and/or SEkey. More...

#include "../sources/L1/L1.h"
#include "SEfile.h"

Go to the source code of this file.

Variables

L1 * SEcube
 
std::vector< std::unique_ptr< SEfile > > databases
 
bool SEkey_running
 

Detailed Description

This is a header file required by any application exploiting SEfile and/or SEkey.

Author
Fornero Matteo
Date
25/11/2019

Variable Documentation

◆ databases

std::vector<std::unique_ptr<SEfile> > databases

This contains the list of encrypted SQLite databases used by the software. Notice that at least one database is included (the db of SEkey) but you can add your own.

◆ SEcube

L1* SEcube

Global pointer to the L1 object used for L1 SEcube APIs (required by SEkey and SEfile).

◆ SEkey_running

bool SEkey_running

Global flag that tells us if SEkey is running or not. It is set to true by sekey_start() and reset to false by sekey_stop(), it is used by the secure_key_check() function.