update to cvs head srtp

This commit is contained in:
Anthony Minessale committed 2013-03-31 21:27:19 -05:00
1 parent aad4da5b71
commit 72e2d183c1
100 files changed
+4732 -1509

No files matched your search

+3 -3
View File
@@ -28,7 +28,7 @@ stat_test_monobit(uint8_t *data) {
ones_count = 0;
while (data < data_end) {
ones_count = (uint16_t)(ones_count + octet_get_weight(*data));
ones_count += octet_get_weight(*data);
data++;
}
@@ -83,7 +83,7 @@ stat_test_runs(uint8_t *data) {
uint16_t gaps[6] = { 0, 0, 0, 0, 0, 0 };
uint16_t lo_value[6] = { 2315, 1114, 527, 240, 103, 103 };
uint16_t hi_value[6] = { 2685, 1386, 723, 384, 209, 209 };
int16_t state = 0;
int state = 0;
uint16_t mask;
int i;
@@ -208,7 +208,7 @@ stat_test_rand_source(rand_source_func_t get_rand_bytes) {
uint16_t gaps[6] = { 0, 0, 0, 0, 0, 0 };
uint16_t lo_value[6] = { 2315, 1114, 527, 240, 103, 103 };
uint16_t hi_value[6] = { 2685, 1386, 723, 384, 209, 209 };
int16_t state = 0;
int state = 0;
uint16_t mask;
/* counters for monobit, poker, and runs tests are initialized above */