This class provides description of SHA-384 helper methods.
More...
#include <sha384.hh>
|
| | sha384 () |
| | SHA context. More...
|
| |
| virtual | ~sha384 () |
| | Default destructor. More...
|
| |
| int | generate (const std::vector< unsigned char > p_buffer, std::vector< unsigned char > &p_hash) |
| | Receive bytes formated data from the lower layers. More...
|
| |
| int | generate (const unsigned char *p_buffer, const size_t p_length, std::vector< unsigned char > &p_hash) |
| |
This class provides description of SHA-384 helper methods.
◆ sha384()
SHA context.
Default constructor Create a new instance of the sha384 class
◆ ~sha384()
| virtual sha384::~sha384 |
( |
| ) |
|
|
inlinevirtual |
◆ generate() [1/2]
| int sha384::generate |
( |
const std::vector< unsigned char > |
p_buffer, |
|
|
std::vector< unsigned char > & |
p_hash |
|
) |
| |
|
inline |
Receive bytes formated data from the lower layers.
- Parameters
-
| [in] | p_buffer | The data used to generate the SHA-384 hash |
| [out] | p_hash | The SHA-384 hash value based of the provided data |
- Returns
- 0 on success, -1 otherwise
- Parameters
-
| [in] | p_buffer | The data used to generate the SHA-384 hash |
| [in] | The | length of the data buffer |
| [out] | p_hash | The SHA-384 hash value based of the provided data |
- Returns
- 0 on success, -1 otherwise
◆ generate() [2/2]
| int sha384::generate |
( |
const unsigned char * |
p_buffer, |
|
|
const size_t |
p_length, |
|
|
std::vector< unsigned char > & |
p_hash |
|
) |
| |
|
inline |
◆ _ctx
The documentation for this class was generated from the following file:
- /home/vagrant/TriesAndDelete/etsi_its/framework/include/sha384.hh