• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl-1.0.0q/crypto/evp/

Lines Matching refs:EVP_CIPHER_CTX

307 	int (*init)(EVP_CIPHER_CTX *ctx, const unsigned char *key,
309 int (*do_cipher)(EVP_CIPHER_CTX *ctx, unsigned char *out,
311 int (*cleanup)(EVP_CIPHER_CTX *); /* cleanup ctx */
313 int (*set_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *); /* Populate a ASN1_TYPE with parameters */
314 int (*get_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *); /* Get parameters from a ASN1_TYPE */
315 int (*ctrl)(EVP_CIPHER_CTX *, int type, int arg, void *ptr); /* Miscellaneous operations */
387 } /* EVP_CIPHER_CTX */;
403 typedef int (EVP_PBE_KEYGEN)(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
454 const EVP_CIPHER * EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx);
455 int EVP_CIPHER_CTX_nid(const EVP_CIPHER_CTX *ctx);
456 int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx);
457 int EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx);
458 int EVP_CIPHER_CTX_iv_length(const EVP_CIPHER_CTX *ctx);
459 int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in);
460 void * EVP_CIPHER_CTX_get_app_data(const EVP_CIPHER_CTX *ctx);
461 void EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx, void *data);
463 unsigned long EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *ctx);
491 int EVP_Cipher(EVP_CIPHER_CTX *c,
533 void EVP_CIPHER_CTX_set_flags(EVP_CIPHER_CTX *ctx, int flags);
534 void EVP_CIPHER_CTX_clear_flags(EVP_CIPHER_CTX *ctx, int flags);
535 int EVP_CIPHER_CTX_test_flags(const EVP_CIPHER_CTX *ctx,int flags);
537 int EVP_EncryptInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher,
539 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl,
541 int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
543 int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);
544 int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);
546 int EVP_DecryptInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher,
548 int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl,
550 int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
552 int EVP_DecryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl);
553 int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl);
555 int EVP_CipherInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher,
558 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl,
561 int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
563 int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl);
564 int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl);
582 int EVP_OpenInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *type,
585 int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);
587 int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
590 int EVP_SealFinal(EVP_CIPHER_CTX *ctx,unsigned char *out,int *outl);
605 void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *a);
606 int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *a);
607 EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void);
608 void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *a);
609 int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *x, int keylen);
610 int EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *c, int pad);
611 int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr);
612 int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key);
903 int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
904 int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
907 int EVP_CIPHER_set_asn1_iv(EVP_CIPHER_CTX *c,ASN1_TYPE *type);
908 int EVP_CIPHER_get_asn1_iv(EVP_CIPHER_CTX *c,ASN1_TYPE *type);
911 int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
921 int PKCS5_v2_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
928 ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de);