Home
last modified time | relevance | path

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

/openthread-3.6.0/third_party/mbedtls/repo/programs/ssl/
Dssl_test_common_source.c33 size_t ivlen, in eap_tls_key_derivation() argument
50 mbedtls_printf("exported ivlen is %u\n", (unsigned)ivlen); in eap_tls_key_derivation()
60 size_t ivlen, in nss_keylog_export() argument
76 ((void) ivlen); in nss_keylog_export()
137 size_t ivlen, in dtls_srtp_key_derivation() argument
154 mbedtls_printf( "exported ivlen is %u\n", (unsigned) ivlen ); in dtls_srtp_key_derivation()
/openthread-3.6.0/third_party/mbedtls/repo/library/
Dssl_msg.c305 size_t ivlen,
547 return( transform->ivlen != transform->fixed_ivlen ); in ssl_transform_aead_dynamic_iv_is_explicit()
820 transform->iv_enc, transform->ivlen, in mbedtls_ssl_encrypt_buf()
887 iv, transform->ivlen ); in mbedtls_ssl_encrypt_buf()
902 iv, transform->ivlen, in mbedtls_ssl_encrypt_buf()
947 padlen = transform->ivlen - ( rec->data_len + 1 ) % transform->ivlen; in mbedtls_ssl_encrypt_buf()
948 if( padlen == transform->ivlen ) in mbedtls_ssl_encrypt_buf()
977 if( rec->data_offset < transform->ivlen ) in mbedtls_ssl_encrypt_buf()
986 ret = f_rng( p_rng, transform->iv_enc, transform->ivlen ); in mbedtls_ssl_encrypt_buf()
990 memcpy( data - transform->ivlen, transform->iv_enc, in mbedtls_ssl_encrypt_buf()
[all …]
Dpkcs12.c87 unsigned char *iv, size_t ivlen ) in pkcs12_pbe_derive_key_iv() argument
114 if( iv == NULL || ivlen == 0 ) in pkcs12_pbe_derive_key_iv()
117 if( ( ret = mbedtls_pkcs12_derivation( iv, ivlen, unipwd, pwdlen * 2 + 2, in pkcs12_pbe_derive_key_iv()
Dssl_tls.c1102 transform->ivlen = 12; in ssl_populate_transform()
1118 explicit_ivlen = transform->ivlen - transform->fixed_ivlen; in ssl_populate_transform()
1159 transform->ivlen = cipher_info->iv_size; in ssl_populate_transform()
1196 transform->minlen += transform->ivlen; in ssl_populate_transform()
1217 (unsigned) transform->ivlen, in ssl_populate_transform()
1236 transform->fixed_ivlen : transform->ivlen; in ssl_populate_transform()
1256 transform->fixed_ivlen : transform->ivlen; in ssl_populate_transform()
/openthread-3.6.0/third_party/mbedtls/repo/include/mbedtls/
Dssl.h1489 size_t ivlen,
2062 size_t ivlen );
2094 size_t ivlen,
Dssl_internal.h753 size_t ivlen; /*!< IV length */ member
/openthread-3.6.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ssl.function1193 size_t keylen, maclen, ivlen;
1307 ivlen = cipher_info->iv_size;
1325 t_out->ivlen = ivlen;
1326 t_in->ivlen = ivlen;
3517 block_size = t0.ivlen;
3572 memset( t0.iv_enc, 0x55, t0.ivlen );
3573 memcpy( rec.buf, t0.iv_enc, t0.ivlen );
3602 t0.iv_enc, t0.ivlen,
3605 rec.data_offset -= t0.ivlen;
3606 rec.data_len += t0.ivlen;
[all …]