/external/srtp/crypto/include/ |
aes.h | 56 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);
|
aes_icm.h | 18 v128_t counter; /* holds the counter value */ 19 v128_t offset; /* initial offset value */ 20 v128_t keystream_buffer; /* buffers bytes of keystream */
|
rdb.h | 15 #include "datatypes.h" /* for v128_t */ 25 v128_t bitmask; 28 #define rdb_bits_in_bitmask (8*sizeof(v128_t))
|
crypto_math.h | 111 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) [all...] |
aes_cbc.h | 18 v128_t state; /* cipher chaining state */ 19 v128_t previous; /* previous ciphertext block */
|
datatypes.h | 93 } v128_t; typedef in typeref:union:__anon11231 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) [all...] |
prng.h | 24 v128_t state; /* state data */
|
/external/srtp/crypto/math/ |
datatypes.c | 196 v128_hex_string(v128_t *x) { 209 v128_bit_string(v128_t *x) { 228 v128_copy_octet_string(v128_t *x, const uint8_t s[16]) { 253 v128_t *v = (v128_t *) &s[0]; 263 v128_set_to_zero(v128_t *x) { 268 v128_copy(v128_t *x, const v128_t *y) { 273 v128_xor(v128_t *z, v128_t *x, v128_t *y) [all...] |
math.c | 257 v128_bit_string(v128_t *x) { 352 v128_hex_string(v128_t *x) { 493 v128_t 495 v128_t x; 553 v128_copy_octet_string(v128_t *x, const uint8_t s[16]) { 576 v128_set_to_zero(v128_t *x) { 581 v128_copy(v128_t *x, const v128_t *y) { 586 v128_xor(v128_t *z, v128_t *x, v128_t *y) [all...] |
/external/srtp/crypto/cipher/ |
aes_icm.c | 166 v128_t tmp_key; 237 c->bytes_in_buffer = sizeof(v128_t); 245 c->bytes_in_buffer = sizeof(v128_t) - tail_num; 263 v128_t *nonce = (v128_t *) iv; 293 c->bytes_in_buffer = sizeof(v128_t); 348 for (i = (sizeof(v128_t) - c->bytes_in_buffer); 349 i < (sizeof(v128_t) - c->bytes_in_buffer + bytes_to_encr); i++) 362 for (i=(sizeof(v128_t) - c->bytes_in_buffer); i < sizeof(v128_t); i++) [all...] |
aes.c | [all...] |
aes_cbc.c | 109 v128_t tmp_key; 137 /* v128_t *input = iv; */ 204 v128_t state, previous;
|
cipher.c | 381 v128_t nonce;
|
/external/srtp/crypto/rng/ |
prng.c | 54 v128_t tmp_key; 82 v128_t buffer;
|
/external/srtp/crypto/test/ |
aes_calc.c | 35 v128_t data, key;
|
datatypes_driver.c | 73 v128_t x; 151 v128_t e; 164 printf("v128_t:\t%s\n", v128_hex_string(&e)); 183 printf("v128_t: %s\n", v128_hex_string(&e));
|
stat_driver.c | 46 v128_t nonce;
|
cipher_driver.c | 423 v128_t nonce;
|
/external/srtp/tables/ |
aes_tables.c | 321 v128_t x, y; 331 v128_t k;
|
/external/srtp/srtp/ |
srtp.c | 330 v128_t nonce; 743 v128_t iv; 756 v128_t iv; 848 v128_t iv; [all...] |