Home
last modified time | relevance | path

Searched refs:enc_method (Results 1 – 12 of 12) sorted by relevance

/external/boringssl/src/ssl/
Ds3_both.c166 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()
Dd1_srvr.c397 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()
Dd1_clnt.c372 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()
Dt1_enc.c264 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()
Ds3_pkt.c657 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()
Ds3_srvr.c506 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()
Ds3_clnt.c392 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()
Dssl_lib.c420 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()
Ds3_lib.c583 if (ssl->enc_method->enc_flags & SSL_ENC_FLAG_SHA256_PRF && in ssl_get_algorithm_prf()
Dinternal.h740 (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/
Dtest_unit_entropy.c233 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/
Dssl.h3729 const SSL3_ENC_METHOD *enc_method; member