Lines Matching refs:cryptlen

264 		if (req->cryptlen % AES_BLOCK_SIZE != 0)  in kmb_ocs_sk_validate_input()
271 if (req->cryptlen % AES_BLOCK_SIZE != 0) in kmb_ocs_sk_validate_input()
292 if (req->cryptlen < AES_BLOCK_SIZE) in kmb_ocs_sk_validate_input()
329 req->cryptlen, req->iv); in kmb_ocs_sk_common()
346 if (!req->cryptlen && mode != OCS_MODE_CTS) in kmb_ocs_sk_common()
418 req->cryptlen - iv_size, iv_size, 0); in kmb_ocs_sk_prepare_inplace()
423 req->cryptlen - AES_BLOCK_SIZE, in kmb_ocs_sk_prepare_inplace()
424 req->cryptlen - (2 * AES_BLOCK_SIZE)); in kmb_ocs_sk_prepare_inplace()
437 req->cryptlen, 0); in kmb_ocs_sk_prepare_inplace()
457 rctx->src_nents = sg_nents_for_len(req->src, req->cryptlen); in kmb_ocs_sk_prepare_notinplace()
472 req->cryptlen, 0); in kmb_ocs_sk_prepare_notinplace()
487 req->cryptlen, 0); in kmb_ocs_sk_prepare_notinplace()
503 rctx->src_dll.dma_addr, req->cryptlen); in kmb_ocs_sk_prepare_notinplace()
526 rctx->dst_nents = sg_nents_for_len(req->dst, req->cryptlen); in kmb_ocs_sk_run()
539 req->cryptlen > AES_BLOCK_SIZE && in kmb_ocs_sk_run()
540 req->cryptlen % AES_BLOCK_SIZE == 0); in kmb_ocs_sk_run()
554 req->cryptlen, req->iv, iv_size); in kmb_ocs_sk_run()
564 req->cryptlen - AES_BLOCK_SIZE, in kmb_ocs_sk_run()
565 req->cryptlen - (2 * AES_BLOCK_SIZE)); in kmb_ocs_sk_run()
574 req->cryptlen - iv_size, in kmb_ocs_sk_run()
583 req->cryptlen - iv_size, in kmb_ocs_sk_run()
606 if (instruction == OCS_DECRYPT && req->cryptlen < tag_size) in kmb_ocs_aead_validate_input()
655 req->cryptlen, req->iv); in kmb_ocs_aead_common()
734 req->assoclen + req->cryptlen); in kmb_ocs_aead_dma_prepare()
748 in_size = req->cryptlen - tag_size; in kmb_ocs_aead_dma_prepare()
771 in_size = req->cryptlen; in kmb_ocs_aead_dma_prepare()
882 rctx->aad_src_dll.dma_addr, req->cryptlen); in kmb_ocs_aead_dma_prepare()
937 tag_size, req->assoclen + req->cryptlen); in kmb_ocs_aead_run()