Home | History | Annotate | Download | only in ssl

Lines Matching refs:ssl

0 /* ssl/s3_enc.c */
5 * This package is an SSL implementation written
7 * The implementation was written so as to conform with Netscapes SSL.
12 * lhash, DES, etc., code; not just the SSL code. The SSL documentation
158 static int ssl3_handshake_mac(SSL *s, int md_nid,
160 static int ssl3_generate_key_block(SSL *s, unsigned char *km, int num)
216 int ssl3_change_cipher_state(SSL *s, int which)
388 int ssl3_setup_key_block(SSL *s)
457 void ssl3_cleanup_key_block(SSL *s)
478 int ssl3_enc(SSL *s, int send)
548 void ssl3_init_finished_mac(SSL *s)
556 void ssl3_free_digest_list(SSL *s)
571 void ssl3_finish_mac(SSL *s, const unsigned char *buf, int len)
588 int ssl3_digest_cached_records(SSL *s)
638 int ssl3_cert_verify_mac(SSL *s, int md_nid, unsigned char *p)
642 int ssl3_final_finish_mac(SSL *s,
651 static int ssl3_handshake_mac(SSL *s, int md_nid,
705 int n_ssl3_mac(SSL *ssl, unsigned char *md, int send)
718 rec= &(ssl->s3->wrec);
719 mac_sec= &(ssl->s3->write_mac_secret[0]);
720 seq= &(ssl->s3->write_sequence[0]);
721 hash=ssl->write_hash;
725 rec= &(ssl->s3->rrec);
726 mac_sec= &(ssl->s3->read_mac_secret[0]);
727 seq= &(ssl->s3->read_sequence[0]);
728 hash=ssl->read_hash;
742 EVP_CIPHER_CTX_mode(ssl->enc_read_ctx) == EVP_CIPH_CBC_MODE &&
819 int ssl3_generate_master_secret(SSL *s, unsigned char *out, unsigned char *p,