Remove RSA_OAEP_PARAMS.
It's never used. (Only used upstream as part of some CMS hooks.) Change-Id: I7c59badc3e4771d7debbef0c3e0def93dc605e7b Reviewed-on: https://boringssl-review.googlesource.com/5274 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
74f711083d
commit
27dc1cd75a
@ -127,12 +127,6 @@ typedef struct rsa_pss_params_st {
|
||||
|
||||
DECLARE_ASN1_FUNCTIONS(RSA_PSS_PARAMS)
|
||||
|
||||
typedef struct rsa_oaep_params_st {
|
||||
X509_ALGOR *hashFunc;
|
||||
X509_ALGOR *maskGenFunc;
|
||||
X509_ALGOR *pSourceFunc;
|
||||
} RSA_OAEP_PARAMS;
|
||||
|
||||
/* RSA_additional_prime contains information about the third, forth etc prime
|
||||
* in a multi-prime RSA key. */
|
||||
typedef struct RSA_additional_prime_st {
|
||||
|
@ -424,14 +424,6 @@ ASN1_SEQUENCE(RSA_PSS_PARAMS) = {
|
||||
|
||||
IMPLEMENT_ASN1_FUNCTIONS(RSA_PSS_PARAMS);
|
||||
|
||||
ASN1_SEQUENCE(RSA_OAEP_PARAMS) = {
|
||||
ASN1_EXP_OPT(RSA_OAEP_PARAMS, hashFunc, X509_ALGOR, 0),
|
||||
ASN1_EXP_OPT(RSA_OAEP_PARAMS, maskGenFunc, X509_ALGOR, 1),
|
||||
ASN1_EXP_OPT(RSA_OAEP_PARAMS, pSourceFunc, X509_ALGOR, 2),
|
||||
} ASN1_SEQUENCE_END(RSA_OAEP_PARAMS);
|
||||
|
||||
IMPLEMENT_ASN1_FUNCTIONS(RSA_OAEP_PARAMS);
|
||||
|
||||
RSA *RSAPublicKey_dup(const RSA *rsa) {
|
||||
uint8_t *der;
|
||||
size_t der_len;
|
||||
|
Loading…
Reference in New Issue
Block a user