| /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() 120 static struct hash_algo hash_algo[] = { variable [all …]
|
| /rk3399_rockchip-uboot/include/ |
| H A D | hash.h | 20 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 D | hw_sha.h | 45 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 D | fsl_hash.c | 45 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 D | of_extra.h | 30 enum fmap_hash_t hash_algo; /* Hash algorithm */ member
|
| /rk3399_rockchip-uboot/drivers/core/ |
| H A D | of_extra.c | 33 entry->hash_algo = prop ? FMAP_HASH_SHA256 : FMAP_HASH_NONE; in of_read_fmap_entry()
|
| /rk3399_rockchip-uboot/lib/rsa/ |
| H A D | rsa-checksum.c | 24 struct hash_algo *algo; in rsa_hash_calculate()
|
| /rk3399_rockchip-uboot/include/rockchip/ |
| H A D | rkce_core.h | 222 uint32_t hash_algo: 4; member 242 uint32_t hash_algo: 4; member
|
| /rk3399_rockchip-uboot/board/freescale/common/ |
| H A D | fsl_validate.c | 488 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 D | dfu.c | 23 static struct hash_algo *dfu_hash_algo;
|
| /rk3399_rockchip-uboot/tools/buildman/ |
| H A D | README | 772 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 D | crypto_ce.c | 305 hash_ctx->ctrl.hash_algo = ce_algo; in rk_sha_init()
|