Searched refs:ibuf (Results 1 - 4 of 4) sorted by relevance

/u-boot/include/u-boot/
H A Dhash.h29 const void *ibuf, const uint32_t ilen,
32 const void *ibuf, const uint32_t ilen,
35 int hash_update(struct udevice *dev, void *ctx, const void *ibuf, const uint32_t ilen);
47 int (*hash_update)(struct udevice *dev, void *ctx, const void *ibuf, const uint32_t ilen);
52 const void *ibuf, const uint32_t ilen,
57 const void *ibuf, const uint32_t ilen,
/u-boot/drivers/crypto/hash/
H A Dhash_sw.c25 static void hash_update_crc16_ccitt(void *ctx, const void *ibuf, uint32_t ilen) argument
27 *((uint16_t *)ctx) = crc16_ccitt(*((uint16_t *)ctx), ibuf, ilen);
41 static void hash_update_crc32(void *ctx, const void *ibuf, uint32_t ilen) argument
43 *((uint32_t *)ctx) = crc32(*((uint32_t *)ctx), ibuf, ilen);
57 static void hash_update_md5(void *ctx, const void *ibuf, uint32_t ilen) argument
59 MD5Update((struct MD5Context *)ctx, ibuf, ilen);
73 static void hash_update_sha1(void *ctx, const void *ibuf, uint32_t ilen) argument
75 sha1_update((sha1_context *)ctx, ibuf, ilen);
89 static void hash_update_sha256(void *ctx, const void *ibuf, uint32_t ilen) argument
91 sha256_update((sha256_context *)ctx, ibuf, ile
105 hash_update_sha384(void *ctx, const void *ibuf, uint32_t ilen) argument
121 hash_update_sha512(void *ctx, const void *ibuf, uint32_t ilen) argument
212 sw_hash_update(struct udevice *dev, void *ctx, const void *ibuf, uint32_t ilen) argument
234 sw_hash_digest_wd(struct udevice *dev, enum HASH_ALGO algo, const void *ibuf, const uint32_t ilen, void *obuf, uint32_t chunk_sz) argument
276 sw_hash_digest(struct udevice *dev, enum HASH_ALGO algo, const void *ibuf, const uint32_t ilen, void *obuf) argument
[all...]
H A Dhash-uclass.c65 const void *ibuf, const uint32_t ilen,
73 return ops->hash_digest(dev, algo, ibuf, ilen, obuf);
77 const void *ibuf, const uint32_t ilen,
85 return ops->hash_digest_wd(dev, algo, ibuf, ilen, obuf, chunk_sz);
98 int hash_update(struct udevice *dev, void *ctx, const void *ibuf, const uint32_t ilen) argument
105 return ops->hash_update(dev, ctx, ibuf, ilen);
64 hash_digest(struct udevice *dev, enum HASH_ALGO algo, const void *ibuf, const uint32_t ilen, void *obuf) argument
76 hash_digest_wd(struct udevice *dev, enum HASH_ALGO algo, const void *ibuf, const uint32_t ilen, void *obuf, uint32_t chunk_sz) argument
/u-boot/drivers/crypto/aspeed/
H A Daspeed_hace.c90 static int aspeed_hace_process(struct udevice *dev, void *ctx, const void *ibuf, uint32_t ilen) argument
103 writel((uint32_t)ibuf, hace->base + HACE_HASH_DATA);
167 static int aspeed_hace_update(struct udevice *dev, void *ctx, const void *ibuf, uint32_t ilen) argument
181 memcpy(hace_ctx->buf + left, ibuf, fill);
188 ibuf += fill;
193 rc = aspeed_hace_process(dev, ctx, ibuf, hace_ctx->blk_size);
199 ibuf += hace_ctx->blk_size;
204 memcpy(hace_ctx->buf + left, ibuf, ilen);
279 const void *ibuf, const uint32_t ilen,
292 cur = ibuf;
278 aspeed_hace_digest_wd(struct udevice *dev, enum HASH_ALGO algo, const void *ibuf, const uint32_t ilen, void *obuf, uint32_t chunk_sz) argument
320 aspeed_hace_digest(struct udevice *dev, enum HASH_ALGO algo, const void *ibuf, const uint32_t ilen, void *obuf) argument
[all...]

Completed in 66 milliseconds