Searched refs:eivlen (Results 1 – 2 of 2) sorted by relevance
798 int eivlen; in do_dtls1_write() local876 eivlen = EVP_CIPHER_CTX_get_iv_length(s->enc_write_ctx); in do_dtls1_write()877 if (eivlen < 0) { in do_dtls1_write()881 if (eivlen <= 1) in do_dtls1_write()882 eivlen = 0; in do_dtls1_write()886 eivlen = EVP_GCM_TLS_EXPLICIT_IV_LEN; in do_dtls1_write()888 eivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; in do_dtls1_write()890 eivlen = 0; in do_dtls1_write()892 eivlen = 0; in do_dtls1_write()895 SSL3_RECORD_set_data(&wr, p + eivlen); /* make room for IV in case of CBC */ in do_dtls1_write()[all …]
690 int eivlen = 0; in do_ssl3_write() local846 eivlen = EVP_CIPHER_CTX_get_iv_length(s->enc_write_ctx); in do_ssl3_write()847 if (eivlen < 0) { in do_ssl3_write()851 if (eivlen <= 1) in do_ssl3_write()852 eivlen = 0; in do_ssl3_write()855 eivlen = EVP_GCM_TLS_EXPLICIT_IV_LEN; in do_ssl3_write()857 eivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; in do_ssl3_write()912 || (eivlen > 0 in do_ssl3_write()913 && !WPACKET_allocate_bytes(thispkt, eivlen, NULL)) in do_ssl3_write()