Home
last modified time | relevance | path

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

/third_party/uboot/u-boot-2020.01/common/
Dhash.c41 static int hash_init_sha1(struct hash_algo *algo, void **ctxp) in hash_init_sha1()
49 static int hash_update_sha1(struct hash_algo *algo, void *ctx, const void *buf, in hash_update_sha1()
56 static int hash_finish_sha1(struct hash_algo *algo, void *ctx, void *dest_buf, in hash_finish_sha1()
69 static int hash_init_sha256(struct hash_algo *algo, void **ctxp) in hash_init_sha256()
77 static int hash_update_sha256(struct hash_algo *algo, void *ctx, in hash_update_sha256()
84 static int hash_finish_sha256(struct hash_algo *algo, void *ctx, void in hash_finish_sha256()
96 static int hash_init_crc16_ccitt(struct hash_algo *algo, void **ctxp) in hash_init_crc16_ccitt()
104 static int hash_update_crc16_ccitt(struct hash_algo *algo, void *ctx, in hash_update_crc16_ccitt()
112 static int hash_finish_crc16_ccitt(struct hash_algo *algo, void *ctx, in hash_finish_crc16_ccitt()
123 static int hash_init_crc32(struct hash_algo *algo, void **ctxp) in hash_init_crc32()
[all …]
/third_party/uboot/u-boot-2020.01/include/
Dhash.h20 struct hash_algo { struct
44 int (*hash_init)(struct hash_algo *algo, void **ctxp); argument
57 int (*hash_update)(struct hash_algo *algo, void *ctx, const void *buf, argument
71 int (*hash_finish)(struct hash_algo *algo, void *ctx, void *dest_buf, argument
126 int hash_lookup_algo(const char *algo_name, struct hash_algo **algop);
140 struct hash_algo **algop);
Dhw_sha.h44 int hw_sha_init(struct hash_algo *algo, void **ctxp);
58 int hw_sha_update(struct hash_algo *algo, void *ctx, const void *buf,
72 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf,
/third_party/openssl/crypto/ts/
Dts_req_utils.c52 if (a->hash_algo == alg) in TS_MSG_IMPRINT_set_algo()
59 X509_ALGOR_free(a->hash_algo); in TS_MSG_IMPRINT_set_algo()
60 a->hash_algo = new_alg; in TS_MSG_IMPRINT_set_algo()
66 return a->hash_algo; in TS_MSG_IMPRINT_get_algo()
Dts_lib.c84 TS_X509_ALGOR_print_bio(bio, a->hash_algo); in TS_MSG_IMPRINT_print_bio()
Dts_local.h16 X509_ALGOR *hash_algo; member
Dts_verify_ctx.c124 md_alg = imprint->hash_algo; in TS_REQ_to_TS_VERIFY_CTX()
Dts_rsp_verify.c572 X509_ALGOR *md_alg_resp = msg_imprint->hash_algo; in ts_compute_imprint()
626 X509_ALGOR *algor_b = b->hash_algo; in ts_check_imprints()
Dts_asn1.c16 ASN1_SIMPLE(TS_MSG_IMPRINT, hash_algo, X509_ALGOR),
Dts_rsp_sign.c469 md_alg = msg_imprint->hash_algo; in ts_RESP_check_request()
/third_party/uboot/u-boot-2020.01/drivers/crypto/fsl/
Dfsl_hash.c46 static enum caam_hash_algos get_hash_type(struct hash_algo *algo) in get_hash_type()
216 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init()
221 int hw_sha_update(struct hash_algo *algo, void *ctx, const void *buf, in hw_sha_update()
227 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf, in hw_sha_finish()
/third_party/uboot/u-boot-2020.01/lib/crypto/
Dpublic_key.c95 const char *hash_algo, in software_key_determine_akcipher() argument
106 if (!hash_algo) in software_key_determine_akcipher()
113 pkey->pkey_algo, hash_algo); in software_key_determine_akcipher()
144 params->hash_algo, in software_key_query()
209 params->hash_algo, in software_key_eds_op()
299 sig->hash_algo, in public_key_verify_signature()
Dpkcs7_parser.c237 ctx->sinfo->sig->hash_algo = "md4"; in pkcs7_sig_note_digest_algo()
240 ctx->sinfo->sig->hash_algo = "md5"; in pkcs7_sig_note_digest_algo()
243 ctx->sinfo->sig->hash_algo = "sha1"; in pkcs7_sig_note_digest_algo()
246 ctx->sinfo->sig->hash_algo = "sha256"; in pkcs7_sig_note_digest_algo()
249 ctx->sinfo->sig->hash_algo = "sha384"; in pkcs7_sig_note_digest_algo()
252 ctx->sinfo->sig->hash_algo = "sha512"; in pkcs7_sig_note_digest_algo()
255 ctx->sinfo->sig->hash_algo = "sha224"; in pkcs7_sig_note_digest_algo()
Dx509_cert_parser.c214 ctx->cert->sig->hash_algo = "md4"; in x509_note_pkey_algo()
218 ctx->cert->sig->hash_algo = "sha1"; in x509_note_pkey_algo()
222 ctx->cert->sig->hash_algo = "sha256"; in x509_note_pkey_algo()
226 ctx->cert->sig->hash_algo = "sha384"; in x509_note_pkey_algo()
230 ctx->cert->sig->hash_algo = "sha512"; in x509_note_pkey_algo()
234 ctx->cert->sig->hash_algo = "sha224"; in x509_note_pkey_algo()
238 ctx->cert->sig->hash_algo = "streebog256"; in x509_note_pkey_algo()
242 ctx->cert->sig->hash_algo = "streebog512"; in x509_note_pkey_algo()
Dx509_public_key.c50 if (!sig->hash_algo) { in x509_get_sig_params()
73 tfm = crypto_alloc_shash(sig->hash_algo, 0, 0); in x509_get_sig_params()
208 cert->sig->pkey_algo, cert->sig->hash_algo); in x509_key_preparse()
Dasymmetric_type.c584 .hash_algo = params->hash_algo, in asymmetric_key_verify_signature()
/third_party/uboot/u-boot-2020.01/include/dm/
Dof_extra.h30 enum fmap_hash_t hash_algo; /* Hash algorithm */ member
/third_party/uboot/u-boot-2020.01/lib/rsa/
Drsa-checksum.c22 struct hash_algo *algo; in hash_calculate()
/third_party/uboot/u-boot-2020.01/include/crypto/
Dpublic_key.h49 const char *hash_algo; member
/third_party/uboot/u-boot-2020.01/drivers/core/
Dof_extra.c43 entry->hash_algo = prop ? FMAP_HASH_SHA256 : FMAP_HASH_NONE; in ofnode_read_fmap_entry()
/third_party/uboot/u-boot-2020.01/board/freescale/common/
Dfsl_validate.c487 struct hash_algo *algo; in calc_img_key_hash()
535 struct hash_algo *algo; in calc_esbchdr_esbc_hash()
/third_party/uboot/u-boot-2020.01/drivers/dfu/
Ddfu.c23 static struct hash_algo *dfu_hash_algo;
/third_party/uboot/u-boot-2020.01/tools/buildman/
DREADME780 hash_algo 16 - -16
788 hash_algo 16 - -16
796 hash_algo 16 - -16
825 hash_algo 16 - -16