Home
last modified time | relevance | path

Searched refs:to_hash (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/crypto/caam/
Dcaamhash.c748 unsigned int first_bytes, size_t to_hash) in ahash_edesc_add_src() argument
758 sg_to_sec4_sg_last(req->src, to_hash, sg + first_sg, 0); in ahash_edesc_add_src()
774 append_seq_in_ptr(edesc->hw_desc, src_dma, first_bytes + to_hash, in ahash_edesc_add_src()
794 int in_len = *buflen + req->nbytes, to_hash; in ahash_update_ctx() local
802 to_hash = in_len - *next_buflen; in ahash_update_ctx()
809 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_ctx()
812 to_hash -= blocksize; in ahash_update_ctx()
815 if (to_hash) { in ahash_update_ctx()
873 to_hash - *buflen, in ahash_update_ctx()
887 to_hash, LDST_SGF); in ahash_update_ctx()
[all …]
Dcaamalg_qi2.c3471 int in_len = *buflen + req->nbytes, to_hash; in ahash_update_ctx() local
3478 to_hash = in_len - *next_buflen; in ahash_update_ctx()
3480 if (to_hash) { in ahash_update_ctx()
3529 to_hash - *buflen, in ahash_update_ctx()
3549 dpaa2_fl_set_len(in_fle, ctx->ctx_len + to_hash); in ahash_update_ctx()
3932 int in_len = *buflen + req->nbytes, to_hash; in ahash_update_no_ctx() local
3938 to_hash = in_len - *next_buflen; in ahash_update_no_ctx()
3940 if (to_hash) { in ahash_update_no_ctx()
3982 to_hash - *buflen, in ahash_update_no_ctx()
4008 dpaa2_fl_set_len(in_fle, to_hash); in ahash_update_no_ctx()
[all …]
/Linux-v5.4/net/sched/
Dcls_route.c193 static inline u32 to_hash(u32 id) in to_hash() function
222 h1 = to_hash(handle); in route4_get()
356 RCU_INIT_POINTER(head->table[to_hash(h)], NULL); in route4_delete()
427 h1 = to_hash(nhandle); in route4_set_parms()
530 th = to_hash(fold->handle); in route4_change()