Home
last modified time | relevance | path

Searched refs:ctr_prng (Results 1 – 6 of 6) sorted by relevance

/external/srtp/crypto/rng/
Dctr_prng.c50 ctr_prng_t ctr_prng; variable
58 ctr_prng.octet_count = 0; in ctr_prng_init()
61 ctr_prng.rand = random_source; in ctr_prng_init()
69 status = aes_icm_context_init(&ctr_prng.state, tmp_key); in ctr_prng_init()
85 if (ctr_prng.octet_count > MAX_PRNG_OUT_LEN - len) { in ctr_prng_get_octet_string()
86 status = ctr_prng_init(ctr_prng.rand); in ctr_prng_get_octet_string()
90 ctr_prng.octet_count += len; in ctr_prng_get_octet_string()
95 status = aes_icm_output(&ctr_prng.state, (uint8_t*)dest, len); in ctr_prng_get_octet_string()
/external/srtp/
DAndroid.mk22 crypto/rng/ctr_prng.c \
DMakefile89 rng = crypto/rng/$(RNG_OBJS) crypto/rng/prng.o crypto/rng/ctr_prng.o
DMakefile.in91 rng = crypto/rng/$(RNG_OBJS) crypto/rng/prng.o crypto/rng/ctr_prng.o
/external/srtp/crypto/
DMakefile.in78 rng = rng/$(RNG_OBJS) rng/rand_source.o rng/prng.o rng/ctr_prng.o
DMakefile78 rng = rng/$(RNG_OBJS) rng/rand_source.o rng/prng.o rng/ctr_prng.o