nrfxlib API 0.1.0
Loading...
Searching...
No Matches
ocrypto_pbkdf2_sha1.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2016 - 2024 Nordic Semiconductor ASA
3 * Copyright (c) since 2013 Oberon microsystems AG
4 *
5 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
6 */
7
8
19#ifndef OCRYPTO_PBKDF2_SHA1_H
20#define OCRYPTO_PBKDF2_SHA1_H
21
22#include <stddef.h>
23#include <stdint.h>
24
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30
43 uint8_t *key, size_t key_len,
44 const uint8_t *password, size_t password_len,
45 const uint8_t *salt, size_t salt_len,
46 uint32_t count);
47
48#ifdef __cplusplus
49}
50#endif
51
52#endif
53
void ocrypto_pbkdf2_hmac_sha1(uint8_t *key, size_t key_len, const uint8_t *password, size_t password_len, const uint8_t *salt, size_t salt_len, uint32_t count)