Searched refs:dest_buf (Results 1 – 6 of 6) sorted by relevance
| /openbmc/u-boot/common/ |
| H A D | hash.c | 49 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 D | fsl_hash.c | 128 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 D | hw_sha.h | 98 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf,
|
| H A D | hash.h | 75 int (*hash_finish)(struct hash_algo *algo, void *ctx, void *dest_buf,
|
| /openbmc/u-boot/drivers/crypto/ |
| H A D | aspeed_hace_v1.c | 219 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 D | aspeed_hace.c | 248 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()
|