2014-04-16 13:06:27 +00:00
|
|
|
/**
|
|
|
|
* \brief Definitions for RUMP cgd
|
|
|
|
* \author Josef Soentgen
|
|
|
|
* \date 2014-04-11
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2017-02-20 12:23:52 +00:00
|
|
|
* Copyright (C) 2014-2017 Genode Labs GmbH
|
2014-04-16 13:06:27 +00:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
2017-02-20 12:23:52 +00:00
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
2014-04-16 13:06:27 +00:00
|
|
|
*/
|
|
|
|
#ifndef _INCLUDE__RUMP_CGD__CGD_H_
|
|
|
|
#define _INCLUDE__RUMP_CGD__CGD_H_
|
|
|
|
|
|
|
|
#include <rump_cgd/device.h>
|
|
|
|
|
|
|
|
/**
|
|
|
|
* File to upon the back-end will open a block session
|
|
|
|
*/
|
|
|
|
#define GENODE_BLOCK_SESSION "block_session"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Device to create within rump
|
|
|
|
*/
|
|
|
|
#define GENODE_DEVICE "/genode"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Encryption algorithm used by cgd
|
|
|
|
*/
|
|
|
|
#define CGD_ALGORITHM "aes-cbc"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Initialization vector method used by cgd
|
|
|
|
*/
|
|
|
|
#define CGD_IVMETHOD "encblkno1"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Key length in bits
|
|
|
|
*/
|
|
|
|
#define CGD_KEYLEN 256
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sync I/O back-end with underlying Genode subsystems
|
|
|
|
*/
|
|
|
|
void rump_io_backend_sync();
|
|
|
|
|
|
|
|
#endif /* _INCLUDE__RUMP_CGD__CGD_H_ */
|