Searched refs:TCHmacPrng_t (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/include/tinycrypt/ |
A D | hmac_prng.h | 91 typedef struct tc_hmac_prng_struct *TCHmacPrng_t; typedef 115 int tc_hmac_prng_init(TCHmacPrng_t prng, 139 int tc_hmac_prng_reseed(TCHmacPrng_t prng, const uint8_t *seed, 158 int tc_hmac_prng_generate(uint8_t *out, unsigned int outlen, TCHmacPrng_t prng);
|
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/ |
A D | hmac_prng.c | 78 static void update(TCHmacPrng_t prng, const uint8_t *e, unsigned int len) in update() 112 int tc_hmac_prng_init(TCHmacPrng_t prng, in tc_hmac_prng_init() 118 if (prng == (TCHmacPrng_t) 0 || in tc_hmac_prng_init() 138 int tc_hmac_prng_reseed(TCHmacPrng_t prng, in tc_hmac_prng_reseed() 146 if (prng == (TCHmacPrng_t) 0 || in tc_hmac_prng_reseed() 177 int tc_hmac_prng_generate(uint8_t *out, unsigned int outlen, TCHmacPrng_t prng) in tc_hmac_prng_generate() 183 prng == (TCHmacPrng_t) 0 || in tc_hmac_prng_generate()
|
Completed in 6 milliseconds