Skip to content

CBC supports wrap but not unwrap #856

@Leont

Description

@Leont

CKM_AES_CBC (and CKM_DES3_CBC) seem to support the wrap operation, but not the unwrap operation, this is kind of silly.

Given that AES_CBC_PAD does implement both, I suspect it's easy to add unwrapping support (also it looks like the unpadded wrapping code needs to be fixed to actually copy the IV).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions