Searched refs:V (Results 1 – 2 of 2) sorted by relevance
| /crypto/ |
| A D | ansi_cprng.c | 45 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()
|
| A D | drbg.c | 541 crypto_inc(drbg->V, drbg_blocklen(drbg)); in drbg_ctr_update() 569 crypto_inc(drbg->V, drbg_blocklen(drbg)); in drbg_ctr_update() 653 memset(drbg->V, 1, drbg_statelen(drbg)); in drbg_hmac_update() 723 memcpy(buf + len, drbg->V, outlen); in drbg_hmac_generate() 853 unsigned char *V = drbg->scratchpad; in drbg_hash_update() local 861 memcpy(V, drbg->V, drbg_statelen(drbg)); in drbg_hash_update() 912 drbg_add_buf(drbg->V, drbg_statelen(drbg), in drbg_hash_process_addtl() 1227 memset(drbg->V, 0, drbg_statelen(drbg)); in drbg_seed() 1246 drbg->V = NULL; in drbg_dealloc_state() 1301 drbg->V = PTR_ALIGN(drbg->Vbuf, ret + 1); in drbg_alloc_state() [all …]
|
Completed in 8 milliseconds