Home
last modified time | relevance | path

Searched refs:algo (Results 1 – 25 of 66) sorted by relevance

123

/u-boot/common/
A Dhash.c63 if (size < algo->digest_size) in hash_finish_sha1()
91 if (size < algo->digest_size) in hash_finish_sha256()
119 if (size < algo->digest_size) in hash_finish_sha384()
147 if (size < algo->digest_size) in hash_finish_sha512()
176 if (size < algo->digest_size) in hash_finish_crc16_ccitt()
202 if (size < algo->digest_size) in hash_finish_crc32()
368 struct hash_algo *algo; in hash_parse_string() local
389 struct hash_algo *algo; in hash_block() local
403 algo->hash_func_ws(data, len, output, algo->chunk_size); in hash_block()
542 struct hash_algo *algo; local
[all …]
/u-boot/lib/rsa/
A Drsa-checksum.c22 struct hash_algo *algo; in hash_calculate() local
28 ret = hash_progressive_lookup_algo(name, &algo); in hash_calculate()
32 ret = algo->hash_init(algo, &ctx); in hash_calculate()
37 ret = algo->hash_update(algo, ctx, region[i].data, in hash_calculate()
43 ret = algo->hash_update(algo, ctx, region[i].data, region[i].size, 1); in hash_calculate()
46 ret = algo->hash_finish(algo, ctx, checksum, algo->digest_size); in hash_calculate()
/u-boot/tools/binman/test/
A D165_section_ignore_hash_signature.dts14 algo = "sha256";
17 algo = "sha256,rsa2048";
25 algo = "sha1";
28 algo = "sha256";
31 algo = "sha1,rsa2048";
35 algo = "sha256,rsa2048";
A D161_fit.dts26 algo = "crc32";
29 algo = "sha1";
40 algo = "crc32";
43 algo = "sha1";
A D162_fit_external.dts27 algo = "crc32";
30 algo = "sha1";
41 algo = "crc32";
44 algo = "sha1";
/u-boot/drivers/crypto/fsl/
A Dfsl_hash.c48 static enum caam_hash_algos get_hash_type(struct hash_algo *algo) in get_hash_type() argument
50 if (!strcmp(algo->name, driver_hash[SHA1].name)) in get_hash_type()
165 unsigned char *pout, enum caam_hash_algos algo) in caam_hash() argument
187 driver_hash[algo].alg_type, in caam_hash()
188 driver_hash[algo].digestsize, in caam_hash()
196 size = ALIGN(driver_hash[algo].digestsize, ARCH_DMA_MINALIGN); in caam_hash()
218 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init() argument
220 return caam_hash_init(ctxp, get_hash_type(algo)); in hw_sha_init()
223 int hw_sha_update(struct hash_algo *algo, void *ctx, const void *buf, in hw_sha_update() argument
229 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf, in hw_sha_finish() argument
[all …]
/u-boot/board/st/stm32mp1/
A Dfit_copro_kernel_dtb.its35 algo = "sha1";
49 algo = "sha1";
60 algo = "sha1";
71 algo = "sha1";
85 algo = "sha1";
94 algo = "sha1";
104 algo = "sha1";
113 algo = "sha1";
A Dfit_kernel_dtb.its34 algo = "sha1";
45 algo = "sha1";
56 algo = "sha1";
69 algo = "sha1";
78 algo = "sha1";
/u-boot/doc/uImage.FIT/
A Dmulti.its22 algo = "md5";
25 algo = "sha1";
39 algo = "sha1";
53 algo = "md5";
67 algo = "sha1";
81 algo = "crc32";
92 algo = "crc32";
104 algo = "sha1";
A Dkernel_fdts_compressed.its24 algo = "crc32";
27 algo = "sha1";
37 algo = "crc32";
40 algo = "sha1";
50 algo = "crc32";
53 algo = "sha1";
A Dkernel_fdt.its22 algo = "crc32";
25 algo = "sha1";
35 algo = "crc32";
38 algo = "sha1";
A Dupdate3.its19 algo = "sha1";
29 algo = "sha1";
40 algo = "sha1";
A Dsign-configs.its18 algo = "sha1";
29 algo = "sha1";
39 algo = "sha1,rsa2048";
A Dmulti-with-loadables.its23 algo = "md5";
35 algo = "md5";
47 algo = "md5";
61 algo = "md5";
A Duefi.its27 algo = "sha256";
38 algo = "sha256";
51 algo = "sha256,rsa2048";
61 algo = "sha256,rsa2048";
/u-boot/tools/patman/
A Dtools.py458 def Compress(indata, algo, with_header=True): argument
474 if algo == 'none':
476 fname = GetOutputFilename('%s.comp.tmp' % algo)
478 if algo == 'lz4':
482 elif algo == 'lzma':
486 elif algo == 'gzip':
495 def Decompress(indata, algo, with_header=True): argument
511 if algo == 'none':
519 if algo == 'lz4':
521 elif algo == 'lzma':
[all …]
/u-boot/board/broadcom/bcmns3/fit/
A Dmulti.its22 algo = "sha1";
25 algo = "sha1,rsa2048";
37 algo = "sha1";
40 algo = "sha1,rsa2048";
53 algo = "sha1,rsa2048";
/u-boot/board/freescale/common/
A Dfsl_validate.c489 struct hash_algo *algo; in calc_img_key_hash() local
500 ret = algo->hash_init(algo, &ctx); in calc_img_key_hash()
507 ret = algo->hash_update(algo, ctx, in calc_img_key_hash()
514 ret = algo->hash_update(algo, ctx, in calc_img_key_hash()
520 ret = algo->hash_finish(algo, ctx, hash_val, algo->digest_size); in calc_img_key_hash()
548 ret = algo->hash_init(algo, &ctx); in calc_esbchdr_esbc_hash()
554 ret = algo->hash_update(algo, ctx, in calc_esbchdr_esbc_hash()
566 ret = algo->hash_update(algo, ctx, in calc_esbchdr_esbc_hash()
579 ret = algo->hash_update(algo, ctx, in calc_esbchdr_esbc_hash()
590 ret = algo->hash_update(algo, ctx, in calc_esbchdr_esbc_hash()
[all …]
/u-boot/include/
A 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,
A Dhash.h50 int (*hash_init)(struct hash_algo *algo, void **ctxp);
63 int (*hash_update)(struct hash_algo *algo, void *ctx, const void *buf,
77 int (*hash_finish)(struct hash_algo *algo, void *ctx, void *dest_buf,
/u-boot/test/py/tests/vboot/
A Dsign-configs-sha1.its18 algo = "sha1";
29 algo = "sha1";
39 algo = "sha1,rsa2048";
A Dsign-configs-sha256.its18 algo = "sha256";
29 algo = "sha256";
39 algo = "sha256,rsa2048";
A Dsign-configs-sha1-pss.its18 algo = "sha1";
29 algo = "sha1";
39 algo = "sha1,rsa2048";
A Dsign-configs-sha256-pss.its18 algo = "sha256";
29 algo = "sha256";
39 algo = "sha256,rsa2048";
A Dsign-configs-sha256-pss-prod.its18 algo = "sha256";
29 algo = "sha256";
39 algo = "sha256,rsa2048";

Completed in 30 milliseconds

123