Go to the documentation of this file.
30 #ifndef SOPC_HASH_BASED_CRYPTO_H_
31 #define SOPC_HASH_BASED_CRYPTO_H_
84 size_t iteration_count,
SOPC_ReturnStatus SOPC_HashBasedCrypto_Run(const SOPC_HashBasedCrypto_Config *config, const SOPC_ByteString *pSecret, SOPC_ByteString **ppOutput)
Function that allows to execute a hashing mechanism.
SOPC_ReturnStatus SOPC_HashBasedCrypto_Config_Create(SOPC_HashBasedCrypto_Config **cfg)
Create the internal configuration structure.
SOPC_HashBasedCrypto_Algo
Defines the supported algorithms for user authentication.
Definition: sopc_hash_based_crypto.h:42
struct SOPC_HashBasedCrypto_Config SOPC_HashBasedCrypto_Config
cryptographic structure to configure the algorithm used.
Definition: sopc_hash_based_crypto.h:49
void SOPC_HashBasedCrypto_Config_Free(SOPC_HashBasedCrypto_Config *cfg)
Free the internal configuration.
This structure provides string encapsulation.
Definition: sopc_builtintypes.h:149
SOPC_ReturnStatus SOPC_HashBasedCrypto_Config_PBKDF2(SOPC_HashBasedCrypto_Config *config, const SOPC_ByteString *pSalt, size_t iteration_count, size_t lenOutput)
Fills the configuration structure for SOPC_HashBasedCrypto_PBKDF2_HMAC_SHA256 algorithm.
S2OPC memory allocation wrappers.
@ SOPC_HashBasedCrypto_PBKDF2_HMAC_SHA256
Definition: sopc_hash_based_crypto.h:43
SecretBuffer (mangled key) and ExposedBuffer (contiguous deciphered buffered) APIs.
SOPC_ReturnStatus
Definition: libs2opc_client.h:64