Show / Hide Table of Contents

CmacFinal Method

CmacFinal(Span<byte>)

Complete the CMAC process, generating the result.

C#
void CmacFinal(Span<byte> macBuffer)

Parameters

Type Name Description
Span<byte> macBuffer

The Span into which the method will place the result.

Remarks

Call this with there is no more data to process. This method will fill the provided macBuffer with the resulting CMAC value. The Span must be the exact length of the result. To know the required output size, in bytes, use the CmacBlockCipherAlgorithm extension MacLength.

In this article
Back to top Generated by DocFX