-1
$\begingroup$

does aes-cbc-mac guarantees integrity, authenticity and confidentiality? does aes-cmac guarantees integrity, authenticity and confidentiality? because I only know that aes-ccm guarantees all i.e. integrity , authenticity and confidentiality..

$\endgroup$
4
  • 1
    $\begingroup$ Please update your question by using the correct terms. Acronyms and starts of sentences should be capitalized. What have you tried to resolve this question? What kind of guarantees do you think that a MAC provides in general? $\endgroup$
    – Maarten Bodewes
    Commented Oct 7, 2020 at 7:42
  • $\begingroup$ mac provides both authentication and integrity $\endgroup$ Commented Oct 7, 2020 at 11:22
  • 1
    $\begingroup$ Right, but note that CCM also allows Additional Data to be authenticated, which isn't encrypted. $\endgroup$
    – Maarten Bodewes
    Commented Oct 7, 2020 at 12:19
  • $\begingroup$ yeah thanks ... $\endgroup$ Commented Oct 7, 2020 at 12:47

1 Answer 1

2
$\begingroup$

Aes-cbc-mac and aes-cmac offers only authencity and integrity because it deals with MAC.

$\endgroup$
1
  • 1
    $\begingroup$ Well done :) If ephemeral keys are used it will only offer message authenticity, by the way, not to be confused with entity authentication. And note that by default it only proves that the message was generated by somebody that has the key (which, for transport protocols, means both sender and receiver(s)). $\endgroup$
    – Maarten Bodewes
    Commented Oct 7, 2020 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.