CmacFinal Method
CmacFinal(Span<Byte>)
Complete the CMAC process, generating the result.
C#
void CmacFinal(Span<byte> macBuffer)
Parameters
Type | Name | Description |
---|---|---|
System.Span<System.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
.