| 6 | // |
| 7 | // https://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 |
| 15 | #ifndef OPENSSL_HEADER_CRYPTO_RSA_INTERNAL_H |
| 16 | #define OPENSSL_HEADER_CRYPTO_RSA_INTERNAL_H |
| 17 |
| 18 | #include <openssl/base.h> |
| 19 |
| 20 | #if defined(__cplusplus) |
| 21 | extern "C" { |
| 22 | #endif |
| 23 |
| 24 |
| 25 | int RSA_padding_check_PKCS1_OAEP_mgf1(uint8_t *out, size_t *out_len, |
| 26 | size_t max_out, const uint8_t *from, |
| 27 | size_t from_len, const uint8_t *param, |
| 28 | size_t param_len, const EVP_MD *md, |
| 29 | const EVP_MD *mgf1md); |
| 30 |
| 31 |
| 32 | #if defined(__cplusplus) |
| 33 | } // extern C |
| 34 | #endif |
| 35 |
| 36 | #endif // OPENSSL_HEADER_CRYPTO_RSA_INTERNAL_H |
| 37 |