Lines Matching refs:copy_size
899 int copy_size, pbuf_length; in GEN_SEC_SETKEY_FUNC() local
906 copy_size = aead_req->cryptlen + aead_req->assoclen; in GEN_SEC_SETKEY_FUNC()
908 copy_size = c_req->c_len; in GEN_SEC_SETKEY_FUNC()
911 qp_ctx->res[req_id].pbuf, copy_size); in GEN_SEC_SETKEY_FUNC()
912 if (unlikely(pbuf_length != copy_size)) { in GEN_SEC_SETKEY_FUNC()
919 mac_offset = qp_ctx->res[req_id].pbuf + copy_size - authsize; in GEN_SEC_SETKEY_FUNC()
935 int copy_size, pbuf_length; in sec_cipher_pbuf_unmap() local
939 copy_size = c_req->c_len + aead_req->assoclen; in sec_cipher_pbuf_unmap()
941 copy_size = c_req->c_len; in sec_cipher_pbuf_unmap()
944 qp_ctx->res[req_id].pbuf, copy_size); in sec_cipher_pbuf_unmap()
945 if (unlikely(pbuf_length != copy_size)) in sec_cipher_pbuf_unmap()
956 size_t copy_size; in sec_aead_mac_init() local
961 copy_size = sg_pcopy_to_buffer(sgl, sg_nents(sgl), mac_out, in sec_aead_mac_init()
963 if (unlikely(copy_size != authsize)) in sec_aead_mac_init()