[cifs-protocol] [MS-SAMR] AEAD-AES-256-CBC-HMAC-SHA512
asn at samba.org
Tue Jun 21 12:59:36 UTC 2022
I'm trying to implement support for AEAD-AES-256-CBC-HMAC-SHA512 from [MS-
SAMR] 22.214.171.124 AES Cipher Usage.
This is not really easy as there are some details unclear. I would love to
write a unit test for AEAD-AES-256-CBC-HMAC-SHA512.
Could you please provide hexdump of the buffers used in encryption from a
SamrSetInformationUser2 level 31 from a test platform.
When it performs the following:
Let enc_key ::= HMAC-SHA-512(CEK, SAM_AES256_ENC_KEY_STRING)
Let mac_key ::= HMAC-SHA-512(CEK, SAM_AES256_MAC_KEY_STRING)
Let Cipher ::= AES-CBC(enc_key, IV, secret_plaintext)
Let AuthData ::= HMAC-SHA-512(mac_key, versionbyte + IV + Cipher +
I would like to have hexdumps of the following buffers:
* cek (16byte sesssion key)
The RFC implementation provides something like that, see:
This would allow me to write a unit test and figure out the details what in my
implementation something goes wrong. I can then provide feedback to improve
Thank you very much!
Andreas Schneider asn at samba.org
Samba Team www.samba.org
More information about the cifs-protocol