Skip to content

sm2: pke no std support#1687

Open
MaxKingPor wants to merge 7 commits intoRustCrypto:masterfrom
MaxKingPor:dev
Open

sm2: pke no std support#1687
MaxKingPor wants to merge 7 commits intoRustCrypto:masterfrom
MaxKingPor:dev

Conversation

@MaxKingPor
Copy link

sm2 pke no std support


/// Decrypts a message using a specified digest algorithm from a `Cipher` object,
/// storing the plaintext in the provided buffer and returning the number of bytes written.
pub fn decrypt_cipherr_with_buf<'a, D>(
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
pub fn decrypt_cipherr_with_buf<'a, D>(
pub fn decrypt_cipher_with_buf<'a, D>(

sm2/Cargo.toml Outdated
check-cfg = [
'cfg(cpubits, values("16", "32", "64"))',
'cfg(sm2_backend, values("bignum", "fiat"))' # default: "fiat"
'cfg(sm2_backend, values("bignum", "fiat"))', # default: "fiat"
Copy link
Member

Choose a reason for hiding this comment

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

This change seems a bit unnecessary

@MaxKingPor
Copy link
Author

@tarcieri All done

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.

2 participants