1 /* 2 * Copyright (c) 2023 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /** @file 8 * @brief Internal helper function for generating digests for raw credentials. 9 */ 10 11 #ifndef __TLS_DIGEST_RAW_H 12 #define __TLS_DIGEST_RAW_H 13 14 #include <zephyr/net/tls_credentials.h> 15 #include "tls_internal.h" 16 17 /* Common version of credential_digest that raw credentials backends can use. */ 18 int credential_digest_raw(struct tls_credential *credential, void *dest, size_t *len); 19 20 #endif /* __TLS_DIGEST_RAW_H */ 21