---
name: "kcapi_md_update"
section: "3"
platform: "linux"
package: "libkcapi-dev"
version: "1.4.0-1+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/kcapi_md_update"
---

# kcapi\_md\_update(3)

message digest update function (stream)

## NAME

kcapi\_md\_update - message digest update function (stream)

## SYNOPSIS

**ssize\_t kcapi\_md\_update(struct kcapi\_handle \*** *handle***, const uint8\_t \*** *buffer***, size\_t** *len***);**

## ARGUMENTS

*handle*

\[in\] cipher handle

*buffer*

\[in\] holding the data to add to the message digest

*len*

\[in\] buffer length

## DESCRIPTION

The input buffer can be at most INT\_MAX in size.

*return* 0 upon success; a negative errno-style error code if an error occurred

## AUTHOR

**Stephan Mueller** \<smueller@chronox.de\>

Author.

## COPYRIGHT
