Home
last modified time | relevance | path

Searched refs:mac_secret_size (Results 1 – 6 of 6) sorted by relevance

/external/openssl/ssl/
Dt1_enc.c337 int *mac_secret_size; in tls1_change_cipher_state() local
409 mac_secret_size=&(s->s3->read_mac_secret_size); in tls1_change_cipher_state()
451 mac_secret_size = &(s->s3->write_mac_secret_size); in tls1_change_cipher_state()
458 i=*mac_secret_size=s->s3->tmp.new_mac_secret_size; in tls1_change_cipher_state()
501 mac_secret,*mac_secret_size); in tls1_change_cipher_state()
560 if ((EVP_CIPHER_flags(c)&EVP_CIPH_FLAG_AEAD_CIPHER) && *mac_secret_size) in tls1_change_cipher_state()
562 *mac_secret_size,mac_secret); in tls1_change_cipher_state()
590 int mac_type= NID_undef,mac_secret_size=0; in tls1_setup_key_block() local
600 if (!ssl_cipher_get_evp(s->session,&c,&hash,&mac_type,&mac_secret_size,&comp)) in tls1_setup_key_block()
609 s->s3->tmp.new_mac_secret_size = mac_secret_size; in tls1_setup_key_block()
[all …]
Dssl_ciph.c489 const EVP_MD **md, int *mac_pkey_type, int *mac_secret_size,SSL_COMP **comp) in ssl_cipher_get_evp() argument
604 if (mac_secret_size!=NULL) *mac_secret_size = 0; in ssl_cipher_get_evp()
612 if (mac_secret_size!=NULL) *mac_secret_size = ssl_mac_secret_size[i]; in ssl_cipher_get_evp()
Dssl_locl.h849 const EVP_MD **md,int *mac_pkey_type,int *mac_secret_size, SSL_COMP **comp);
/external/chromium_org/third_party/boringssl/src/ssl/
Dt1_enc.c580 int mac_type= NID_undef,mac_secret_size=0; in tls1_setup_key_block() local
601 !ssl_cipher_get_mac(s->session, &hash, &mac_type, &mac_secret_size)) in tls1_setup_key_block()
606 if (key_len < mac_secret_size) in tls1_setup_key_block()
611 key_len -= mac_secret_size; in tls1_setup_key_block()
615 if (!ssl_cipher_get_evp(s->session,&c,&hash,&mac_type,&mac_secret_size)) in tls1_setup_key_block()
625 s->s3->tmp.new_mac_secret_size = mac_secret_size; in tls1_setup_key_block()
627 num=key_len+mac_secret_size+iv_len; in tls1_setup_key_block()
Dssl_ciph.c279 const EVP_MD **md, int *mac_pkey_type, int *mac_secret_size) in ssl_cipher_get_evp() argument
311 if (!ssl_cipher_get_mac(s, md, mac_pkey_type, mac_secret_size)) in ssl_cipher_get_evp()
339 …l_cipher_get_mac(const SSL_SESSION *s, const EVP_MD **md, int *mac_pkey_type, int *mac_secret_size) in ssl_cipher_get_mac() argument
368 if (mac_secret_size!=NULL) in ssl_cipher_get_mac()
370 *mac_secret_size = EVP_MD_size(*md); in ssl_cipher_get_mac()
Dssl_locl.h821 const EVP_MD **md,int *mac_pkey_type,int *mac_secret_size);
822 …_cipher_get_mac(const SSL_SESSION *s, const EVP_MD **md, int *mac_pkey_type, int *mac_secret_size);