Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/include/
H A Dcrypto.h60 } sha_context; typedef
84 int (*sha_init)(struct udevice *dev, sha_context *ctx);
86 int (*sha_final)(struct udevice *dev, sha_context *ctx, u8 *output);
92 int (*hmac_init)(struct udevice *dev, sha_context *ctx,
95 int (*hmac_final)(struct udevice *dev, sha_context *ctx, u8 *output);
136 int crypto_sha_init(struct udevice *dev, sha_context *ctx);
158 int crypto_sha_final(struct udevice *dev, sha_context *ctx, u8 *output);
171 int crypto_sha_csum(struct udevice *dev, sha_context *ctx,
185 int crypto_sha_regions_csum(struct udevice *dev, sha_context *ctx,
209 int crypto_hmac_init(struct udevice *dev, sha_context *ctx,
[all …]
/OK3568_Linux_fs/u-boot/drivers/crypto/
H A Dcrypto-uclass.c106 int crypto_sha_init(struct udevice *dev, sha_context *ctx) in crypto_sha_init()
132 int crypto_sha_final(struct udevice *dev, sha_context *ctx, u8 *output) in crypto_sha_final()
175 int crypto_hmac_init(struct udevice *dev, sha_context *ctx, in crypto_hmac_init()
202 int crypto_hmac_final(struct udevice *dev, sha_context *ctx, u8 *output) in crypto_hmac_final()
212 int crypto_sha_csum(struct udevice *dev, sha_context *ctx, in crypto_sha_csum()
230 int crypto_sha_regions_csum(struct udevice *dev, sha_context *ctx, in crypto_sha_regions_csum()
/OK3568_Linux_fs/u-boot/include/android_avb/
H A Davb_sha.h65 sha_context crypto_ctx;
78 sha_context crypto_ctx;
/OK3568_Linux_fs/u-boot/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_v2.c558 static int rockchip_crypto_sha_init(struct udevice *dev, sha_context *ctx) in rockchip_crypto_sha_init()
617 sha_context *ctx, u8 *output) in rockchip_crypto_sha_final()
665 sha_context *ctx, u8 *key, u32 key_len) in rockchip_crypto_hmac_init()
700 sha_context *ctx, u8 *output) in rockchip_crypto_hmac_final()
/OK3568_Linux_fs/u-boot/lib/rsa/
H A Drsa-checksum.c63 sha_context ctx; in hw_rsa_hash_calculate()
/OK3568_Linux_fs/u-boot/cmd/
H A Dcrypto_sum.c25 sha_context csha_ctx; in do_crypto_csum()
H A Dcrypto.c289 sha_context ctx; in test_hash_perf()
404 sha_context csha_ctx; in test_hash_result()
H A Dtftp_update.c252 sha_context csha_ctx; in sha256_checksum()
/OK3568_Linux_fs/u-boot/common/spl/
H A Dspl_boot_image.c205 sha_context ctx; in spl_hash_android()
/OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/
H A Dboot_rkimg.c401 sha_context csha_ctx; in crypto_csum()
/OK3568_Linux_fs/u-boot/common/
H A Dimage-android.c739 sha_context ctx; in android_image_separate()
H A Dimage-fit.c1220 sha_context csha_ctx; in crypto_csum()