Skip to main content

AES_256_CBC_HMAC_SHA256_AEAD

Constant AES_256_CBC_HMAC_SHA256_AEAD 

Source
pub(crate) const AES_256_CBC_HMAC_SHA256_AEAD: i64 = -70011;
Expand description

AES-256-CBC-HMAC-SHA256 used as an Encrypt-then-MAC AEAD. No IANA-registered COSE algorithm describes this construction: the MAC is taken over the IV, length-prefixed ciphertext, and associated data, so that the associated data required by COSE is authenticated. See Aes256CbcHmacSha256Aead for the exact MAC input. A private-use value is therefore allocated.