Home
last modified time | relevance | path

Searched refs:v128_t (Results 1 – 22 of 22) sorted by relevance

/external/srtp/crypto/include/
Dcrypto_math.h111 v128_add(v128_t *z, v128_t *x, v128_t *y);
190 v128_set_to_zero(v128_t *x);
193 v128_is_eq(const v128_t *x, const v128_t *y);
196 v128_copy(v128_t *x, const v128_t *y);
199 v128_xor(v128_t *z, v128_t *x, v128_t *y);
202 v128_and(v128_t *z, v128_t *x, v128_t *y);
205 v128_or(v128_t *z, v128_t *x, v128_t *y);
208 v128_complement(v128_t *x);
211 v128_get_bit(const v128_t *x, int i);
214 v128_set_bit(v128_t *x, int i) ;
[all …]
Ddatatypes.h93 } v128_t; typedef
121 v128_bit_string(v128_t *x);
124 v128_hex_string(v128_t *x);
151 v128_t
155 v128_copy_octet_string(v128_t *x, const uint8_t s[16]);
158 v128_left_shift(v128_t *x, int index);
161 v128_right_shift(v128_t *x, int index);
334 v128_set_to_zero(v128_t *x);
337 v128_is_eq(const v128_t *x, const v128_t *y);
340 v128_copy(v128_t *x, const v128_t *y);
[all …]
Daes.h56 typedef v128_t aes_expanded_key_t[11];
59 aes_expand_encryption_key(const v128_t *key,
63 aes_expand_decryption_key(const v128_t *key,
67 aes_encrypt(v128_t *plaintext, const aes_expanded_key_t exp_key);
70 aes_decrypt(v128_t *plaintext, const aes_expanded_key_t exp_key);
Daes_icm.h18 v128_t counter; /* holds the counter value */
19 v128_t offset; /* initial offset value */
20 v128_t keystream_buffer; /* buffers bytes of keystream */
Drdb.h25 v128_t bitmask;
28 #define rdb_bits_in_bitmask (8*sizeof(v128_t))
Daes_cbc.h18 v128_t state; /* cipher chaining state */
19 v128_t previous; /* previous ciphertext block */
Dprng.h24 v128_t state; /* state data */
/external/srtp/crypto/math/
Ddatatypes.c196 v128_hex_string(v128_t *x) { in v128_hex_string()
209 v128_bit_string(v128_t *x) { in v128_bit_string()
228 v128_copy_octet_string(v128_t *x, const uint8_t s[16]) { in v128_copy_octet_string()
253 v128_t *v = (v128_t *) &s[0]; in v128_copy_octet_string()
263 v128_set_to_zero(v128_t *x) { in v128_set_to_zero()
268 v128_copy(v128_t *x, const v128_t *y) { in v128_copy()
273 v128_xor(v128_t *z, v128_t *x, v128_t *y) { in v128_xor()
278 v128_and(v128_t *z, v128_t *x, v128_t *y) { in v128_and()
283 v128_or(v128_t *z, v128_t *x, v128_t *y) { in v128_or()
288 v128_complement(v128_t *x) { in v128_complement()
[all …]
Dmath.c257 v128_bit_string(v128_t *x) { in v128_bit_string()
352 v128_hex_string(v128_t *x) { in v128_hex_string()
493 v128_t
495 v128_t x; in hex_string_to_v128()
553 v128_copy_octet_string(v128_t *x, const uint8_t s[16]) { in v128_copy_octet_string()
576 v128_set_to_zero(v128_t *x) { in v128_set_to_zero()
581 v128_copy(v128_t *x, const v128_t *y) { in v128_copy()
586 v128_xor(v128_t *z, v128_t *x, v128_t *y) { in v128_xor()
591 v128_and(v128_t *z, v128_t *x, v128_t *y) { in v128_and()
596 v128_or(v128_t *z, v128_t *x, v128_t *y) { in v128_or()
[all …]
/external/srtp/crypto/cipher/
Daes.c1362 aes_expand_encryption_key(const v128_t *key, in aes_expand_encryption_key()
1415 aes_expand_decryption_key(const v128_t *key, in aes_expand_decryption_key()
1423 v128_t tmp; in aes_expand_decryption_key()
1505 aes_round(v128_t *state, const v128_t *round_key) { in aes_round()
1532 aes_inv_round(v128_t *state, const v128_t *round_key) { in aes_inv_round()
1558 aes_final_round(v128_t *state, const v128_t *round_key) { in aes_final_round()
1594 aes_inv_final_round(v128_t *state, const v128_t *round_key) { in aes_inv_final_round()
1633 aes_round(v128_t *state, const v128_t *round_key) { in aes_round()
1672 aes_inv_round(v128_t *state, const v128_t *round_key) { in aes_inv_round()
1713 aes_final_round(v128_t *state, const v128_t *round_key) { in aes_final_round()
[all …]
Daes_icm.c166 v128_t tmp_key; in aes_icm_context_init()
237 c->bytes_in_buffer = sizeof(v128_t); in aes_icm_set_octet()
245 c->bytes_in_buffer = sizeof(v128_t) - tail_num; in aes_icm_set_octet()
263 v128_t *nonce = (v128_t *) iv; in aes_icm_set_iv()
293 c->bytes_in_buffer = sizeof(v128_t); in aes_icm_advance_ismacryp()
348 for (i = (sizeof(v128_t) - c->bytes_in_buffer); in aes_icm_encrypt_ismacryp()
349 i < (sizeof(v128_t) - c->bytes_in_buffer + bytes_to_encr); i++) in aes_icm_encrypt_ismacryp()
362 for (i=(sizeof(v128_t) - c->bytes_in_buffer); i < sizeof(v128_t); i++) in aes_icm_encrypt_ismacryp()
371 for (i=0; i < (bytes_to_encr/sizeof(v128_t)); i++) { in aes_icm_encrypt_ismacryp()
428 c->bytes_in_buffer = sizeof(v128_t) - i; in aes_icm_encrypt_ismacryp()
Daes_cbc.c109 v128_t tmp_key; in aes_cbc_context_init()
204 v128_t state, previous; in aes_cbc_decrypt()
Dcipher.c381 v128_t nonce; in cipher_bits_per_second()
/external/srtp/crypto/rng/
Dprng.c54 v128_t tmp_key; in x917_prng_init()
82 v128_t buffer; in x917_prng_get_octet_string()
/external/srtp/crypto/test/
Ddatatypes_driver.c73 v128_t x; in main()
151 v128_t e; in byte_order()
Daes_calc.c35 v128_t data, key; in main()
Dstat_driver.c46 v128_t nonce; in main()
Dcipher_driver.c423 v128_t nonce; in cipher_array_bits_per_second()
/external/srtp/srtp/
Dsrtp.c330 v128_t nonce; in srtp_kdf_generate()
743 v128_t iv; in srtp_protect()
756 v128_t iv; in srtp_protect()
848 v128_t iv; in srtp_unprotect()
1557 v128_t iv; in srtp_protect_rtcp()
1566 v128_t iv; in srtp_protect_rtcp()
1754 v128_t iv; in srtp_unprotect_rtcp()
1763 v128_t iv; in srtp_unprotect_rtcp()
/external/srtp/tables/
Daes_tables.c321 v128_t x, y; in aes_test_inverse()
331 v128_t k; in aes_test_inverse()
/external/srtp/googlepatches/
Dgoogle-5-buffer-overflow.patch8 v128_t tmp_key;
Dvidyo-3-srtp-ws.patch139 - v128_t bitmask;
189 @@ -387,6 +387,124 @@ v128_left_shift(v128_t *x, int index) {