Home
last modified time | relevance | path

Searched refs:sha_context (Results 1 – 13 of 13) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dcrypto.h65 } sha_context; typedef
105 int (*sha_init)(struct udevice *dev, sha_context *ctx);
107 int (*sha_final)(struct udevice *dev, sha_context *ctx, u8 *output);
118 int (*hmac_init)(struct udevice *dev, sha_context *ctx,
121 int (*hmac_final)(struct udevice *dev, sha_context *ctx, u8 *output);
169 int crypto_sha_init(struct udevice *dev, sha_context *ctx);
191 int crypto_sha_final(struct udevice *dev, sha_context *ctx, u8 *output);
204 int crypto_sha_csum(struct udevice *dev, sha_context *ctx,
218 int crypto_sha_regions_csum(struct udevice *dev, sha_context *ctx,
255 int crypto_hmac_init(struct udevice *dev, sha_context *ctx,
[all …]
/rk3399_rockchip-uboot/drivers/crypto/
H A Dcrypto-uclass.c133 int crypto_sha_init(struct udevice *dev, sha_context *ctx) in crypto_sha_init()
159 int crypto_sha_final(struct udevice *dev, sha_context *ctx, u8 *output) in crypto_sha_final()
202 int crypto_hmac_init(struct udevice *dev, sha_context *ctx, in crypto_hmac_init()
229 int crypto_hmac_final(struct udevice *dev, sha_context *ctx, u8 *output) in crypto_hmac_final()
239 int crypto_sha_csum(struct udevice *dev, sha_context *ctx, in crypto_sha_csum()
257 int crypto_sha_regions_csum(struct udevice *dev, sha_context *ctx, in crypto_sha_regions_csum()
/rk3399_rockchip-uboot/include/android_avb/
H A Davb_sha.h76 sha_context crypto_ctx;
/rk3399_rockchip-uboot/drivers/crypto/rockchip/
H A Dcrypto_v1.c31 sha_context *ctx;
78 static int rockchip_crypto_sha_init(struct udevice *dev, sha_context *ctx) in rockchip_crypto_sha_init()
177 sha_context *ctx, u8 *output) in rockchip_crypto_sha_final()
H A Dcrypto_ce.c275 static int rk_sha_init(struct udevice *dev, sha_context *ctx, in rk_sha_init()
381 static int rockchip_crypto_sha_init(struct udevice *dev, sha_context *ctx) in rockchip_crypto_sha_init()
391 static int rockchip_crypto_sha_final(struct udevice *dev, sha_context *ctx, u8 *output) in rockchip_crypto_sha_final()
422 static int rockchip_crypto_hmac_init(struct udevice *dev, sha_context *ctx, u8 *key, u32 key_len) in rockchip_crypto_hmac_init()
432 static int rockchip_crypto_hmac_final(struct udevice *dev, sha_context *ctx, u8 *output) in rockchip_crypto_hmac_final()
H A Dcrypto_v2.c598 static int rockchip_crypto_sha_init(struct udevice *dev, sha_context *ctx) in rockchip_crypto_sha_init()
657 sha_context *ctx, u8 *output) in rockchip_crypto_sha_final()
705 sha_context *ctx, u8 *key, u32 key_len) in rockchip_crypto_hmac_init()
740 sha_context *ctx, u8 *output) in rockchip_crypto_hmac_final()
/rk3399_rockchip-uboot/lib/rsa/
H A Drsa-checksum.c63 sha_context ctx; in hw_rsa_hash_calculate()
/rk3399_rockchip-uboot/cmd/
H A Dcrypto_sum.c25 sha_context csha_ctx; in do_crypto_csum()
H A Dcrypto.c324 sha_context ctx; in test_hash_perf()
439 sha_context csha_ctx; in test_hash_result()
/rk3399_rockchip-uboot/lib/
H A Dsha256.c56 sha_context cctx; in sha256_starts()
282 sha_context cctx; in sha256_finish()
H A Dsha1.c71 sha_context cctx; in sha1_starts()
325 sha_context cctx; in sha1_finish()
/rk3399_rockchip-uboot/common/spl/
H A Dspl_boot_image.c205 sha_context ctx; in spl_hash_android()
/rk3399_rockchip-uboot/common/
H A Dimage-fit.c1268 sha_context csha_ctx; in crypto_csum()