/u-boot/common/ |
A D | hash.c | 63 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 D | rsa-checksum.c | 22 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 D | 165_section_ignore_hash_signature.dts | 14 algo = "sha256"; 17 algo = "sha256,rsa2048"; 25 algo = "sha1"; 28 algo = "sha256"; 31 algo = "sha1,rsa2048"; 35 algo = "sha256,rsa2048";
|
A D | 161_fit.dts | 26 algo = "crc32"; 29 algo = "sha1"; 40 algo = "crc32"; 43 algo = "sha1";
|
A D | 162_fit_external.dts | 27 algo = "crc32"; 30 algo = "sha1"; 41 algo = "crc32"; 44 algo = "sha1";
|
/u-boot/drivers/crypto/fsl/ |
A D | fsl_hash.c | 48 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 D | fit_copro_kernel_dtb.its | 35 algo = "sha1"; 49 algo = "sha1"; 60 algo = "sha1"; 71 algo = "sha1"; 85 algo = "sha1"; 94 algo = "sha1"; 104 algo = "sha1"; 113 algo = "sha1";
|
A D | fit_kernel_dtb.its | 34 algo = "sha1"; 45 algo = "sha1"; 56 algo = "sha1"; 69 algo = "sha1"; 78 algo = "sha1";
|
/u-boot/doc/uImage.FIT/ |
A D | multi.its | 22 algo = "md5"; 25 algo = "sha1"; 39 algo = "sha1"; 53 algo = "md5"; 67 algo = "sha1"; 81 algo = "crc32"; 92 algo = "crc32"; 104 algo = "sha1";
|
A D | kernel_fdts_compressed.its | 24 algo = "crc32"; 27 algo = "sha1"; 37 algo = "crc32"; 40 algo = "sha1"; 50 algo = "crc32"; 53 algo = "sha1";
|
A D | kernel_fdt.its | 22 algo = "crc32"; 25 algo = "sha1"; 35 algo = "crc32"; 38 algo = "sha1";
|
A D | update3.its | 19 algo = "sha1"; 29 algo = "sha1"; 40 algo = "sha1";
|
A D | sign-configs.its | 18 algo = "sha1"; 29 algo = "sha1"; 39 algo = "sha1,rsa2048";
|
A D | multi-with-loadables.its | 23 algo = "md5"; 35 algo = "md5"; 47 algo = "md5"; 61 algo = "md5";
|
A D | uefi.its | 27 algo = "sha256"; 38 algo = "sha256"; 51 algo = "sha256,rsa2048"; 61 algo = "sha256,rsa2048";
|
/u-boot/tools/patman/ |
A D | tools.py | 458 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 D | multi.its | 22 algo = "sha1"; 25 algo = "sha1,rsa2048"; 37 algo = "sha1"; 40 algo = "sha1,rsa2048"; 53 algo = "sha1,rsa2048";
|
/u-boot/board/freescale/common/ |
A D | fsl_validate.c | 489 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 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,
|
A D | hash.h | 50 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 D | sign-configs-sha1.its | 18 algo = "sha1"; 29 algo = "sha1"; 39 algo = "sha1,rsa2048";
|
A D | sign-configs-sha256.its | 18 algo = "sha256"; 29 algo = "sha256"; 39 algo = "sha256,rsa2048";
|
A D | sign-configs-sha1-pss.its | 18 algo = "sha1"; 29 algo = "sha1"; 39 algo = "sha1,rsa2048";
|
A D | sign-configs-sha256-pss.its | 18 algo = "sha256"; 29 algo = "sha256"; 39 algo = "sha256,rsa2048";
|
A D | sign-configs-sha256-pss-prod.its | 18 algo = "sha256"; 29 algo = "sha256"; 39 algo = "sha256,rsa2048";
|