Home
last modified time | relevance | path

Searched refs:plen (Results 1 – 8 of 8) sorted by relevance

/crypto/
A Dtcrypt.h72 { .blen = 16, .plen = 16, },
73 { .blen = 64, .plen = 16, },
74 { .blen = 64, .plen = 64, },
75 { .blen = 256, .plen = 16, },
76 { .blen = 256, .plen = 64, },
96 { .blen = 0, .plen = 0, }
100 { .blen = 96, .plen = 16, },
101 { .blen = 96, .plen = 32, },
102 { .blen = 96, .plen = 96, },
103 { .blen = 288, .plen = 16, },
[all …]
A Dtestmgr.h15535 .plen = 0,
15550 .plen = 0,
17069 .plen = 8,
17381 .plen = 8,
21664 .plen = 4,
22124 .plen = 0,
22136 .plen = 0,
22199 .plen = 0,
22260 .plen = 0,
22823 .plen = 4,
[all …]
A Dshash.c212 unsigned int plen, ss; in __crypto_shash_export() local
214 plen = crypto_shash_blocksize(tfm) + 1; in __crypto_shash_export()
217 ss -= plen; in __crypto_shash_export()
238 unsigned int plen = crypto_shash_blocksize(tfm) + 1; in crypto_shash_export() local
243 memcpy(out + ss - plen, buf + descsize - plen, plen); in crypto_shash_export()
254 unsigned int descsize, plen, ss; in __crypto_shash_import() local
262 plen = crypto_shash_blocksize(tfm) + 1; in __crypto_shash_import()
263 ss -= plen; in __crypto_shash_import()
289 unsigned int plen = crypto_shash_blocksize(tfm) + 1; in crypto_shash_import() local
294 memcpy(buf + descsize - plen, in + ss - plen, plen); in crypto_shash_import()
[all …]
A Daf_alg.c745 used -= plen; in af_alg_pull_tsgl()
996 ssize_t plen; in af_alg_sendmsg() local
1050 if (plen < 0) { in af_alg_sendmsg()
1051 err = plen; in af_alg_sendmsg()
1057 len -= plen; in af_alg_sendmsg()
1059 copied += plen; in af_alg_sendmsg()
1060 size -= plen; in af_alg_sendmsg()
1079 msg, plen); in af_alg_sendmsg()
1087 len -= plen; in af_alg_sendmsg()
1089 copied += plen; in af_alg_sendmsg()
[all …]
A Dtcrypt.c740 int plen, char *out, int secs) in test_ahash_jiffies() argument
746 if (plen == blen) in test_ahash_jiffies()
754 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_jiffies()
810 int plen, char *out) in test_ahash_cycles() argument
815 if (plen == blen) in test_ahash_cycles()
823 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_cycles()
842 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_cycles()
919 i, speed[i].blen, speed[i].plen, speed[i].blen / speed[i].plen); in test_ahash_speed_common()
921 ahash_request_set_crypt(req, sg, output, speed[i].plen); in test_ahash_speed_common()
925 speed[i].plen, output, secs); in test_ahash_speed_common()
[all …]
A Dtestmgr.c2047 const unsigned int authsize = vec->clen - vec->plen; in test_aead_vec_cfg()
2107 input[1].iov_len = enc ? vec->plen : vec->clen; in test_aead_vec_cfg()
2109 vec->alen + (enc ? vec->plen : in test_aead_vec_cfg()
2112 vec->plen), in test_aead_vec_cfg()
2124 enc ? vec->plen : vec->clen, iv); in test_aead_vec_cfg()
2145 if (req->cryptlen != (enc ? vec->plen : vec->clen)) in test_aead_vec_cfg()
2205 enc ? vec->clen : vec->plen, in test_aead_vec_cfg()
2345 if (vec->plen) { in generate_aead_message()
2347 sg_set_buf(&src[i++], vec->ptext, vec->plen); in generate_aead_message()
2422 vec->plen = total_len - vec->alen; in generate_random_aead_testvec()
[all …]
A Dahash.c644 unsigned int plen = crypto_ahash_blocksize(tfm) + 1; in crypto_ahash_export() local
649 memcpy(out + ss - plen, buf + reqsize - plen, plen); in crypto_ahash_export()
/crypto/asymmetric_keys/
A Dx509_loader.c13 size_t plen; in x509_load_certificate_list() local
26 plen = (p[2] << 8) | p[3]; in x509_load_certificate_list()
27 plen += 4; in x509_load_certificate_list()
28 if (plen > end - p) in x509_load_certificate_list()
35 plen, in x509_load_certificate_list()
49 p += plen; in x509_load_certificate_list()

Completed in 75 milliseconds