Home
last modified time | relevance | path

Searched refs:base_key_len (Results 1 – 2 of 2) sorted by relevance

/external/libsrtp2/crypto/cipher/
Daes_icm.c184 int base_key_len, copy_len; in srtp_aes_icm_context_init() local
188 base_key_len = c->key_size - SRTP_SALT_LEN; in srtp_aes_icm_context_init()
200 copy_len = c->key_size - base_key_len; in srtp_aes_icm_context_init()
207 memcpy(&c->counter, key + base_key_len, copy_len); in srtp_aes_icm_context_init()
208 memcpy(&c->offset, key + base_key_len, copy_len); in srtp_aes_icm_context_init()
211 srtp_octet_string_hex_string(key, base_key_len)); in srtp_aes_icm_context_init()
216 srtp_aes_expand_encryption_key(key, base_key_len, &c->expanded_key); in srtp_aes_icm_context_init()
/external/mbedtls/library/
Dssl_tls13_keys.c742 size_t base_key_len = 0; in mbedtls_ssl_tls13_calculate_verify_data() local
757 base_key_len = sizeof( tls13_hs_secrets->client_handshake_traffic_secret ); in mbedtls_ssl_tls13_calculate_verify_data()
762 base_key_len = sizeof( tls13_hs_secrets->server_handshake_traffic_secret ); in mbedtls_ssl_tls13_calculate_verify_data()
790 mbedtls_platform_zeroize( base_key, base_key_len ); in mbedtls_ssl_tls13_calculate_verify_data()