Searched refs:dest_buf (Results 1 – 4 of 4) sorted by relevance
| /rk3399_rockchip-uboot/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() 209 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf, in hw_sha_finish() argument 212 return caam_hash_finish(ctx, dest_buf, size, get_hash_type(algo)); in hw_sha_finish()
|
| /rk3399_rockchip-uboot/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() 104 static int hash_finish_crc32(struct hash_algo *algo, void *ctx, void *dest_buf, in hash_finish_crc32() argument 110 *((uint32_t *)dest_buf) = *((uint32_t *)ctx); in hash_finish_crc32()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | hw_sha.h | 73 int hw_sha_finish(struct hash_algo *algo, void *ctx, void *dest_buf,
|
| H A D | hash.h | 71 int (*hash_finish)(struct hash_algo *algo, void *ctx, void *dest_buf,
|