/openbmc/u-boot/common/ |
H A D | hash.c | 34 static int hash_init_sha1(struct hash_algo *algo, void **ctxp) in hash_init_sha1() argument 42 static int hash_update_sha1(struct hash_algo *algo, void *ctx, const void *buf, in hash_update_sha1() argument 49 static int hash_finish_sha1(struct hash_algo *algo, void *ctx, void *dest_buf, in hash_finish_sha1() argument 52 if (size < algo->digest_size) in hash_finish_sha1() 62 static int hash_init_sha256(struct hash_algo *algo, void **ctxp) in hash_init_sha256() argument 70 static int hash_update_sha256(struct hash_algo *algo, void *ctx, in hash_update_sha256() argument 77 static int hash_finish_sha256(struct hash_algo *algo, void *ctx, void in hash_finish_sha256() argument 80 if (size < algo->digest_size) in hash_finish_sha256() 90 static int hash_init_sha384(struct hash_algo *algo, void **ctxp) in hash_init_sha384() argument 98 static int hash_update_sha384(struct hash_algo *algo, void *ctx, in hash_update_sha384() argument [all …]
|
/openbmc/u-boot/lib/rsa/ |
H 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()
|
/openbmc/linux/drivers/video/fbdev/savage/ |
D | savagefb-i2c.c |
|
/openbmc/u-boot/drivers/crypto/fsl/ |
H A D | fsl_hash.c | 45 static enum caam_hash_algos get_hash_type(struct hash_algo *algo) in get_hash_type() argument 47 if (!strcmp(algo->name, driver_hash[SHA1].name)) in get_hash_type() 162 unsigned char *pout, enum caam_hash_algos algo) in caam_hash() argument 184 driver_hash[algo].alg_type, in caam_hash() 185 driver_hash[algo].digestsize, in caam_hash() 193 size = ALIGN(driver_hash[algo].digestsize, ARCH_DMA_MINALIGN); in caam_hash() 215 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init() argument 217 return caam_hash_init(ctxp, get_hash_type(algo)); in hw_sha_init() 220 int hw_sha_update(struct hash_algo *algo, void *ctx, const void *buf, in hw_sha_update() argument 223 return caam_hash_update(ctx, buf, size, is_last, get_hash_type(algo)); in hw_sha_update() [all …]
|
/openbmc/qemu/backends/ |
H A D | cryptodev-builtin.c | 138 int algo; in cryptodev_builtin_get_aes_algo() local 141 algo = QCRYPTO_CIPHER_ALGO_AES_128; in cryptodev_builtin_get_aes_algo() 143 algo = QCRYPTO_CIPHER_ALGO_AES_192; in cryptodev_builtin_get_aes_algo() 146 algo = QCRYPTO_CIPHER_ALGO_AES_128; in cryptodev_builtin_get_aes_algo() 148 algo = QCRYPTO_CIPHER_ALGO_AES_256; in cryptodev_builtin_get_aes_algo() 152 algo = QCRYPTO_CIPHER_ALGO_AES_256; in cryptodev_builtin_get_aes_algo() 160 return algo; in cryptodev_builtin_get_aes_algo() 221 int algo; in cryptodev_builtin_create_cipher_session() local 242 algo = cryptodev_builtin_get_aes_algo(sess_info->key_len, in cryptodev_builtin_create_cipher_session() 244 if (algo < 0) { in cryptodev_builtin_create_cipher_session() [all …]
|
/openbmc/linux/drivers/gpu/drm/gma500/ |
D | intel_i2c.c |
|
/openbmc/u-boot/board/freescale/common/ |
H A D | fsl_validate.c | 487 struct hash_algo *algo; in calc_img_key_hash() local 494 ret = hash_progressive_lookup_algo(algo_name, &algo); in calc_img_key_hash() 498 ret = algo->hash_init(algo, &ctx); in calc_img_key_hash() 505 ret = algo->hash_update(algo, ctx, in calc_img_key_hash() 512 ret = algo->hash_update(algo, ctx, in calc_img_key_hash() 518 ret = algo->hash_finish(algo, ctx, hash_val, algo->digest_size); in calc_img_key_hash() 535 struct hash_algo *algo; in calc_esbchdr_esbc_hash() local 542 ret = hash_progressive_lookup_algo(algo_name, &algo); in calc_esbchdr_esbc_hash() 546 ret = algo->hash_init(algo, &ctx); in calc_esbchdr_esbc_hash() 552 ret = algo->hash_update(algo, ctx, in calc_esbchdr_esbc_hash() [all …]
|
/openbmc/u-boot/doc/uImage.FIT/ |
H 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";
|
H A D | kernel_fdt.its | 22 algo = "crc32"; 25 algo = "sha1"; 35 algo = "crc32"; 38 algo = "sha1";
|
/openbmc/linux/drivers/video/fbdev/i810/ |
D | i810-i2c.c |
|
/openbmc/linux/include/linux/ |
D | genalloc.h |
|
/openbmc/linux/lib/raid6/test/ |
D | test.c |
|
/openbmc/linux/drivers/video/fbdev/nvidia/ |
D | nv_i2c.c |
|
/openbmc/linux/drivers/video/fbdev/aty/ |
D | radeon_i2c.c |
|
/openbmc/linux/drivers/video/fbdev/riva/ |
D | rivafb-i2c.c |
|
/openbmc/linux/drivers/crypto/virtio/ |
D | virtio_crypto_mgr.c |
|
/openbmc/linux/drivers/i2c/algos/ |
D | Makefile |
|
/openbmc/u-boot/tools/binman/ |
H A D | state.py | 234 algo = hash_node.props.get('algo') 235 if not algo: 237 if algo.value == 'sha256': 240 return "Unknown hash algorithm '%s'" % algo 247 algo = hash_node.props.get('algo').value 248 if algo == 'sha256':
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
D | bus.c |
|
/openbmc/linux/drivers/i2c/busses/ |
D | i2c-nforce2-s4985.c |
|
D | i2c-amd756-s4882.c |
|
/openbmc/linux/drivers/crypto/intel/keembay/ |
D | ocs-hcu.h |
|
/openbmc/u-boot/drivers/crypto/ |
H A D | aspeed_hace_v1.c | 158 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init() argument 163 if (!strcmp(algo->name, "sha1")) { in hw_sha_init() 166 else if (!strcmp(algo->name, "sha256")) { in hw_sha_init() 169 else if (!strcmp(algo->name, "sha512")) { in hw_sha_init() 190 ctx->digest_size = algo->digest_size; in hw_sha_init() 196 int hw_sha_update(struct hash_algo *algo, void *hash_ctx, const void *buf, in hw_sha_update() argument 219 int hw_sha_finish(struct hash_algo *algo, void *hash_ctx, void *dest_buf, int size) in hw_sha_finish() argument
|
/openbmc/u-boot/include/ |
H A D | hw_sha.h | 70 int hw_sha_init(struct hash_algo *algo, void **ctxp); 84 int hw_sha_update(struct hash_algo *algo, void *ctx, const void *buf, 98 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf,
|
H A D | hash.h | 48 int (*hash_init)(struct hash_algo *algo, void **ctxp); 61 int (*hash_update)(struct hash_algo *algo, void *ctx, const void *buf, 75 int (*hash_finish)(struct hash_algo *algo, void *ctx, void *dest_buf,
|