Skip to content

Add support to PKCS #11 for AES-CBC and NO_PKCS11 defines#2102

Merged
toddouska merged 2 commits intowolfSSL:masterfrom
SparkiDev:pkcs11_aes_cbc
Feb 22, 2019
Merged

Add support to PKCS #11 for AES-CBC and NO_PKCS11 defines#2102
toddouska merged 2 commits intowolfSSL:masterfrom
SparkiDev:pkcs11_aes_cbc

Conversation

@SparkiDev
Copy link
Contributor

Added PKCS #11 specific defines to turn off support for algorithms.

@SparkiDev SparkiDev self-assigned this Feb 19, 2019
Added PKCS wolfSSL#11 specific defines to turn off support for algorithms.
aes->idLen);
}
if (ret == 0 && clear) {
XMEMSET(aes->devKey, 0, aes->keylen);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be using ForceZero here instead?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Don't memset the key field of AES in PKCS#11.
@SparkiDev SparkiDev removed their assignment Feb 21, 2019
@toddouska toddouska merged commit 04e3c44 into wolfSSL:master Feb 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants