MacLength Method
MacLength(CmacBlockCipherAlgorithm)
Returns the size, in bytes, of the resulting CMAC given the specified underlying block cipher algorithm.
C#
public static int MacLength(this CmacBlockCipherAlgorithm algorithm)
Parameters
Type | Name | Description |
---|---|---|
CmacBlockCipherAlgorithm | algorithm | The algorithm name to check. |
Returns
System.Int32
An int, the size, in bytes, of the CMAC result for the specified block cipher algorithm.