Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

Module
AES
Returns
None
Description
Returns a handle of the opened client instance. All client operation APIs will require this handle as an argument.
Preconditions
The driver must have been previously initialized and in the initialized state.
Example
SYS_MODULE_OBJ sysObject;
DRV_HANDLE handle;
sysObject = DRV_AES_Initialize (DRV_AES_INDEX, NULL);
if (sysObject != SYS_MODULE_OBJ_STATIC)
{
// error
}
handle = DRV_AES_Open (DRV_AES_INDEX, 0);
if (handle != DRV_AES_HANDLE)
{
// error
}
Parameters
Parameters Description
index Identifier for the instance to opened
ioIntent Possible values from the enumeration DRV_IO_INTENT
There are currently no applicable values for this module.
Function
DRV_HANDLE DRV_AES_Open(const SYS_MODULE_INDEX index,
const DRV_IO_INTENT ioIntent)
1.7.2.16 DRV_AES_Close Function
Closes an opened client
File
aes.h
Syntax
void DRV_AES_Close(DRV_HANDLE handle);
Module
AES
Returns
None
Description
Closes an opened client, resets the data structure and removes the client from the driver.
1.7 Library Interface MLA - Crypto Library Help AES
91

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh