You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #853 on July 17, 2022 13:21.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Describe the bug
CCM init allows to pass the
authenticationTag
as a parameter, if it's not included in the ciphertext:CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift
Lines 61 to 72 in e745937
However, this tag is then ignored:
CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift
Line 105 in e745937
CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift
Lines 74 to 81 in e745937
where
expectedTag
is not used, and set tonil
.Reproduce
The following code does not decode properly:
however, when I concatenate data and mic, it works:
Beta Was this translation helpful? Give feedback.
All reactions