Lines Matching refs:fragsz
7939 uint32_t fragsz, in test_pdcp_proto_SGL() argument
7964 if (fragsz > input_vec_len) in test_pdcp_proto_SGL()
7965 fragsz = input_vec_len; in test_pdcp_proto_SGL()
7967 uint16_t plaintext_len = fragsz; in test_pdcp_proto_SGL()
7968 uint16_t frag_size_oop = fragsz_oop ? fragsz_oop : fragsz; in test_pdcp_proto_SGL()
7974 if (input_vec_len % fragsz != 0) { in test_pdcp_proto_SGL()
7975 if (input_vec_len / fragsz + 1 > 16) in test_pdcp_proto_SGL()
7977 } else if (input_vec_len / fragsz > 16) in test_pdcp_proto_SGL()
8010 to_trn = (input_vec_len - trn_data < fragsz) ? in test_pdcp_proto_SGL()
8011 (input_vec_len - trn_data) : fragsz; in test_pdcp_proto_SGL()
8162 fragsz = frag_size_oop; in test_pdcp_proto_SGL()
8163 if (memcmp(ciphertext, output_vec, fragsz)) { in test_pdcp_proto_SGL()
8165 rte_hexdump(stdout, "encrypted", ciphertext, fragsz); in test_pdcp_proto_SGL()
8166 rte_hexdump(stdout, "reference", output_vec, fragsz); in test_pdcp_proto_SGL()
8175 unsigned int off = fragsz; in test_pdcp_proto_SGL()
11120 uint32_t fragsz) in test_AES_GMAC_authentication_SGL() argument
11154 if (fragsz > tdata->plaintext.len) in test_AES_GMAC_authentication_SGL()
11155 fragsz = tdata->plaintext.len; in test_AES_GMAC_authentication_SGL()
11157 uint16_t plaintext_len = fragsz; in test_AES_GMAC_authentication_SGL()
11188 to_trn = (tdata->plaintext.len - trn_data < fragsz) ? in test_AES_GMAC_authentication_SGL()
11189 (tdata->plaintext.len - trn_data) : fragsz; in test_AES_GMAC_authentication_SGL()
12342 const int oop, uint32_t fragsz, uint32_t fragsz_oop) in test_authenticated_encryption_SGL() argument
12370 unsigned int sgl_in = fragsz < tdata->plaintext.len; in test_authenticated_encryption_SGL()
12383 unsigned int sgl_in = fragsz < tdata->plaintext.len; in test_authenticated_encryption_SGL()
12384 unsigned int sgl_out = (fragsz_oop ? fragsz_oop : fragsz) < in test_authenticated_encryption_SGL()
12404 if (fragsz > tdata->plaintext.len) in test_authenticated_encryption_SGL()
12405 fragsz = tdata->plaintext.len; in test_authenticated_encryption_SGL()
12407 uint16_t plaintext_len = fragsz; in test_authenticated_encryption_SGL()
12408 uint16_t frag_size_oop = fragsz_oop ? fragsz_oop : fragsz; in test_authenticated_encryption_SGL()
12418 if (tdata->plaintext.len % fragsz != 0) { in test_authenticated_encryption_SGL()
12419 if (tdata->plaintext.len / fragsz + 1 > SGL_MAX_NO) in test_authenticated_encryption_SGL()
12422 if (tdata->plaintext.len / fragsz > SGL_MAX_NO) in test_authenticated_encryption_SGL()
12467 to_trn = (tdata->plaintext.len - trn_data < fragsz) ? in test_authenticated_encryption_SGL()
12468 (tdata->plaintext.len - trn_data) : fragsz; in test_authenticated_encryption_SGL()
12604 fragsz = fragsz_oop; in test_authenticated_encryption_SGL()
12609 fragsz, in test_authenticated_encryption_SGL()
12616 unsigned int off = fragsz; in test_authenticated_encryption_SGL()