| /rk3399_rockchip-uboot/common/ |
| H A D | hash.c | 34 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 D | image-fit.c | 277 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 D | fsl_hash.c | 45 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 D | crypto.h | 62 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 D | rkce_core.c | 96 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 D | crypto_v2.c | 51 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 D | crypto_ce.c | 148 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 D | rsa-checksum.c | 24 struct hash_algo *algo; in rsa_hash_calculate() local
|
| H A D | rsa-verify.c | 52 struct checksum_algo *algo) in rsa_verify_padding()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | crypto.c | 24 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 D | fsl_validate.c | 488 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 D | OpteeClientInterface.h | 63 uint32_t algo; member
|
| /rk3399_rockchip-uboot/arch/x86/cpu/quark/ |
| H A D | mrc_util.c | 1378 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 D | sha256.c | 57 u32 algo = CRYPTO_SHA256; in sha256_starts() local
|
| H A D | sha1.c | 72 u32 algo = CRYPTO_SHA1; in sha1_starts() local
|
| /rk3399_rockchip-uboot/drivers/crypto/ |
| H A D | crypto-uclass.c | 45 u32 crypto_algo_nbits(u32 algo) in crypto_algo_nbits()
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | image-host.c | 66 char *algo; in fit_image_process_hash() local
|