Home
last modified time | relevance | path

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

/mbedtls-development/library/
A Dssl_tls13_keys.c890 transform->ivlen = traffic_keys->iv_len; in mbedtls_ssl_tls13_populate_transform()
892 transform->fixed_ivlen = transform->ivlen; in mbedtls_ssl_tls13_populate_transform()
945 size_t keylen, ivlen; in mbedtls_ssl_tls13_generate_handshake_keys() local
955 ivlen = cipher_info->iv_size; in mbedtls_ssl_tls13_generate_handshake_keys()
1015 md_size, keylen, ivlen, traffic_keys ); in mbedtls_ssl_tls13_generate_handshake_keys()
1136 size_t keylen, ivlen; in mbedtls_ssl_tls13_generate_application_keys() local
1145 ivlen = cipher_info->iv_size; in mbedtls_ssl_tls13_generate_application_keys()
1178 md_size, keylen, ivlen, traffic_keys ); in mbedtls_ssl_tls13_generate_application_keys()
1220 traffic_keys->client_write_iv, ivlen ); in mbedtls_ssl_tls13_generate_application_keys()
1222 traffic_keys->server_write_iv, ivlen ); in mbedtls_ssl_tls13_generate_application_keys()
A Dssl_msg.c787 iv, transform->ivlen, in mbedtls_ssl_encrypt_buf()
832 padlen = transform->ivlen - ( rec->data_len + 1 ) % transform->ivlen; in mbedtls_ssl_encrypt_buf()
833 if( padlen == transform->ivlen ) in mbedtls_ssl_encrypt_buf()
873 memcpy( data - transform->ivlen, transform->iv_enc, transform->ivlen ); in mbedtls_ssl_encrypt_buf()
898 data -= transform->ivlen; in mbedtls_ssl_encrypt_buf()
899 rec->data_offset -= transform->ivlen; in mbedtls_ssl_encrypt_buf()
900 rec->data_len += transform->ivlen; in mbedtls_ssl_encrypt_buf()
1350 iv, transform->ivlen, in mbedtls_ssl_decrypt_buf()
1384 minlen += transform->ivlen; in mbedtls_ssl_decrypt_buf()
1493 data += transform->ivlen; in mbedtls_ssl_decrypt_buf()
[all …]
A Dpkcs12.c83 unsigned char *iv, size_t ivlen ) in pkcs12_pbe_derive_key_iv() argument
110 if( iv == NULL || ivlen == 0 ) in pkcs12_pbe_derive_key_iv()
113 if( ( ret = mbedtls_pkcs12_derivation( iv, ivlen, unipwd, pwdlen * 2 + 2, in pkcs12_pbe_derive_key_iv()
A Dssl_tls.c818 transform->ivlen = 12; in ssl_tls12_populate_transform()
825 explicit_ivlen = transform->ivlen - transform->fixed_ivlen; in ssl_tls12_populate_transform()
847 transform->ivlen = cipher_info->iv_size; in ssl_tls12_populate_transform()
877 transform->minlen += transform->ivlen; in ssl_tls12_populate_transform()
898 (unsigned) transform->ivlen, in ssl_tls12_populate_transform()
917 transform->fixed_ivlen : transform->ivlen; in ssl_tls12_populate_transform()
937 transform->fixed_ivlen : transform->ivlen; in ssl_tls12_populate_transform()
A Dssl_misc.h881 size_t ivlen; /*!< IV length */ member
/mbedtls-development/tests/suites/
A Dtest_suite_ssl.function1199 size_t keylen, maclen, ivlen;
1301 ivlen = cipher_info->iv_size;
1319 t_out->ivlen = ivlen;
1320 t_in->ivlen = ivlen;
3504 block_size = t0.ivlen;
3592 rec.data_offset -= t0.ivlen;
3593 rec.data_len += t0.ivlen;
3618 rec.data_offset -= t0.ivlen;
3619 rec.data_len += t0.ivlen;
3655 rec.data_offset -= t0.ivlen;
[all …]

Completed in 31 milliseconds