Home
last modified time | relevance | path

Searched refs:hash_algo (Results 1 – 12 of 12) 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()
120 static struct hash_algo hash_algo[] = { variable
[all …]
/rk3399_rockchip-uboot/include/
H A Dhash.h20 struct hash_algo { struct
44 int (*hash_init)(struct hash_algo *algo, void **ctxp); argument
57 int (*hash_update)(struct hash_algo *algo, void *ctx, const void *buf, argument
71 int (*hash_finish)(struct hash_algo *algo, void *ctx, void *dest_buf, argument
126 int hash_lookup_algo(const char *algo_name, struct hash_algo **algop);
140 struct hash_algo **algop);
H A Dhw_sha.h45 int hw_sha_init(struct hash_algo *algo, void **ctxp);
59 int hw_sha_update(struct hash_algo *algo, void *ctx, const void *buf,
73 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf,
/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()
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/dm/
H A Dof_extra.h30 enum fmap_hash_t hash_algo; /* Hash algorithm */ member
/rk3399_rockchip-uboot/drivers/core/
H A Dof_extra.c33 entry->hash_algo = prop ? FMAP_HASH_SHA256 : FMAP_HASH_NONE; in of_read_fmap_entry()
/rk3399_rockchip-uboot/lib/rsa/
H A Drsa-checksum.c24 struct hash_algo *algo; in rsa_hash_calculate()
/rk3399_rockchip-uboot/include/rockchip/
H A Drkce_core.h222 uint32_t hash_algo: 4; member
242 uint32_t hash_algo: 4; member
/rk3399_rockchip-uboot/board/freescale/common/
H A Dfsl_validate.c488 struct hash_algo *algo; in calc_img_key_hash()
536 struct hash_algo *algo; in calc_esbchdr_esbc_hash()
/rk3399_rockchip-uboot/drivers/dfu/
H A Ddfu.c23 static struct hash_algo *dfu_hash_algo;
/rk3399_rockchip-uboot/tools/buildman/
H A DREADME772 hash_algo 16 - -16
780 hash_algo 16 - -16
788 hash_algo 16 - -16
817 hash_algo 16 - -16
/rk3399_rockchip-uboot/drivers/crypto/rockchip/
H A Dcrypto_ce.c305 hash_ctx->ctrl.hash_algo = ce_algo; in rk_sha_init()