Home
last modified time | relevance | path

Searched refs:hash_algo (Results 1 – 23 of 23) sorted by relevance

/openbmc/u-boot/common/
H A Dhash.c34 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 Dimage-fit.c1141 struct hash_algo *algo; in calculate_hash()
/openbmc/u-boot/include/
H A Dhash.h24 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 Dhw_sha.h70 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 Dfsl_hash.c45 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 Daspeed_hace_v1.c158 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 Daspeed_hace.c156 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 Dof_extra.h30 enum fmap_hash_t hash_algo; /* Hash algorithm */ member
/openbmc/u-boot/lib/rsa/
H A Drsa-checksum.c22 struct hash_algo *algo; in hash_calculate()
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-crypto.h49 uint32_t hash_algo; member
/openbmc/qemu/include/system/
H A Dcryptodev.h92 uint32_t hash_algo; member
238 uint32_t hash_algo; member
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_crypto.h203 uint32_t hash_algo; member
514 uint32_t hash_algo; member
/openbmc/u-boot/drivers/core/
H A Dof_extra.c43 entry->hash_algo = prop ? FMAP_HASH_SHA256 : FMAP_HASH_NONE; in ofnode_read_fmap_entry()
/openbmc/qemu/hw/virtio/
H A Dvirtio-crypto.c236 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 Dcryptodev-builtin.c100 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 Dcryptodev-vhost-user.c228 backend->conf.hash_algo = 1u << VIRTIO_CRYPTO_HASH_SHA1; in cryptodev_vhost_user_init()
H A Dcryptodev-lkcf.c526 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 Dfitimage.bbclass251 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 Dfsl_validate.c487 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 Dfitimage.py642 hash_algo = values.get('Hash algo', None)
643 self.assertEqual(hash_algo, fit_hash_alg)
/openbmc/u-boot/drivers/dfu/
H A Ddfu.c22 static struct hash_algo *dfu_hash_algo;
/openbmc/u-boot/tools/buildman/
H A DREADME780 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 Dotp.c1889 struct hash_algo *algo; in do_hash()