mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-08-04 03:14:13 +02:00
versal_gen2_asu: fix check-source-text native heap false positive and add port macros to .wolfssl_known_macro_extras.
This commit is contained in:
@@ -1046,6 +1046,8 @@ WOLFSSL_USE_FLASHMEM
|
||||
WOLFSSL_USE_FORCE_ZERO
|
||||
WOLFSSL_USE_OPTIONS_H
|
||||
WOLFSSL_VALIDATE_DH_KEYGEN
|
||||
WOLFSSL_VERSAL_GEN2_ASU
|
||||
WOLFSSL_VERSAL_GEN2_ASU_RTC
|
||||
WOLFSSL_WC_SLHDSA_RECURSIVE
|
||||
WOLFSSL_WC_XMSS_NO_SHA256
|
||||
WOLFSSL_WICED_PSEUDO_UNIX_EPOCH_TIME
|
||||
@@ -1073,6 +1075,7 @@ WOLF_CRYPTO_DEV
|
||||
WOLF_CRYPT_FIPS_H
|
||||
WOLF_NO_TRAILING_ENUM_COMMAS
|
||||
WindowsCE
|
||||
XASU_DISABLE_CACHE
|
||||
XGETPASSWD
|
||||
XMSS_CALL_PRF_KEYGEN
|
||||
XPAR_VERSAL_CIPS_0_PSPMC_0_PSV_CORTEXA72_0_TIMESTAMP_CLK_FREQ
|
||||
|
||||
@@ -39,7 +39,7 @@ extern "C" {
|
||||
/* Single entry point for the SHA2/SHA3 engine. The crypto callback dispatcher
|
||||
* routes every hash related operation here and this handler decides which it is:
|
||||
* update and final (WC_ALGO_TYPE_HASH), context copy (WC_ALGO_TYPE_COPY), or
|
||||
* context free (WC_ALGO_TYPE_FREE). Supports SHA2 256/384/512 and SHA3
|
||||
* context release (WC_ALGO_TYPE_FREE). Supports SHA2 256/384/512 and SHA3
|
||||
* 256/384/512. Returns 0 on success, CRYPTOCB_UNAVAILABLE for an unsupported
|
||||
* operation or hash type (software fallback), or a negative error. */
|
||||
WOLFSSL_LOCAL int wc_AsuHash(wc_CryptoInfo* info);
|
||||
|
||||
@@ -39,11 +39,11 @@ extern "C" {
|
||||
/* Single entry point for the HMAC engine. The crypto callback dispatcher routes
|
||||
* every HMAC related operation here and this handler decides which it is: update
|
||||
* and final (WC_ALGO_TYPE_HMAC), context copy (WC_ALGO_TYPE_COPY) or context
|
||||
* free (WC_ALGO_TYPE_FREE). The message is accumulated per context and the HMAC
|
||||
* is computed in one ASU operation at final using the raw key wolfSSL keeps on
|
||||
* the context. Supports HMAC over SHA2 256/384/512 and SHA3 256/384/512. Returns
|
||||
* 0 on success, CRYPTOCB_UNAVAILABLE for an unsupported MAC type or key (software
|
||||
* fallback), or a negative error. */
|
||||
* release (WC_ALGO_TYPE_FREE). The message is accumulated per context and the
|
||||
* HMAC is computed in one ASU operation at final using the raw key wolfSSL
|
||||
* keeps on the context. Supports HMAC over SHA2 256/384/512 and SHA3
|
||||
* 256/384/512. Returns 0 on success, CRYPTOCB_UNAVAILABLE for an unsupported
|
||||
* MAC type or key (software fallback), or a negative error. */
|
||||
WOLFSSL_LOCAL int wc_AsuHmac(wc_CryptoInfo* info);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user