nRF Connect SDK API
3.4.99
Toggle main menu visibility
Loading...
Searching...
No Matches
cracen_hmac.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
16
17
#ifndef CRACEN_HMAC_H
18
#define CRACEN_HMAC_H
19
20
#include <psa/crypto.h>
21
#include <stdint.h>
22
23
int
cracen_hmac_create
(
const
struct
sxhashalg *hashalg,
struct
sxhash *hashopctx,
24
const
uint8_t *key,
size_t
keysz, uint8_t *workmem,
size_t
workmemsz);
25
26
int
cracen_hmac_produce
(
struct
sxhash *hashctx,
const
struct
sxhashalg *hashalg, uint8_t *out,
27
size_t
sz, uint8_t *workmem);
28
30
31
#endif
/* CRACEN_HMAC_H */
cracen_hmac_produce
int cracen_hmac_produce(struct sxhash *hashctx, const struct sxhashalg *hashalg, uint8_t *out, size_t sz, uint8_t *workmem)
cracen_hmac_create
int cracen_hmac_create(const struct sxhashalg *hashalg, struct sxhash *hashopctx, const uint8_t *key, size_t keysz, uint8_t *workmem, size_t workmemsz)
subsys
nrf_security
src
drivers
cracen
common
include
cracen
cracen_hmac.h
Generated on
for nRF Connect SDK API by
1.17.0