Authenticated Encryption – CAPI2 does not support authenticated encryption mode

Authenticated Encryption (AE) or Authenticated Encryption with Associated Data (AEAD) is a block cipher mode of operation which simultaneously provides confidentiality, integrity, and authenticity assurances on the data; decryption is combined in single step with integrity verification. – Referenced from Wikipedia. See reference below. Crypto API’s or CAPI2 does not support authenticated encryption mode. This…


CAPI2 code that will try to translate a CSP handle into a CNG handle

This blog post is with respect to CAPI2 and CNG. We might encounter situations where in our CAPI2 code we see that the CSP handle being used is CNG. This might be tricky to understand as we are using a CAPI2 provider. The reason is: There are many places in CAPI2 code that will try to translate…

0