> /** > + * RSA padding type > + */ > +struct rte_crypto_rsa_padding { > + enum rte_crypto_rsa_padding_type type; > + /**< RSA padding scheme to be used for transform */ > + enum rte_crypto_auth_algorithm md; > + /**< > + * RSA padding hash function > + * > + * When a specific padding type is selected, the following rule apply: > + * - RTE_CRYPTO_RSA_PADDING_NONE: > + * This field is ignored by the PMD > + * > + * - RTE_CRYPTO_RSA_PADDING_PKCS1_5: > + * When signing operation this field is used to determine value > + * of the DigestInfo structure, therefore specifying which algorithm > + * was used to create the message digest. > + * When doing encryption/decryption this field is ignored for this > + * padding type. > + * > + * - RTE_CRYPTO_RSA_PADDING_OAEP > + * This field shall be set with the hash algorithm used > + * in the padding scheme > + * > + * - RTE_CRYPTO_RSA_PADDING_PSS > + * This field shall be set with the hash algorithm used > + * in the padding scheme (and to create the input message digest) > + */ Forgot to comment on previous patch about the valid algos for this. They are removed in previous patch, but it should not be removed. Right?
- RE: [EXT] [PATCH v2 07/14] cryptodev: add ellipti... Akhil Goyal
- RE: [EXT] [PATCH v2 07/14] cryptodev: add ell... Kusztal, ArkadiuszX
- [PATCH v2 08/14] cryptodev: add public key verify opti... Arek Kusztal
- RE: [EXT] [PATCH v2 08/14] cryptodev: add public ... Akhil Goyal
- RE: [EXT] [PATCH v2 08/14] cryptodev: add pub... Kusztal, ArkadiuszX
- [PATCH v2 09/14] cryptodev: add asym op flags Arek Kusztal
- [PATCH v2 10/14] cryptodev: clarify usage of rsa paddi... Arek Kusztal
- [PATCH v2 11/14] cryptodev: move RSA padding into sepa... Arek Kusztal
- RE: [EXT] [PATCH v2 11/14] cryptodev: move RSA pa... Akhil Goyal
- RE: [EXT] [PATCH v2 11/14] cryptodev: move RS... Kusztal, ArkadiuszX
- RE: [EXT] [PATCH v2 11/14] cryptodev: mov... Akhil Goyal
- RE: [EXT] [PATCH v2 11/14] cryptodev:... Kusztal, ArkadiuszX
- RE: [EXT] [PATCH v2 11/14] crypt... Akhil Goyal
- [PATCH v2 12/14] cryptodev: clarify rsa verify with no... Arek Kusztal
- RE: [EXT] [PATCH v2 12/14] cryptodev: clarify rsa... Akhil Goyal
- RE: [EXT] [PATCH v2 12/14] cryptodev: clarify... Kusztal, ArkadiuszX
- [PATCH v2 13/14] cryptodev: add salt length and option... Arek Kusztal
- [PATCH v2 14/14] cryptodev: add asym algorithms capabi... Arek Kusztal