| /u-boot/common/ |
| A D | hash.c | 46 static int __maybe_unused hash_init_sha1(struct hash_algo *algo, void **ctxp) in hash_init_sha1() 54 static int __maybe_unused hash_update_sha1(struct hash_algo *algo, void *ctx, in hash_update_sha1() 62 static int __maybe_unused hash_finish_sha1(struct hash_algo *algo, void *ctx, in hash_finish_sha1() 154 static int hash_init_crc16_ccitt(struct hash_algo *algo, void **ctxp) in hash_init_crc16_ccitt() 162 static int hash_update_crc16_ccitt(struct hash_algo *algo, void *ctx, in hash_update_crc16_ccitt() 170 static int hash_finish_crc16_ccitt(struct hash_algo *algo, void *ctx, in hash_finish_crc16_ccitt() 396 struct hash_algo *algo; in hash_parse_string() local 417 struct hash_algo *algo; in hash_block() local 449 static void store_result(struct hash_algo *algo, const uint8_t *sum, in store_result() 505 static int parse_verify_sum(struct hash_algo *algo, char *verify_str, in parse_verify_sum() [all …]
|
| /u-boot/drivers/crypto/hash/ |
| A D | hash-uclass.c | 48 ssize_t hash_algo_digest_size(enum HASH_ALGO algo) in hash_algo_digest_size() 56 const char *hash_algo_name(enum HASH_ALGO algo) in hash_algo_name() 64 int hash_digest(struct udevice *dev, enum HASH_ALGO algo, in hash_digest() 76 int hash_digest_wd(struct udevice *dev, enum HASH_ALGO algo, in hash_digest_wd() 88 int hash_init(struct udevice *dev, enum HASH_ALGO algo, void **ctxp) in hash_init()
|
| A D | hash_sw.c | 132 enum HASH_ALGO algo; member 194 static int sw_hash_init(struct udevice *dev, enum HASH_ALGO algo, void **ctxp) in sw_hash_init() 234 static int sw_hash_digest_wd(struct udevice *dev, enum HASH_ALGO algo, in sw_hash_digest_wd() 276 static int sw_hash_digest(struct udevice *dev, enum HASH_ALGO algo, in sw_hash_digest()
|
| /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() 183 unsigned char *pout, enum caam_hash_algos algo) in caam_hash() 232 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init() 237 int hw_sha_update(struct hash_algo *algo, void *ctx, const void *buf, in hw_sha_update() 243 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf, in hw_sha_finish()
|
| /u-boot/lib/ecdsa/ |
| A D | ecdsa-verify.c | 60 const struct checksum_algo *algo = info->checksum; in ecdsa_verify_hash() local 101 const struct checksum_algo *algo = info->checksum; in ecdsa_verify() local
|
| A D | ecdsa-libcrypto.c | 181 const struct checksum_algo *algo = info->checksum; in do_sign() local 214 const struct checksum_algo *algo = info->checksum; in do_verify() local
|
| /u-boot/test/dm/ |
| A D | ecdsa.c | 24 struct checksum_algo algo = { in dm_test_ecdsa_verify() local
|
| /u-boot/drivers/crypto/aspeed/ |
| A D | aspeed_hace.c | 44 enum HASH_ALGO algo; member 114 static int aspeed_hace_init(struct udevice *dev, enum HASH_ALGO algo, void **ctxp) in aspeed_hace_init() 278 static int aspeed_hace_digest_wd(struct udevice *dev, enum HASH_ALGO algo, in aspeed_hace_digest_wd() 320 static int aspeed_hace_digest(struct udevice *dev, enum HASH_ALGO algo, in aspeed_hace_digest()
|
| /u-boot/lib/ |
| A D | hash-checksum.c | 23 struct hash_algo *algo; in hash_calculate() local
|
| /u-boot/lib/efi_loader/ |
| A D | efi_helper.c | 98 const char algo[32]; member 150 int algo_to_len(const char *algo) in algo_to_len()
|
| /u-boot/boot/ |
| A D | image-sig.c | 66 struct checksum_algo *algo = &checksum_algos[i]; in image_get_checksum_algo() local
|
| A D | image-fit.c | 195 const char *algo; in fit_image_print_data() local 1100 int fit_image_hash_get_algo(const void *fit, int noffset, const char **algo) in fit_image_hash_get_algo() 1186 int fit_image_cipher_get_algo(const void *fit, int noffset, char **algo) in fit_image_cipher_get_algo() 1302 const char *algo; in fit_image_check_hash() local
|
| /u-boot/arch/arm/mach-stm32mp/ |
| A D | ecdsa_romapi.c | 53 int algo; in romapi_ecdsa_verify() local
|
| /u-boot/drivers/watchdog/ |
| A D | gpio_wdt.c | 55 const char *algo = dev_read_string(dev, "hw_algo"); in dm_probe() local
|
| /u-boot/include/crypto/ |
| A D | public_key.h | 29 enum OID algo; member
|
| /u-boot/drivers/crypto/nuvoton/ |
| A D | npcm_sha.c | 190 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init() 218 int hw_sha_update(struct hash_algo *algo, void *ctx, const void *buf, in hw_sha_update() 235 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf, int size) in hw_sha_finish()
|
| /u-boot/lib/rsa/ |
| A D | rsa-verify.c | 41 struct checksum_algo *algo) in rsa_verify_padding() 445 const char *algo; in rsa_verify_with_keynode() local
|
| /u-boot/board/freescale/common/ |
| A D | fsl_validate.c | 492 struct hash_algo *algo; in calc_img_key_hash() local 539 struct hash_algo *algo; in calc_esbchdr_esbc_hash() local
|
| /u-boot/lib/crypto/ |
| A D | public_key.c | 100 char algo[256]; in public_key_verify_signature() local
|
| /u-boot/tools/binman/etype/ |
| A D | fit.py | 839 def UpdateSignatures(self, privatekey_fname, algo, input_fname): argument
|
| /u-boot/arch/x86/cpu/quark/ |
| A D | mrc_util.c | 1378 static void print_timings_internal(uint8_t algo, uint8_t channel, uint8_t rank, in print_timings_internal() 1446 uint8_t algo; in print_timings() local
|
| /u-boot/tools/binman/ |
| A D | control.py | 455 def SignEntries(image_fname, input_fname, privatekey_fname, algo, entry_paths, argument
|
| A D | entry.py | 1382 def UpdateSignatures(self, privatekey_fname, algo, input_fname): argument
|
| /u-boot/tools/ |
| A D | image-host.c | 69 const char *algo; in fit_image_process_hash() local
|
| /u-boot/include/linux/mtd/ |
| A D | rawnand.h | 593 enum nand_ecc_algo algo; member
|