Searched refs:enc_method (Results 1 – 12 of 12) sorted by relevance
/external/boringssl/src/ssl/ |
D | s3_both.c | 166 n = ssl->enc_method->final_finish_mac(ssl, sender, slen, in ssl3_send_finished() 215 sender = ssl->enc_method->server_finished_label; in ssl3_take_mac() 216 slen = ssl->enc_method->server_finished_label_len; in ssl3_take_mac() 218 sender = ssl->enc_method->client_finished_label; in ssl3_take_mac() 219 slen = ssl->enc_method->client_finished_label_len; in ssl3_take_mac() 222 ssl->s3->tmp.peer_finish_md_len = ssl->enc_method->final_finish_mac( in ssl3_take_mac() 470 if (ssl->enc_method->cert_verify_mac(ssl, NID_md5, out) == 0 || in ssl3_cert_verify_hash() 471 ssl->enc_method->cert_verify_mac(ssl, NID_sha1, in ssl3_cert_verify_hash() 478 if (ssl->enc_method->cert_verify_mac(ssl, NID_sha1, out) == 0) { in ssl3_cert_verify_hash()
|
D | d1_srvr.c | 397 if (!ssl->enc_method->setup_key_block(ssl)) { in dtls1_accept() 412 if (!ssl->enc_method->change_cipher_state( in dtls1_accept() 423 ssl->enc_method->server_finished_label, in dtls1_accept() 424 ssl->enc_method->server_finished_label_len); in dtls1_accept()
|
D | d1_clnt.c | 372 if (!ssl->enc_method->setup_key_block(ssl) || in dtls1_connect() 373 !ssl->enc_method->change_cipher_state( in dtls1_connect() 388 ssl->enc_method->client_finished_label, in dtls1_connect() 389 ssl->enc_method->client_finished_label_len); in dtls1_connect()
|
D | t1_enc.c | 264 return ssl->enc_method->prf( in tls1_generate_key_block() 530 if (!ssl->enc_method->prf(ssl, out, 12, ssl->session->master_key, in tls1_final_finish_mac() 553 if (!ssl->enc_method->prf(ssl, out, SSL3_MASTER_SECRET_SIZE, premaster, in tls1_generate_master_secret() 561 if (!ssl->enc_method->prf(ssl, out, SSL3_MASTER_SECRET_SIZE, premaster, in tls1_generate_master_secret() 604 int ret = ssl->enc_method->prf(ssl, out, out_len, ssl->session->master_key, in tls1_export_keying_material()
|
D | s3_pkt.c | 657 if (!ssl->enc_method->setup_key_block(ssl)) { in ssl3_do_change_cipher_spec() 662 if (!ssl->enc_method->change_cipher_state(ssl, i)) { in ssl3_do_change_cipher_spec() 671 desc = ssl->enc_method->alert_value(desc); in ssl3_send_alert()
|
D | s3_srvr.c | 506 if (!ssl->enc_method->setup_key_block(ssl)) { in ssl3_accept() 519 if (!ssl->enc_method->change_cipher_state( in ssl3_accept() 530 ssl->enc_method->server_finished_label, in ssl3_accept() 531 ssl->enc_method->server_finished_label_len); in ssl3_accept() 883 ssl->enc_method = ssl3_get_enc_method(version); in ssl3_get_client_hello() 884 assert(ssl->enc_method != NULL); in ssl3_get_client_hello() 1709 ssl->session->master_key_length = ssl->enc_method->generate_master_secret( in ssl3_get_client_key_exchange()
|
D | s3_clnt.c | 392 if (!ssl->enc_method->setup_key_block(ssl) || in ssl3_connect() 393 !ssl->enc_method->change_cipher_state( in ssl3_connect() 428 ssl->enc_method->client_finished_label, in ssl3_connect() 429 ssl->enc_method->client_finished_label_len); in ssl3_connect() 794 ssl->enc_method = ssl3_get_enc_method(server_version); in ssl3_get_server_hello() 795 assert(ssl->enc_method != NULL); in ssl3_get_server_hello() 1758 ssl->session->master_key_length = ssl->enc_method->generate_master_secret( in ssl3_send_client_key_exchange()
|
D | ssl_lib.c | 420 ssl->enc_method = ssl3_get_enc_method(ssl->version); in SSL_new() 421 assert(ssl->enc_method != NULL); in SSL_new() 1654 return ssl->enc_method->export_keying_material( in SSL_export_keying_material() 2630 ssl->enc_method = ssl3_get_enc_method(ssl->version); in SSL_clear() 2631 assert(ssl->enc_method != NULL); in SSL_clear()
|
D | s3_lib.c | 583 if (ssl->enc_method->enc_flags & SSL_ENC_FLAG_SHA256_PRF && in ssl_get_algorithm_prf()
|
D | internal.h | 740 (ssl->enc_method->enc_flags & SSL_ENC_FLAG_EXPLICIT_IV) 743 #define SSL_USE_SIGALGS(ssl) (ssl->enc_method->enc_flags & SSL_ENC_FLAG_SIGALGS)
|
/external/libopus/celt/tests/ |
D | test_unit_entropy.c | 233 unsigned *enc_method; in main() local 239 enc_method=(unsigned *)malloc(sz*sizeof(*enc_method)); in main() 245 enc_method[j]=rand()/((RAND_MAX>>2)+1); in main() 246 switch(enc_method[j]){ in main() 311 enc_method[j],dec_method); in main() 320 free(enc_method); in main()
|
/external/boringssl/src/include/openssl/ |
D | ssl.h | 3729 const SSL3_ENC_METHOD *enc_method; member
|