Home
last modified time | relevance | path

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

/external/srtp/crypto/rng/
Dctr_prng.c54 uint8_t tmp_key[32]; in ctr_prng_init() local
64 status = random_source(tmp_key, 32); in ctr_prng_init()
69 status = aes_icm_context_init(&ctr_prng.state, tmp_key); in ctr_prng_init()
Dprng.c54 v128_t tmp_key; in x917_prng_init() local
64 status = random_source((uint8_t *)&tmp_key, 16); in x917_prng_init()
69 aes_expand_encryption_key(&tmp_key, x917_prng.key); in x917_prng_init()
/external/srtp/crypto/cipher/
Daes_cbc.c109 v128_t tmp_key; in aes_cbc_context_init() local
112 v128_copy_octet_string(&tmp_key, key); in aes_cbc_context_init()
115 "key: %s", v128_hex_string(&tmp_key)); in aes_cbc_context_init()
120 aes_expand_encryption_key(&tmp_key, c->expanded_key); in aes_cbc_context_init()
123 aes_expand_decryption_key(&tmp_key, c->expanded_key); in aes_cbc_context_init()
Daes_icm.c166 v128_t tmp_key; in aes_icm_context_init() local
182 v128_copy_octet_string(&tmp_key, key); in aes_icm_context_init()
185 "key: %s", v128_hex_string(&tmp_key)); in aes_icm_context_init()
190 aes_expand_encryption_key(&tmp_key, c->expanded_key); in aes_icm_context_init()
/external/srtp/srtp/
Dsrtp.c364 uint8_t tmp_key[MAX_SRTP_KEY_LEN]; in srtp_stream_init_keys() local
371 tmp_key, cipher_get_key_length(srtp->rtp_cipher)); in srtp_stream_init_keys()
385 tmp_key + base_key_len, salt_len); in srtp_stream_init_keys()
388 octet_string_hex_string(tmp_key, in srtp_stream_init_keys()
392 stat = cipher_init(srtp->rtp_cipher, tmp_key, direction_any); in srtp_stream_init_keys()
395 octet_string_set_to_zero(tmp_key, MAX_SRTP_KEY_LEN); in srtp_stream_init_keys()
401 tmp_key, auth_get_key_length(srtp->rtp_auth)); in srtp_stream_init_keys()
403 octet_string_hex_string(tmp_key, in srtp_stream_init_keys()
407 stat = auth_init(srtp->rtp_auth, tmp_key); in srtp_stream_init_keys()
410 octet_string_set_to_zero(tmp_key, MAX_SRTP_KEY_LEN); in srtp_stream_init_keys()
[all …]
/external/srtp/googlepatches/
Dgoogle-5-buffer-overflow.patch8 v128_t tmp_key;
28 /* set tmp_key (for alignment) */
29 v128_copy_octet_string(&tmp_key, key);