Home
last modified time | relevance | path

Searched refs:eivlen (Results 1 – 4 of 4) sorted by relevance

/openssl/ssl/record/methods/
H A Dtls1_meth.c134 int eivlen = 0; in tls1_set_crypto_state() local
137 eivlen = EVP_CIPHER_CTX_get_iv_length(ciph_ctx); in tls1_set_crypto_state()
138 if (eivlen < 0) { in tls1_set_crypto_state()
142 if (eivlen <= 1) in tls1_set_crypto_state()
143 eivlen = 0; in tls1_set_crypto_state()
146 eivlen = EVP_GCM_TLS_EXPLICIT_IV_LEN; in tls1_set_crypto_state()
148 eivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; in tls1_set_crypto_state()
150 rl->eivlen = (size_t)eivlen; in tls1_set_crypto_state()
H A Ddtls_meth.c711 || (rl->eivlen > 0 in dtls_prepare_record_header()
712 && !WPACKET_allocate_bytes(thispkt, rl->eivlen, NULL)) in dtls_prepare_record_header()
753 assert(rl->enc_ctx == NULL || ((blocksize == 0 || rl->eivlen > 0) in dtls_get_max_record_overhead()
768 return DTLS1_RT_HEADER_LENGTH + rl->eivlen + blocksize + rl->taglen; in dtls_get_max_record_overhead()
H A Drecmethod_local.h300 size_t eivlen; member
H A Dtls_common.c166 defltlen = maxalign + headerlen + rl->eivlen + rl->max_frag_len in tls_setup_write_buffer()
1618 || (rl->eivlen > 0 in tls_prepare_record_header_default()
1619 && !WPACKET_allocate_bytes(thispkt, rl->eivlen, NULL)) in tls_prepare_record_header_default()

Completed in 25 milliseconds