增加所有文件

This commit is contained in:
2025-11-07 20:19:23 +08:00
parent b7376523b6
commit 846bd3bbda
8445 changed files with 3006231 additions and 5934 deletions

View File

@@ -0,0 +1,47 @@
/**
* @file ske_ofb.h
* @brief Semidrive CRYPTO ske ofb header file.
*
* @copyright Copyright (c) 2021 Semidrive Semiconductor.
* All rights reserved.
*/
#ifndef SKE_OFB_H
#define SKE_OFB_H
#include "ske.h"
#ifdef __cplusplus
extern "C" {
#endif
uint32_t ske_hp_ofb_init(SKE_ALG alg, SKE_CRYPTO crypto, uint8_t *key,
uint16_t sp_key_idx, uint8_t *iv);
uint32_t ske_hp_ofb_update_blocks(uint8_t *in, uint8_t *out, uint32_t bytes);
uint32_t ske_hp_ofb_final(void);
uint32_t ske_hp_ofb_crypto(SKE_ALG alg, SKE_CRYPTO crypto, uint8_t *key,
uint16_t sp_key_idx, uint8_t *iv, uint8_t *in,
uint8_t *out, uint32_t bytes);
#ifdef SKE_HP_DMA_FUNCTION
uint32_t ske_hp_dma_ofb_init(SKE_ALG alg, SKE_CRYPTO crypto, uint8_t *key,
uint16_t sp_key_idx, uint8_t *iv);
uint32_t ske_hp_dma_ofb_update_blocks(uint32_t *in, uint32_t *out,
uint32_t words);
uint32_t ske_hp_dma_ofb_final(void);
uint32_t ske_hp_dma_ofb_crypto(SKE_ALG alg, SKE_CRYPTO crypto, uint8_t *key,
uint16_t sp_key_idx, uint8_t *iv, uint32_t *in,
uint32_t *out, uint32_t words);
#endif
#ifdef __cplusplus
}
#endif
#endif