# Vault 7: Projects

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

### Protego

# MLA -- Crypto Library

1 January, 2012

- 1
- 2
…
- 107
- 108
- 109
- 110
- 111
…
- 119
- 120

1.7.6.11 DRV_RSA_STATUS Enumeration
File
rsa.h
Syntax
typedef enum {
DRV_RSA_STATUS_OPEN = DRV_CLIENT_STATUS_READY+3,
DRV_RSA_STATUS_INIT = DRV_CLIENT_STATUS_READY+2,
DRV_RSA_STATUS_READY = DRV_CLIENT_STATUS_READY+0,
DRV_RSA_STATUS_BUSY = DRV_CLIENT_STATUS_BUSY,
DRV_RSA_STATUS_ERROR = DRV_CLIENT_STATUS_ERROR-0,
DRV_RSA_STATUS_INVALID = DRV_CLIENT_STATUS_ERROR-1,
DRV_RSA_STATUS_BAD_PARAM = DRV_CLIENT_STATUS_ERROR-2
} DRV_RSA_STATUS;
Members
Members Description
DRV_RSA_STATUS_OPEN =
DRV_CLIENT_STATUS_READY+3
Driver open, but not configured by client
DRV_RSA_STATUS_INIT =
DRV_CLIENT_STATUS_READY+2
Driver initialized, but not opened by client
DRV_RSA_STATUS_READY =
DRV_CLIENT_STATUS_READY+0
Open and configured, ready to start new operation
DRV_RSA_STATUS_BUSY =
DRV_CLIENT_STATUS_BUSY
Operation in progress, unable to start a new one
DRV_RSA_STATUS_ERROR =
DRV_CLIENT_STATUS_ERROR-0
Error Occured
DRV_RSA_STATUS_INVALID =
DRV_CLIENT_STATUS_ERROR-1
client Invalid or driver not initialized
DRV_RSA_STATUS_BAD_PARAM =
DRV_CLIENT_STATUS_ERROR-2
client Invalid or driver not initialized
Module
RSA
Description
Enumeration describing statuses that could apply to an RSA operation
1.7.6.12 RSA_RandomGet Type
File
rsa.h
Syntax
typedef DRV_RSA_RandomGet RSA_RandomGet;
Module
RSA
Description
Global variable for the rand function used with this library.
1.7 Library Interface MLA - Crypto Library Help RSA
109

- 1
- 2
…
- 107
- 108
- 109
- 110
- 111
…
- 119
- 120