Latest update.
This commit is contained in:
+10
-3
@@ -10,6 +10,7 @@
|
||||
#ifndef OSSL_INTERNAL_RSA_H
|
||||
# define OSSL_INTERNAL_RSA_H
|
||||
|
||||
#include <openssl/core.h>
|
||||
#include <openssl/rsa.h>
|
||||
|
||||
RSA *rsa_new_with_ctx(OPENSSL_CTX *libctx);
|
||||
@@ -20,10 +21,12 @@ int rsa_set0_all_params(RSA *r, const STACK_OF(BIGNUM) *primes,
|
||||
int rsa_get0_all_params(RSA *r, STACK_OF(BIGNUM_const) *primes,
|
||||
STACK_OF(BIGNUM_const) *exps,
|
||||
STACK_OF(BIGNUM_const) *coeffs);
|
||||
int rsa_fromdata(RSA *rsa, const OSSL_PARAM params[]);
|
||||
|
||||
int rsa_padding_check_PKCS1_type_2_TLS(unsigned char *to, size_t tlen,
|
||||
const unsigned char *from, size_t flen,
|
||||
int client_version, int alt_version);
|
||||
int rsa_padding_check_PKCS1_type_2_TLS(OPENSSL_CTX *ctx, unsigned char *to,
|
||||
size_t tlen, const unsigned char *from,
|
||||
size_t flen, int client_version,
|
||||
int alt_version);
|
||||
|
||||
int rsa_validate_public(const RSA *key);
|
||||
int rsa_validate_private(const RSA *key);
|
||||
@@ -37,4 +40,8 @@ int int_rsa_verify(int dtype, const unsigned char *m,
|
||||
const unsigned char *rsa_digestinfo_encoding(int md_nid, size_t *len);
|
||||
const unsigned char *rsa_algorithmidentifier_encoding(int md_nid, size_t *len);
|
||||
|
||||
extern const char *rsa_mp_factor_names[];
|
||||
extern const char *rsa_mp_exp_names[];
|
||||
extern const char *rsa_mp_coeff_names[];
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user