Home
last modified time | relevance | path

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

/Linux-v5.4/crypto/
Ddrbg.c405 unsigned char *pad = df_data + drbg_statelen(drbg); in drbg_ctr_df()
510 memset(temp, 0, drbg_statelen(drbg) + drbg_blocklen(drbg)); in drbg_ctr_df()
536 unsigned char *df_data = drbg->scratchpad + drbg_statelen(drbg) + in drbg_ctr_update()
540 memset(df_data, 0, drbg_statelen(drbg)); in drbg_ctr_update()
560 ret = drbg_ctr_df(drbg, df_data, drbg_statelen(drbg), seed); in drbg_ctr_update()
565 ret = drbg_kcapi_sym_ctr(drbg, df_data, drbg_statelen(drbg), in drbg_ctr_update()
566 temp, drbg_statelen(drbg)); in drbg_ctr_update()
582 memset(temp, 0, drbg_statelen(drbg) + drbg_blocklen(drbg)); in drbg_ctr_update()
584 memset(df_data, 0, drbg_statelen(drbg)); in drbg_ctr_update()
664 memset(drbg->V, 1, drbg_statelen(drbg)); in drbg_hmac_update()
[all …]
/Linux-v5.4/include/crypto/
Ddrbg.h142 static inline __u8 drbg_statelen(struct drbg_state *drbg) in drbg_statelen() function