Lines Matching refs:scratchpad
525 unsigned char *temp = drbg->scratchpad; in drbg_ctr_update()
526 unsigned char *df_data = drbg->scratchpad + drbg_statelen(drbg) + in drbg_ctr_update()
813 unsigned char *tmp = drbg->scratchpad + drbg_statelen(drbg); in drbg_hash_df()
852 unsigned char *V = drbg->scratchpad; in drbg_hash_update()
883 memset(drbg->scratchpad, 0, drbg_statelen(drbg)); in drbg_hash_update()
906 ret = drbg_kcapi_hash(drbg, drbg->scratchpad, &datalist); in drbg_hash_process_addtl()
912 drbg->scratchpad, drbg_blocklen(drbg)); in drbg_hash_process_addtl()
915 memset(drbg->scratchpad, 0, drbg_blocklen(drbg)); in drbg_hash_process_addtl()
926 unsigned char *src = drbg->scratchpad; in drbg_hash_hashgen()
927 unsigned char *dst = drbg->scratchpad + drbg_statelen(drbg); in drbg_hash_hashgen()
955 memset(drbg->scratchpad, 0, in drbg_hash_hashgen()
988 ret = drbg_kcapi_hash(drbg, drbg->scratchpad, &datalist); in drbg_hash_generate()
996 drbg->scratchpad, drbg_blocklen(drbg)); in drbg_hash_generate()
1003 memset(drbg->scratchpad, 0, drbg_blocklen(drbg)); in drbg_hash_generate()
1325 drbg->scratchpad = PTR_ALIGN(drbg->scratchpadbuf, ret + 1); in drbg_alloc_state()