Home
last modified time | relevance | path

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

/crypto/
Drsa-pkcs1pad.c185 len = req_ctx->child_req.dst_len; in pkcs1pad_encrypt_sign_complete()
205 req->dst_len = ctx->key_size; in pkcs1pad_encrypt_sign_complete()
240 if (req->dst_len < ctx->key_size) { in pkcs1pad_encrypt()
241 req->dst_len = ctx->key_size; in pkcs1pad_encrypt()
265 req->dst, ctx->key_size - 1, req->dst_len); in pkcs1pad_encrypt()
279 unsigned int dst_len; in pkcs1pad_decrypt_complete() local
287 dst_len = req_ctx->child_req.dst_len; in pkcs1pad_decrypt_complete()
288 if (dst_len < ctx->key_size - 1) in pkcs1pad_decrypt_complete()
292 if (dst_len == ctx->key_size) { in pkcs1pad_decrypt_complete()
297 dst_len--; in pkcs1pad_decrypt_complete()
[all …]
Decrdsa.c76 unsigned int ndigits = req->dst_len / sizeof(u64); in ecrdsa_verify()
95 req->dst_len != ctx->digest_len || in ecrdsa_verify()
96 req->dst_len != ctx->curve->g.ndigits * sizeof(u64) || in ecrdsa_verify()
98 req->dst_len * 2 != req->src_len || in ecrdsa_verify()
100 WARN_ON(req->dst_len > sizeof(digest))) in ecrdsa_verify()
107 req->src_len + req->dst_len), in ecrdsa_verify()
108 digest, req->dst_len, req->src_len); in ecrdsa_verify()
Drsa.c79 ret = mpi_write_to_sgl(c, req->dst, req->dst_len, &sign); in rsa_enc()
118 ret = mpi_write_to_sgl(m, req->dst, req->dst_len, &sign); in rsa_dec()
Decdh.c120 nbytes = min_t(size_t, nbytes, req->dst_len); in ecdh_compute_value()
Ddh.c182 ret = mpi_write_to_sgl(val, req->dst, req->dst_len, &sign); in dh_compute_value()
Dtestmgr.c3757 if (req->dst_len != c_size) { in test_akcipher_one()
3806 out_len = req->dst_len; in test_akcipher_one()
/crypto/asymmetric_keys/
Dpublic_key.c237 ret = req->dst_len; in software_key_eds_op()
Dasym_tpm.c507 ret = req->dst_len; in tpm_key_encrypt()