Home
last modified time | relevance | path

Searched defs:algo (Results 1 – 17 of 17) sorted by relevance

/rk3399_rockchip-uboot/common/
H A Dhash.c34 static int hash_init_sha1(struct hash_algo *algo, void **ctxp) in hash_init_sha1()
42 static int hash_update_sha1(struct hash_algo *algo, void *ctx, const void *buf, in hash_update_sha1()
49 static int hash_finish_sha1(struct hash_algo *algo, void *ctx, void *dest_buf, in hash_finish_sha1()
62 static int hash_init_sha256(struct hash_algo *algo, void **ctxp) in hash_init_sha256()
70 static int hash_update_sha256(struct hash_algo *algo, void *ctx, in hash_update_sha256()
77 static int hash_finish_sha256(struct hash_algo *algo, void *ctx, void in hash_finish_sha256()
89 static int hash_init_crc32(struct hash_algo *algo, void **ctxp) in hash_init_crc32()
97 static int hash_update_crc32(struct hash_algo *algo, void *ctx, in hash_update_crc32()
104 static int hash_finish_crc32(struct hash_algo *algo, void *ctx, void *dest_buf, in hash_finish_crc32()
218 struct hash_algo *algo; in hash_parse_string() local
[all …]
H A Dimage-fit.c277 char *algo; in fit_image_print_data() local
1068 int fit_image_hash_get_algo(const void *fit, int noffset, char **algo) in fit_image_hash_get_algo()
1154 int fit_image_cipher_get_algo(const void *fit, int noffset, char **algo) in fit_image_cipher_get_algo()
1231 const char *algo, uint8_t *value, in fit_calculate_hash()
1283 const char *algo, uint8_t *value, in hw_fit_calculate_hash()
1333 int calculate_hash(const void *data, int data_len, const char *algo, in calculate_hash()
1352 char *algo; in fit_image_check_hash() local
/rk3399_rockchip-uboot/drivers/crypto/fsl/
H A Dfsl_hash.c45 static enum caam_hash_algos get_hash_type(struct hash_algo *algo) in get_hash_type()
162 unsigned char *pout, enum caam_hash_algos algo) in caam_hash()
198 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init()
203 int hw_sha_update(struct hash_algo *algo, void *ctx, const void *buf, in hw_sha_update()
209 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf, in hw_sha_finish()
/rk3399_rockchip-uboot/include/
H A Dcrypto.h62 u32 algo; /* Algorithm: CRYPTO_MD5/CRYPTO_SHA1/CRYPTO_RSA2048... */ member
68 u32 algo; /* Algorithm: CRYPTO_MD5/CRYPTO_SHA1/CRYPTO_RSA2048... */ member
75 u32 algo; /* Algorithm: CRYPTO_SM2/CRYPTO_ECC_192R1/CRYPTO_ECC_224R1... */ member
82 u32 algo; member
92 u32 algo; member
/rk3399_rockchip-uboot/drivers/crypto/rockchip/
H A Drkce_core.c96 uint32_t algo, uint32_t mode, uint32_t key_len) in rk_is_cipher_support()
144 static bool rk_is_hash_support(struct RKCE_REG *rkce_reg, uint32_t algo, uint32_t type) in rk_is_hash_support()
162 static bool rk_is_asym_support(struct RKCE_REG *rkce_reg, uint32_t algo) in rk_is_asym_support()
177 bool rkce_hw_algo_valid(void *rkce_hw, uint32_t type, uint32_t algo, uint32_t mode) in rkce_hw_algo_valid()
H A Dcrypto_v2.c51 u32 algo; /* hash algo */ member
372 static int rk_hash_init(void *hw_ctx, u32 algo) in rk_hash_init()
682 int rk_hmac_init(void *hw_ctx, u32 algo, u8 *key, u32 key_len) in rk_hmac_init()
902 u32 algo, u32 mode, bool enc) in hw_cipher_init()
1325 int rk_crypto_mac(struct udevice *dev, u32 algo, u32 mode, in rk_crypto_mac()
1368 int rk_crypto_ae(struct udevice *dev, u32 algo, u32 mode, in rk_crypto_ae()
H A Dcrypto_ce.c148 static u32 rk_get_cemode(const struct rockchip_map *map, u32 num, u32 algo) in rk_get_cemode()
661 static int rk_get_cipher_cemode(u32 algo, u32 mode, u32 *ce_algo, u32 *ce_mode) in rk_get_cipher_cemode()
/rk3399_rockchip-uboot/lib/rsa/
H A Drsa-checksum.c24 struct hash_algo *algo; in rsa_hash_calculate() local
H A Drsa-verify.c52 struct checksum_algo *algo) in rsa_verify_padding()
/rk3399_rockchip-uboot/cmd/
H A Dcrypto.c24 u32 algo; member
36 u32 algo; member
56 u32 algo; member
73 u32 algo; member
127 #define CIPHER_TEST(algo, mode, key, iv, plain, cipher) \ argument
319 int test_hash_perf(struct udevice *dev, u32 algo, in test_hash_perf()
/rk3399_rockchip-uboot/board/freescale/common/
H A Dfsl_validate.c488 struct hash_algo *algo; in calc_img_key_hash() local
536 struct hash_algo *algo; in calc_esbchdr_esbc_hash() local
/rk3399_rockchip-uboot/include/optee_include/
H A DOpteeClientInterface.h63 uint32_t algo; member
/rk3399_rockchip-uboot/arch/x86/cpu/quark/
H A Dmrc_util.c1378 static void print_timings_internal(uint8_t algo, uint8_t channel, uint8_t rank, in print_timings_internal()
1446 uint8_t algo; in print_timings() local
/rk3399_rockchip-uboot/lib/
H A Dsha256.c57 u32 algo = CRYPTO_SHA256; in sha256_starts() local
H A Dsha1.c72 u32 algo = CRYPTO_SHA1; in sha1_starts() local
/rk3399_rockchip-uboot/drivers/crypto/
H A Dcrypto-uclass.c45 u32 crypto_algo_nbits(u32 algo) in crypto_algo_nbits()
/rk3399_rockchip-uboot/tools/
H A Dimage-host.c66 char *algo; in fit_image_process_hash() local