Searched refs:sha_context (Results 1 – 13 of 13) sorted by relevance
| /rk3399_rockchip-uboot/include/ |
| H A D | crypto.h | 65 } 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 D | crypto-uclass.c | 133 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 D | avb_sha.h | 76 sha_context crypto_ctx;
|
| /rk3399_rockchip-uboot/drivers/crypto/rockchip/ |
| H A D | crypto_v1.c | 31 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 D | crypto_ce.c | 275 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 D | crypto_v2.c | 598 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 D | rsa-checksum.c | 63 sha_context ctx; in hw_rsa_hash_calculate()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | crypto_sum.c | 25 sha_context csha_ctx; in do_crypto_csum()
|
| H A D | crypto.c | 324 sha_context ctx; in test_hash_perf() 439 sha_context csha_ctx; in test_hash_result()
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | sha256.c | 56 sha_context cctx; in sha256_starts() 282 sha_context cctx; in sha256_finish()
|
| H A D | sha1.c | 71 sha_context cctx; in sha1_starts() 325 sha_context cctx; in sha1_finish()
|
| /rk3399_rockchip-uboot/common/spl/ |
| H A D | spl_boot_image.c | 205 sha_context ctx; in spl_hash_android()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | image-fit.c | 1268 sha_context csha_ctx; in crypto_csum()
|