BIO_F_CIPHER(3ssl) OpenSSL BIO_F_CIPHER(3ssl) BIO_f_cipher, BIO_set_cipher, BIO_get_cipher_status, BIO_get_cipher_ctx - BIO #include #include const BIO_METHOD *BIO_f_cipher(void); int BIO_set_cipher(BIO *b, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv, int enc); int BIO_get_cipher_status(BIO *b); int BIO_get_cipher_ctx(BIO *b, EVP_CIPHER_CTX **pctx); BIO_f_cipher() BIO . BIO . BIO EVP_CipherInit(), EVP_CipherUpdate() EVP_CipherFinal(). BIOs BIO_gets() BIO_puts(). BIO_flush() BIO : BIO. BIO_set_cipher() BIO b cipher key IV iv. enc 1 . BIO EOF. BIO_get_cipher_status() BIO_ctrl() . BIO_get_cipher_ctx() BIO_ctrl() BIO . . BIO_set_cipher() . BIO_flush() BIO. . . EOF . BIO_get_cipher_status() . BIO_gets() BIO_puts() BIO BIO . BIO_f_cipher() BIO . BIO_set_cipher() 1 0 . BIO_get_cipher_status() 1 <=0 . BIO_get_cipher_ctx() 1 <=0 . 2000-2020 OpenSSL. . Apache 2.0 ( ""). . LICENSE . 3 . . : . 3.6.2 7 2026 BIO_F_CIPHER(3ssl)