/openbmc/u-boot/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() 90 static int hash_init_sha384(struct hash_algo *algo, void **ctxp) in hash_init_sha384() 98 static int hash_update_sha384(struct hash_algo *algo, void *ctx, in hash_update_sha384() 105 static int hash_finish_sha384(struct hash_algo *algo, void *ctx, void in hash_finish_sha384() 118 static int hash_init_sha512(struct hash_algo *algo, void **ctxp) in hash_init_sha512() [all …]
|
H A D | image-fit.c | 1141 struct hash_algo *algo; in calculate_hash()
|
/openbmc/u-boot/include/ |
H A D | hash.h | 24 struct hash_algo { struct 48 int (*hash_init)(struct hash_algo *algo, void **ctxp); argument 61 int (*hash_update)(struct hash_algo *algo, void *ctx, const void *buf, argument 75 int (*hash_finish)(struct hash_algo *algo, void *ctx, void *dest_buf, argument 130 int hash_lookup_algo(const char *algo_name, struct hash_algo **algop); 144 struct hash_algo **algop);
|
H A D | hw_sha.h | 70 int hw_sha_init(struct hash_algo *algo, void **ctxp); 84 int hw_sha_update(struct hash_algo *algo, void *ctx, const void *buf, 98 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf,
|
/openbmc/u-boot/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() 215 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init() 220 int hw_sha_update(struct hash_algo *algo, void *ctx, const void *buf, in hw_sha_update() 226 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf, in hw_sha_finish()
|
/openbmc/u-boot/drivers/crypto/ |
H A D | aspeed_hace_v1.c | 158 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init() 196 int hw_sha_update(struct hash_algo *algo, void *hash_ctx, const void *buf, in hw_sha_update() 219 int hw_sha_finish(struct hash_algo *algo, void *hash_ctx, void *dest_buf, int size) in hw_sha_finish()
|
H A D | aspeed_hace.c | 156 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init() 202 int hw_sha_update(struct hash_algo *algo, void *hash_ctx, const void *buf, in hw_sha_update() 248 int hw_sha_finish(struct hash_algo *algo, void *hash_ctx, void *dest_buf, int size) in hw_sha_finish()
|
/openbmc/u-boot/include/dm/ |
H A D | of_extra.h | 30 enum fmap_hash_t hash_algo; /* Hash algorithm */ member
|
/openbmc/u-boot/lib/rsa/ |
H A D | rsa-checksum.c | 22 struct hash_algo *algo; in hash_calculate()
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-crypto.h | 49 uint32_t hash_algo; member
|
/openbmc/qemu/include/system/ |
H A D | cryptodev.h | 92 uint32_t hash_algo; member 238 uint32_t hash_algo; member
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_crypto.h | 203 uint32_t hash_algo; member 514 uint32_t hash_algo; member
|
/openbmc/u-boot/drivers/core/ |
H A D | of_extra.c | 43 entry->hash_algo = prop ? FMAP_HASH_SHA256 : FMAP_HASH_NONE; in ofnode_read_fmap_entry()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-crypto.c | 236 asym_info->u.rsa.hash_algo = in virtio_crypto_create_asym_session() 237 ldl_le_p(&sess_req->para.u.rsa.hash_algo); in virtio_crypto_create_asym_session() 1040 vcrypto->conf.hash_algo = vcrypto->conf.cryptodev->conf.hash_algo; in virtio_crypto_init_config() 1150 stl_le_p(&crypto_cfg.hash_algo, c->conf.hash_algo); in virtio_crypto_get_config()
|
/openbmc/qemu/backends/ |
H A D | cryptodev-builtin.c | 100 backend->conf.hash_algo = 1u << VIRTIO_CRYPTO_HASH_SHA1; in cryptodev_builtin_init() 323 sess_info->u.rsa.hash_algo, &opts.u.rsa, errp) != 0) { in cryptodev_builtin_create_akcipher_session()
|
H A D | cryptodev-vhost-user.c | 228 backend->conf.hash_algo = 1u << VIRTIO_CRYPTO_HASH_SHA1; in cryptodev_vhost_user_init()
|
H A D | cryptodev-lkcf.c | 526 sess_info->u.rsa.padding_algo, sess_info->u.rsa.hash_algo, in cryptodev_lkcf_create_asym_session()
|
/openbmc/openbmc/meta-openembedded/meta-oe/classes/ |
H A D | fitimage.bbclass | 251 hash_algo = d.getVar("FITIMAGE_HASH_ALGO") 264 fd.write(f'\t\t\t\talgo = "{hash_algo}";\n') 269 hash_algo = d.getVar("FITIMAGE_HASH_ALGO") 277 fd.write(f'\t\t\t\talgo = "{hash_algo},{encrypt_algo}";\n')
|
/openbmc/u-boot/board/freescale/common/ |
H A D | fsl_validate.c | 487 struct hash_algo *algo; in calc_img_key_hash() 535 struct hash_algo *algo; in calc_esbchdr_esbc_hash()
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | fitimage.py | 642 hash_algo = values.get('Hash algo', None) 643 self.assertEqual(hash_algo, fit_hash_alg)
|
/openbmc/u-boot/drivers/dfu/ |
H A D | dfu.c | 22 static struct hash_algo *dfu_hash_algo;
|
/openbmc/u-boot/tools/buildman/ |
H A D | README | 780 hash_algo 16 - -16 788 hash_algo 16 - -16 796 hash_algo 16 - -16 825 hash_algo 16 - -16
|
/openbmc/u-boot/cmd/ |
H A D | otp.c | 1889 struct hash_algo *algo; in do_hash()
|