<commit_before>/*
 * copyright (c) 2010 - 2012 Espressif System
 *
 * esf Link List Descriptor
 */

#ifndef _SHA512_ALT_H_
#define _SHA512_ALT_H_

#ifdef __cplusplus
extern "C" {
#endif

#if defined(MBEDTLS_SHA512_ALT)
#include "hwcrypto/sha.h"

typedef esp_sha_context  mbedtls_sha512_context;

#define mbedtls_sha512_init     esp_sha512_init
#define mbedtls_sha512_process  esp_sha512_process
#define mbedtls_sha512_clone    esp_sha512_clone
#define mbedtls_sha512_starts   esp_sha512_start
#define mbedtls_sha512_update   esp_sha512_update
#define mbedtls_sha512_finish   esp_sha512_finish
#define mbedtls_sha512_free(...)

#endif

#ifdef __cplusplus
}
#endif

#endif /* sha512.h */
<commit_msg>mbedtls hwcrypto sha512: Fix redirection of function names<commit_after>/*
 * copyright (c) 2010 - 2012 Espressif System
 *
 * esf Link List Descriptor
 */

#ifndef _SHA512_ALT_H_
#define _SHA512_ALT_H_

#ifdef __cplusplus
extern "C" {
#endif

#if defined(MBEDTLS_SHA512_ALT)
#include "hwcrypto/sha.h"

typedef esp_sha_context  mbedtls_sha512_context;

#define mbedtls_sha512_init     esp_sha512_init
#define mbedtls_sha512_clone    esp_sha512_clone
#define mbedtls_sha512_starts   esp_sha512_start
#define mbedtls_sha512_update   esp_sha512_update
#define mbedtls_sha512_finish   esp_sha512_finish
#define mbedtls_sha512_free     esp_sha512_free
#define mbedtls_sha512_process(...)

#endif

#ifdef __cplusplus
}
#endif

#endif /* sha512.h */

{'fraction_non_alphanumeric': 0.07147814018043026, 'fraction_numerical': 0.08813324080499653, 'mean_word_length': 5.834123222748815, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3096758', 'n_tokens_mistral': 655, 'n_tokens_neox': 551, 'n_words': 113}