Searched refs:rdbx (Results 1 – 13 of 13) sorted by relevance
/external/srtp/crypto/replay/ |
D | rdbx.c | 195 rdbx_init(rdbx_t *rdbx, unsigned long ws) { in rdbx_init() argument 199 if (bitvector_alloc(&rdbx->bitmask, ws) != 0) in rdbx_init() 202 index_init(&rdbx->index); in rdbx_init() 212 rdbx_uninit(rdbx_t *rdbx) { in rdbx_uninit() argument 213 bitvector_dealloc(&rdbx->bitmask); in rdbx_uninit() 227 rdbx_set_roc(rdbx_t *rdbx, uint32_t roc) { in rdbx_set_roc() argument 228 bitvector_set_to_zero(&rdbx->bitmask); in rdbx_set_roc() 235 if (roc < (rdbx->index >> 16)) in rdbx_set_roc() 238 rdbx->index &= 0xffff; /* retain lowest 16 bits */ in rdbx_set_roc() 239 rdbx->index |= ((uint64_t)roc) << 16; /* set ROC */ in rdbx_set_roc() [all …]
|
/external/srtp/test/ |
D | rdbx_driver.c | 132 print_rdbx(rdbx_t *rdbx) { in print_rdbx() argument 135 (unsigned long long)(rdbx->index), in print_rdbx() 136 bitvector_bit_string(&rdbx->bitmask, buf, sizeof(buf)) in print_rdbx() 150 rdbx_check_add(rdbx_t *rdbx, uint32_t idx) { in rdbx_check_add() argument 154 delta = index_guess(&rdbx->index, &est, idx); in rdbx_check_add() 156 if (rdbx_check(rdbx, delta) != err_status_ok) { in rdbx_check_add() 166 if (rdbx_add_index(rdbx, delta) != err_status_ok) { in rdbx_check_add() 182 rdbx_check_expect_failure(rdbx_t *rdbx, uint32_t idx) { in rdbx_check_expect_failure() argument 187 delta = index_guess(&rdbx->index, &est, idx); in rdbx_check_expect_failure() 189 status = rdbx_check(rdbx, delta); in rdbx_check_expect_failure() [all …]
|
/external/srtp/googlepatches/ |
D | vidyo-3-srtp-ws.patch | 132 …f -purN -x CVS -x '*~' -x '.*' -x 'obj-*' srtp-lin/crypto/include/rdbx.h srtp/crypto/include/rdbx.h 133 --- srtp-lin/crypto/include/rdbx.h 2007-06-15 14:17:40.000000000 -0400 134 +++ srtp/crypto/include/rdbx.h 2009-04-22 19:03:15.000000000 -0400 148 - * initializes the rdbx pointed to by its argument, setting the 150 + * initializes the rdbx pointed to by its argument with the window size ws, 155 -rdbx_init(rdbx_t *rdbx); 156 +rdbx_init(rdbx_t *rdbx, unsigned long ws); 162 + * frees memory associated with the rdbx 166 +rdbx_uninit(rdbx_t *rdbx); 170 @@ -127,6 +137,15 @@ rdbx_get_packet_index(const rdbx_t *rdbx [all …]
|
D | google-11-srtp-replay-fix.patch | 14 ==== //depot/google3/third_party/libsrtp/crypto/replay/rdbx.c#5 - None ==== 16 --- google3/third_party/libsrtp/crypto/replay/rdbx.c 2010-02-25 06:36:30.000000000 -0800 17 +++ google3/third_party/libsrtp/crypto/replay/rdbx.c 2011-05-27 17:56:49.000000000 -0700 46 status = rdbx_check_add(&rdbx, idx); 55 status = rdbx_check_expect_failure(&rdbx, idx); 65 status = rdbx_check_unordered(&rdbx, ircvd); 74 + rdbx_uninit(&rdbx); 76 + if (rdbx_init(&rdbx, ws) != err_status_ok) { 82 + status = rdbx_check_add(&rdbx, 1); 85 + status = rdbx_check_expect_failure(&rdbx, 64500); [all …]
|
D | google-9-rdbx-leak-plug.patch | 288 + /* deallocate rdbx data */
|
/external/srtp/crypto/include/ |
D | rdbx.h | 61 rdbx_init(rdbx_t *rdbx, unsigned long ws); 71 rdbx_uninit(rdbx_t *rdbx); 84 rdbx_estimate_index(const rdbx_t *rdbx, 97 rdbx_check(const rdbx_t *rdbx, int difference); 111 rdbx_add_index(rdbx_t *rdbx, int delta); 123 rdbx_set_roc(rdbx_t *rdbx, uint32_t roc); 132 rdbx_get_packet_index(const rdbx_t *rdbx); 147 rdbx_get_window_size(const rdbx_t *rdbx);
|
/external/srtp/ |
D | TODO | 54 Improve interface between cipher and rdbx - perhaps generalize rdbx 59 Add rdbx functions that allow different-sized explicit sequence
|
D | Android.mk | 29 crypto/replay/rdbx.c
|
D | Changes | 61 Changed rdbx to use err.h error codes. 208 changed index_t to xtd_seq_num_t (see include/rdbx.h).
|
D | Makefile | 82 replay = crypto/replay/rdb.o crypto/replay/rdbx.o \
|
D | Makefile.in | 84 replay = crypto/replay/rdb.o crypto/replay/rdbx.o \
|
D | README | 69 rdbx_driver rdbx (extended replay database)
|
/external/srtp/doc/ |
D | intro.txt | 167 rdbx\_driver & rdbx (extended replay database) \\
|