Home
last modified time | relevance | path

Searched refs:v (Results 1 – 3 of 3) sorted by relevance

/tinycrypt-3.7.0/lib/source/
Dhmac_prng.c88 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update()
103 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update()
104 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in update()
114 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update()
126 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update()
127 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in update()
144 _set(prng->v, 0x01, sizeof(prng->v)); in tc_hmac_prng_init()
214 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in tc_hmac_prng_generate()
215 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in tc_hmac_prng_generate()
219 (void)_copy(out, bufferlen, prng->v, bufferlen); in tc_hmac_prng_generate()
Decc.c325 uECC_word_t *v[2] = {tmp, product}; in uECC_vli_mmod() local
348 uECC_word_t diff = v[index][i] - mod_multiple[i] - borrow; in uECC_vli_mmod()
349 if (diff != v[index][i]) { in uECC_vli_mmod()
350 borrow = (diff > v[index][i]); in uECC_vli_mmod()
352 v[1 - index][i] = diff; in uECC_vli_mmod()
361 uECC_vli_set(result, v[index], num_words); in uECC_vli_mmod()
412 uECC_word_t u[NUM_ECC_WORDS], v[NUM_ECC_WORDS]; in uECC_vli_modInv() local
424 uECC_vli_clear(v, num_words); in uECC_vli_modInv()
431 vli_modInv_update(v, mod, num_words); in uECC_vli_modInv()
435 if (uECC_vli_cmp_unsafe(u, v, num_words) < 0) { in uECC_vli_modInv()
[all …]
/tinycrypt-3.7.0/lib/include/tinycrypt/
Dhmac_prng.h86 uint8_t v[TC_SHA256_DIGEST_SIZE]; member