Searched refs:plen (Results 1 – 4 of 4) sorted by relevance
/crypto/ |
D | tcrypt.h | 32 unsigned int plen; /* per-update length */ member 74 { .blen = 16, .plen = 16, }, 75 { .blen = 64, .plen = 16, }, 76 { .blen = 64, .plen = 64, }, 77 { .blen = 256, .plen = 16, }, 78 { .blen = 256, .plen = 64, }, 79 { .blen = 256, .plen = 256, }, 80 { .blen = 1024, .plen = 16, }, 81 { .blen = 1024, .plen = 256, }, 82 { .blen = 1024, .plen = 1024, }, [all …]
|
D | algif_skcipher.c | 120 int plen = min_t(int, used, sg[i].length); in skcipher_pull_sgl() local 125 sg[i].length -= plen; in skcipher_pull_sgl() 126 sg[i].offset += plen; in skcipher_pull_sgl() 128 used -= plen; in skcipher_pull_sgl() 129 ctx->used -= plen; in skcipher_pull_sgl() 299 int plen; in skcipher_sendmsg() local 340 plen = min_t(int, len, PAGE_SIZE); in skcipher_sendmsg() 348 msg->msg_iov, plen); in skcipher_sendmsg() 355 sg[i].length = plen; in skcipher_sendmsg() 356 len -= plen; in skcipher_sendmsg() [all …]
|
D | tcrypt.c | 536 int blen, int plen, char *out, int secs) in test_hash_jiffies() argument 542 if (plen == blen) in test_hash_jiffies() 550 for (pcount = 0; pcount < blen; pcount += plen) { in test_hash_jiffies() 551 ret = crypto_hash_update(desc, sg, plen); in test_hash_jiffies() 611 int blen, int plen, char *out) in test_hash_cycles() argument 617 if (plen == blen) in test_hash_cycles() 627 for (pcount = 0; pcount < blen; pcount += plen) { in test_hash_cycles() 628 ret = crypto_hash_update(desc, sg, plen); in test_hash_cycles() 646 for (pcount = 0; pcount < blen; pcount += plen) { in test_hash_cycles() 647 ret = crypto_hash_update(desc, sg, plen); in test_hash_cycles() [all …]
|
D | af_alg.c | 416 int plen = min_t(int, len, PAGE_SIZE - off); in af_alg_make_sg() local 418 sg_set_page(sgl->sg + i, sgl->pages[i], plen, off); in af_alg_make_sg() 421 len -= plen; in af_alg_make_sg() 422 err += plen; in af_alg_make_sg()
|