Home
last modified time | relevance | path

Searched refs:V (Results 1 – 2 of 2) sorted by relevance

/crypto/
Dansi_cprng.c45 unsigned char V[DEFAULT_BLK_SZ]; member
93 hexdump("Input V: ", ctx->V, DEFAULT_BLK_SZ); in _get_more_prng_bytes()
117 xor_vectors(ctx->I, ctx->V, tmp, DEFAULT_BLK_SZ); in _get_more_prng_bytes()
149 output = ctx->V; in _get_more_prng_bytes()
174 hexdump("Output V: ", ctx->V, DEFAULT_BLK_SZ); in _get_more_prng_bytes()
278 const unsigned char *V, const unsigned char *DT) in reset_prng_context() argument
291 if (V) in reset_prng_context()
292 memcpy(ctx->V, V, DEFAULT_BLK_SZ); in reset_prng_context()
294 memcpy(ctx->V, DEFAULT_V_SEED, DEFAULT_BLK_SZ); in reset_prng_context()
Ddrbg.c551 crypto_inc(drbg->V, drbg_blocklen(drbg)); in drbg_ctr_update()
577 memcpy(drbg->V, temp + drbg_keylen(drbg), drbg_blocklen(drbg)); in drbg_ctr_update()
579 crypto_inc(drbg->V, drbg_blocklen(drbg)); in drbg_ctr_update()
665 memset(drbg->V, 1, drbg_statelen(drbg)); in drbg_hmac_update()
669 drbg_string_fill(&seed1, drbg->V, drbg_statelen(drbg)); in drbg_hmac_update()
678 drbg_string_fill(&vdata, drbg->V, drbg_statelen(drbg)); in drbg_hmac_update()
693 ret = drbg_kcapi_hash(drbg, drbg->V, &vdatalist); in drbg_hmac_update()
723 drbg_string_fill(&data, drbg->V, drbg_statelen(drbg)); in drbg_hmac_generate()
728 ret = drbg_kcapi_hash(drbg, drbg->V, &datalist); in drbg_hmac_generate()
735 memcpy(buf + len, drbg->V, outlen); in drbg_hmac_generate()
[all …]