S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
sopc_hash_based_crypto_lib_itf.h
Go to the documentation of this file.
1/*
2 * Licensed to Systerel under one or more contributor license
3 * agreements. See the NOTICE file distributed with this work
4 * for additional information regarding copyright ownership.
5 * Systerel licenses this file to you under the Apache
6 * License, Version 2.0 (the "License"); you may not use this
7 * file except in compliance with the License. You may obtain
8 * a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
27#ifndef SOPC_HASH_BASED_CRYPTO_LIB_ITF_H
28#define SOPC_HASH_BASED_CRYPTO_LIB_ITF_H
29
30#include "sopc_enums.h"
31#include "sopc_secret_buffer.h"
32
55 uint32_t lenSecret,
56 const SOPC_ExposedBuffer* pSalt,
57 uint32_t lenSalt,
58 uint32_t iteration_count,
59 SOPC_ExposedBuffer** ppOutput,
60 uint32_t lenOutput);
61
62#endif /* SOPC_HASH_BASED_CRYPTO_LIB_ITF_H */
enum _SOPC_ReturnStatus SOPC_ReturnStatus
Common enumerations for S2OPC.
SOPC_ReturnStatus HashBasedCrypto_DeriveSecret_PBKDF2_HMAC_SHA256(const SOPC_ExposedBuffer *pSecret, uint32_t lenSecret, const SOPC_ExposedBuffer *pSalt, uint32_t lenSalt, uint32_t iteration_count, SOPC_ExposedBuffer **ppOutput, uint32_t lenOutput)
Password-Based Key Derivation Function.
SecretBuffer (mangled key) and ExposedBuffer (contiguous deciphered buffered) APIs.
uint8_t SOPC_ExposedBuffer
Definition sopc_secret_buffer.h:36