Lines Matching refs:hashlen
373 size_t hashlen; in blake2_cipher_process() local
393 hashlen = ses->mlen; in blake2_cipher_process()
395 hashlen = BLAKE2B_OUTBYTES; in blake2_cipher_process()
397 rc = blake2b_init_key(&bctx.sb, hashlen, ses->key, ses->klen); in blake2_cipher_process()
399 rc = blake2b_init(&bctx.sb, hashlen); in blake2_cipher_process()
406 rc = blake2b_final(&bctx.sb, res, hashlen); in blake2_cipher_process()
414 hashlen = ses->mlen; in blake2_cipher_process()
416 hashlen = BLAKE2S_OUTBYTES; in blake2_cipher_process()
418 rc = blake2s_init_key(&bctx.ss, hashlen, ses->key, ses->klen); in blake2_cipher_process()
420 rc = blake2s_init(&bctx.ss, hashlen); in blake2_cipher_process()
427 rc = blake2s_final(&bctx.ss, res, hashlen); in blake2_cipher_process()
437 crypto_copyback(crp->crp_flags, crp->crp_buf, crd->crd_inject, hashlen, in blake2_cipher_process()