Home
last modified time | relevance | path

Searched refs:dest_buf (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/common/
H A Dhash.c49 static int hash_finish_sha1(struct hash_algo *algo, void *ctx, void *dest_buf, in hash_finish_sha1() argument
55 sha1_finish((sha1_context *)ctx, dest_buf); in hash_finish_sha1()
78 *dest_buf, int size) in hash_finish_sha256() argument
83 sha256_finish((sha256_context *)ctx, dest_buf); in hash_finish_sha256()
106 *dest_buf, int size) in hash_finish_sha384() argument
111 sha384_finish((sha512_context *)ctx, dest_buf); in hash_finish_sha384()
134 *dest_buf, int size) in hash_finish_sha512() argument
139 sha512_finish((sha512_context *)ctx, dest_buf); in hash_finish_sha512()
163 void *dest_buf, int size) in hash_finish_crc16_ccitt() argument
168 *((uint16_t *)dest_buf) = *((uint16_t *)ctx); in hash_finish_crc16_ccitt()
[all …]
/openbmc/u-boot/drivers/crypto/fsl/
H A Dfsl_hash.c128 static int caam_hash_finish(void *hash_ctx, void *dest_buf, in caam_hash_finish() argument
155 memcpy(dest_buf, ctx->hash, sizeof(ctx->hash)); in caam_hash_finish()
226 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf, in hw_sha_finish() argument
229 return caam_hash_finish(ctx, dest_buf, size, get_hash_type(algo)); in hw_sha_finish()
/openbmc/u-boot/include/
H A Dhw_sha.h98 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf,
H A Dhash.h75 int (*hash_finish)(struct hash_algo *algo, void *ctx, void *dest_buf,
/openbmc/u-boot/drivers/crypto/
H A Daspeed_hace_v1.c219 int hw_sha_finish(struct hash_algo *algo, void *hash_ctx, void *dest_buf, int size) in hw_sha_finish() argument
230 rc = digest_object(ctx->list, ctx->len, dest_buf, ctx->method); in hw_sha_finish()
H A Daspeed_hace.c248 int hw_sha_finish(struct hash_algo *algo, void *hash_ctx, void *dest_buf, int size) in hw_sha_finish() argument
265 memcpy(dest_buf, ctx->digest, ctx->digest_size); in hw_sha_finish()