Skip to main content

aes128_gmac

Function aes128_gmac 

Source
pub fn aes128_gmac(key: &[u8; 16], nonce: &[u8; 12], msg: &[u8]) -> [u8; 16]
Expand description

AES-128-GMAC authentication tag over msg with nonce ([RFC4543]): the SMB 3.1.1 AES-GMAC signature ([MS-SMB2] §3.1.4.1). GMAC is AES-GCM with an empty plaintext and the message supplied as additional authenticated data; the 16-byte GCM tag is the signature.