Searched refs:tmp_key (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/third_party/libsrtp/srtp/crypto/rng/
H A Dctr_prng.c54 uint8_t tmp_key[32]; local
64 status = random_source(tmp_key, 32);
69 status = aes_icm_context_init(&ctr_prng.state, tmp_key, 30);
H A Dprng.c54 uint8_t tmp_key[16]; local
64 status = random_source(tmp_key, 16);
69 aes_expand_encryption_key(tmp_key, 16, &x917_prng.key);
/external/srtp/crypto/rng/
H A Dctr_prng.c54 uint8_t tmp_key[32]; local
64 status = random_source(tmp_key, 32);
69 status = aes_icm_context_init(&ctr_prng.state, tmp_key);
H A Dprng.c54 v128_t tmp_key; local
64 status = random_source((uint8_t *)&tmp_key, 16);
69 aes_expand_encryption_key(&tmp_key, x917_prng.key);
/external/libsepol/src/
H A Dnode_record.c238 sepol_node_key_t *tmp_key = local
240 if (!tmp_key)
243 if (node_alloc_addr(handle, proto, &tmp_key->addr, &tmp_key->addr_sz) <
246 if (node_parse_addr(handle, addr, proto, tmp_key->addr) < 0)
249 if (node_alloc_addr(handle, proto, &tmp_key->mask, &tmp_key->mask_sz) <
252 if (node_parse_addr(handle, mask, proto, tmp_key->mask) < 0)
255 tmp_key->proto = proto;
257 *key_ptr = tmp_key;
288 sepol_node_key_t *tmp_key = local
[all...]
H A Dboolean_record.c25 sepol_bool_key_t *tmp_key = local
28 if (!tmp_key) {
33 tmp_key->name = name;
35 *key_ptr = tmp_key;
H A Diface_record.c31 sepol_iface_key_t *tmp_key = local
34 if (!tmp_key) {
39 tmp_key->name = name;
41 *key_ptr = tmp_key;
H A Dport_record.c33 sepol_port_key_t *tmp_key = local
36 if (!tmp_key) {
41 tmp_key->low = low;
42 tmp_key->high = high;
43 tmp_key->proto = proto;
45 *key_ptr = tmp_key;
H A Duser_record.c34 sepol_user_key_t *tmp_key = local
37 if (!tmp_key) {
43 tmp_key->name = name;
45 *key_ptr = tmp_key;
/external/chromium_org/third_party/libsrtp/srtp/srtp/
H A Dsrtp.c440 uint8_t tmp_key[MAX_SRTP_KEY_LEN]; local
467 tmp_key, rtp_base_key_len);
470 octet_string_set_to_zero(tmp_key, MAX_SRTP_KEY_LEN);
483 tmp_key + rtp_base_key_len, rtp_salt_len);
486 octet_string_set_to_zero(tmp_key, MAX_SRTP_KEY_LEN);
491 octet_string_hex_string(tmp_key, rtp_base_key_len));
494 octet_string_hex_string(tmp_key + rtp_base_key_len, rtp_salt_len));
498 stat = cipher_init(srtp->rtp_cipher, tmp_key, direction_any);
501 octet_string_set_to_zero(tmp_key, MAX_SRTP_KEY_LEN);
507 tmp_key, auth_get_key_lengt
[all...]
/external/srtp/crypto/cipher/
H A Daes_cbc.c109 v128_t tmp_key; local
111 /* set tmp_key (for alignment) */
112 v128_copy_octet_string(&tmp_key, key);
115 "key: %s", v128_hex_string(&tmp_key));
120 aes_expand_encryption_key(&tmp_key, c->expanded_key);
123 aes_expand_decryption_key(&tmp_key, c->expanded_key);
H A Daes_icm.c166 v128_t tmp_key; local
181 /* set tmp_key (for alignment) */
182 v128_copy_octet_string(&tmp_key, key);
185 "key: %s", v128_hex_string(&tmp_key));
190 aes_expand_encryption_key(&tmp_key, c->expanded_key);
/external/srtp/srtp/
H A Dsrtp.c364 uint8_t tmp_key[MAX_SRTP_KEY_LEN]; local
371 tmp_key, cipher_get_key_length(srtp->rtp_cipher));
385 tmp_key + base_key_len, salt_len);
388 octet_string_hex_string(tmp_key,
392 stat = cipher_init(srtp->rtp_cipher, tmp_key, direction_any);
395 octet_string_set_to_zero(tmp_key, MAX_SRTP_KEY_LEN);
401 tmp_key, auth_get_key_length(srtp->rtp_auth));
403 octet_string_hex_string(tmp_key,
407 stat = auth_init(srtp->rtp_auth, tmp_key);
410 octet_string_set_to_zero(tmp_key, MAX_SRTP_KEY_LE
[all...]

Completed in 892 milliseconds