Lines Matching refs:ivlen

205                      size_t ivlen,
685 transform->ivlen = 12; in mbedtls_ssl_derive_keys()
689 transform->minlen = transform->ivlen - transform->fixed_ivlen in mbedtls_ssl_derive_keys()
717 transform->ivlen = cipher_info->iv_size; in mbedtls_ssl_derive_keys()
754 transform->minlen += transform->ivlen; in mbedtls_ssl_derive_keys()
766 transform->keylen, transform->minlen, transform->ivlen, in mbedtls_ssl_derive_keys()
785 transform->fixed_ivlen : transform->ivlen; in mbedtls_ssl_derive_keys()
805 transform->fixed_ivlen : transform->ivlen; in mbedtls_ssl_derive_keys()
1336 ssl->transform_out->ivlen, in ssl_encrypt_buf()
1376 if( ssl->transform_out->ivlen - ssl->transform_out->fixed_ivlen != 8 ) in ssl_encrypt_buf()
1388 ssl->transform_out->ivlen - ssl->transform_out->fixed_ivlen ); in ssl_encrypt_buf()
1395 ssl->out_msglen += ssl->transform_out->ivlen - in ssl_encrypt_buf()
1407 ssl->transform_out->ivlen, in ssl_encrypt_buf()
1438 padlen = ssl->transform_out->ivlen - ( ssl->out_msglen + 1 ) % in ssl_encrypt_buf()
1439 ssl->transform_out->ivlen; in ssl_encrypt_buf()
1440 if( padlen == ssl->transform_out->ivlen ) in ssl_encrypt_buf()
1462 ssl->transform_out->ivlen ); in ssl_encrypt_buf()
1467 ssl->transform_out->ivlen ); in ssl_encrypt_buf()
1474 ssl->out_msglen += ssl->transform_out->ivlen; in ssl_encrypt_buf()
1480 ssl->out_msglen, ssl->transform_out->ivlen, in ssl_encrypt_buf()
1485 ssl->transform_out->ivlen, in ssl_encrypt_buf()
1507 ssl->transform_out->ivlen ); in ssl_encrypt_buf()
1603 ssl->transform_in->ivlen, in ssl_decrypt_buf()
1630 size_t explicit_iv_len = ssl->transform_in->ivlen - in ssl_decrypt_buf()
1658 ssl->transform_in->ivlen - ssl->transform_in->fixed_ivlen ); in ssl_decrypt_buf()
1661 ssl->transform_in->ivlen ); in ssl_decrypt_buf()
1669 ssl->transform_in->ivlen, in ssl_decrypt_buf()
1711 minlen += ssl->transform_in->ivlen; in ssl_decrypt_buf()
1714 if( ssl->in_msglen < minlen + ssl->transform_in->ivlen || in ssl_decrypt_buf()
1719 ssl->transform_in->ivlen, in ssl_decrypt_buf()
1774 if( ssl->in_msglen % ssl->transform_in->ivlen != 0 ) in ssl_decrypt_buf()
1777 ssl->in_msglen, ssl->transform_in->ivlen ) ); in ssl_decrypt_buf()
1787 dec_msglen -= ssl->transform_in->ivlen; in ssl_decrypt_buf()
1788 ssl->in_msglen -= ssl->transform_in->ivlen; in ssl_decrypt_buf()
1790 for( i = 0; i < ssl->transform_in->ivlen; i++ ) in ssl_decrypt_buf()
1797 ssl->transform_in->ivlen, in ssl_decrypt_buf()
1819 ssl->transform_in->ivlen ); in ssl_decrypt_buf()
1839 if( padlen > ssl->transform_in->ivlen ) in ssl_decrypt_buf()
1844 padlen, ssl->transform_in->ivlen ) ); in ssl_decrypt_buf()
2564 ssl->out_msg = ssl->out_iv + ssl->transform_out->ivlen - in ssl_swap_epochs()
4580 ssl->in_msg = ssl->in_iv + ssl->transform_negotiate->ivlen - in mbedtls_ssl_parse_change_cipher_spec()
5038 ssl->out_msg = ssl->out_iv + ssl->transform_negotiate->ivlen - in mbedtls_ssl_write_finished()