Lines Matching refs:RSA

11  * apply to all code found in this distribution, be it the RC4, RSA,
74 #error RSA is disabled.
82 /* typedef struct rsa_st RSA; */
90 RSA *rsa,int padding);
93 RSA *rsa,int padding);
96 RSA *rsa,int padding);
99 RSA *rsa,int padding);
100 int (*rsa_mod_exp)(BIGNUM *r0,const BIGNUM *I,RSA *rsa,BN_CTX *ctx); /* Can be null */
104 int (*init)(RSA *rsa); /* called at new */
105 int (*finish)(RSA *rsa); /* called at free */
117 unsigned char *sigret, unsigned int *siglen, const RSA *rsa);
121 const RSA *rsa);
122 /* If this callback is NULL, the builtin software RSA key-gen will be used. This
126 int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
146 /* be careful using this if the RSA structure is shared */
195 * RSA implementation now uses blinding by
199 #define RSA_FLAG_NO_CONSTTIME 0x0100 /* new with 0.9.8f; the built-in RSA
206 * operations and results in faster RSA
211 /* new with 0.9.7h; the built-in RSA
281 RSA * RSA_new(void);
282 RSA * RSA_new_method(ENGINE *engine);
283 int RSA_size(const RSA *);
287 RSA * RSA_generate_key(int bits, unsigned long e,void
292 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
294 int RSA_check_key(const RSA *);
297 unsigned char *to, RSA *rsa,int padding);
299 unsigned char *to, RSA *rsa,int padding);
301 unsigned char *to, RSA *rsa,int padding);
303 unsigned char *to, RSA *rsa,int padding);
304 void RSA_free (RSA *r);
305 /* "up" the RSA object's reference count */
306 int RSA_up_ref(RSA *r);
308 int RSA_flags(const RSA *r);
312 const RSA_METHOD *RSA_get_method(const RSA *rsa);
313 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
316 int RSA_memory_lock(RSA *r);
318 /* these are the actual SSLeay RSA functions */
323 DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPublicKey)
324 DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)
337 int RSA_print_fp(FILE *fp, const RSA *r,int offset);
341 int RSA_print(BIO *bp, const RSA *r,int offset);
345 int i2d_RSA_NET(const RSA *a, unsigned char **pp,
348 RSA *d2i_RSA_NET(RSA **a, const unsigned char **pp, long length,
352 int i2d_Netscape_RSA(const RSA *a, unsigned char **pp,
355 RSA *d2i_Netscape_RSA(RSA **a, const unsigned char **pp, long length,
361 * inside PKCS#1 padded RSA encryption */
363 unsigned char *sigret, unsigned int *siglen, RSA *rsa);
365 const unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
368 * object inside PKCS#1 padded RSA encryption */
371 unsigned char *sigret, unsigned int *siglen, RSA *rsa);
374 unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
376 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
377 void RSA_blinding_off(RSA *rsa);
378 BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *ctx);
410 int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash,
412 int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM,
416 int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash,
420 int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM,
426 int RSA_set_ex_data(RSA *r,int idx,void *arg);
427 void *RSA_get_ex_data(const RSA *r, int idx);
429 RSA *RSAPublicKey_dup(RSA *rsa);
430 RSA *RSAPrivateKey_dup(RSA *rsa);
432 /* If this flag is set the RSA method is FIPS compliant and can be used
457 /* Error codes for the RSA functions. */