---
name: "kcapi_aead_authsize"
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_aead_authsize"
---

# kcapi\_aead\_authsize(3)

return the maximum size of the tag

## NAME

kcapi\_aead\_authsize - return the maximum size of the tag

## SYNOPSIS

**uint32\_t kcapi\_aead\_authsize(struct kcapi\_handle \*** *handle***);**

## ARGUMENTS

*handle*

\[in\] cipher handle

## DESCRIPTION

The returned maximum is the largest size of the authenticaation tag that can be produced by the AEAD cipher. Smaller tag sizes may be chosen depending on the AEAD cipher type.

*return* \> 0 specifying the block size; 0 on error

## AUTHOR

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

Author.

## COPYRIGHT
