/third_party/uboot/u-boot-2020.01/common/ |
D | hash.c | 41 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/ |
D | hash.h | 20 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);
|
D | hw_sha.h | 44 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/ |
D | ts_req_utils.c | 52 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()
|
D | ts_lib.c | 84 TS_X509_ALGOR_print_bio(bio, a->hash_algo); in TS_MSG_IMPRINT_print_bio()
|
D | ts_local.h | 16 X509_ALGOR *hash_algo; member
|
D | ts_verify_ctx.c | 124 md_alg = imprint->hash_algo; in TS_REQ_to_TS_VERIFY_CTX()
|
D | ts_rsp_verify.c | 572 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()
|
D | ts_asn1.c | 16 ASN1_SIMPLE(TS_MSG_IMPRINT, hash_algo, X509_ALGOR),
|
D | ts_rsp_sign.c | 469 md_alg = msg_imprint->hash_algo; in ts_RESP_check_request()
|
/third_party/uboot/u-boot-2020.01/drivers/crypto/fsl/ |
D | fsl_hash.c | 46 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/ |
D | public_key.c | 95 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()
|
D | pkcs7_parser.c | 237 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()
|
D | x509_cert_parser.c | 214 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()
|
D | x509_public_key.c | 50 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()
|
D | asymmetric_type.c | 584 .hash_algo = params->hash_algo, in asymmetric_key_verify_signature()
|
/third_party/uboot/u-boot-2020.01/include/dm/ |
D | of_extra.h | 30 enum fmap_hash_t hash_algo; /* Hash algorithm */ member
|
/third_party/uboot/u-boot-2020.01/lib/rsa/ |
D | rsa-checksum.c | 22 struct hash_algo *algo; in hash_calculate()
|
/third_party/uboot/u-boot-2020.01/include/crypto/ |
D | public_key.h | 49 const char *hash_algo; member
|
/third_party/uboot/u-boot-2020.01/drivers/core/ |
D | of_extra.c | 43 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/ |
D | fsl_validate.c | 487 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/ |
D | dfu.c | 23 static struct hash_algo *dfu_hash_algo;
|
/third_party/uboot/u-boot-2020.01/tools/buildman/ |
D | README | 780 hash_algo 16 - -16 788 hash_algo 16 - -16 796 hash_algo 16 - -16 825 hash_algo 16 - -16
|