Lines Matching refs:fragsz
8544 uint32_t fragsz, in test_pdcp_proto_SGL() argument
8580 if (fragsz > input_vec_len) in test_pdcp_proto_SGL()
8581 fragsz = input_vec_len; in test_pdcp_proto_SGL()
8583 uint16_t plaintext_len = fragsz; in test_pdcp_proto_SGL()
8584 uint16_t frag_size_oop = fragsz_oop ? fragsz_oop : fragsz; in test_pdcp_proto_SGL()
8590 if (input_vec_len % fragsz != 0) { in test_pdcp_proto_SGL()
8591 if (input_vec_len / fragsz + 1 > 16) in test_pdcp_proto_SGL()
8593 } else if (input_vec_len / fragsz > 16) in test_pdcp_proto_SGL()
8626 to_trn = (input_vec_len - trn_data < fragsz) ? in test_pdcp_proto_SGL()
8627 (input_vec_len - trn_data) : fragsz; in test_pdcp_proto_SGL()
8793 fragsz = frag_size_oop; in test_pdcp_proto_SGL()
8794 if (memcmp(ciphertext, output_vec, fragsz)) { in test_pdcp_proto_SGL()
8796 rte_hexdump(stdout, "encrypted", ciphertext, fragsz); in test_pdcp_proto_SGL()
8797 rte_hexdump(stdout, "reference", output_vec, fragsz); in test_pdcp_proto_SGL()
8806 unsigned int off = fragsz; in test_pdcp_proto_SGL()
13039 uint32_t fragsz) in test_AES_GMAC_authentication_SGL() argument
13073 if (fragsz > tdata->plaintext.len) in test_AES_GMAC_authentication_SGL()
13074 fragsz = tdata->plaintext.len; in test_AES_GMAC_authentication_SGL()
13076 uint16_t plaintext_len = fragsz; in test_AES_GMAC_authentication_SGL()
13109 to_trn = (tdata->plaintext.len - trn_data < fragsz) ? in test_AES_GMAC_authentication_SGL()
13110 (tdata->plaintext.len - trn_data) : fragsz; in test_AES_GMAC_authentication_SGL()
14281 const int oop, uint32_t fragsz, uint32_t fragsz_oop) in test_authenticated_encryption_SGL() argument
14309 unsigned int sgl_in = fragsz < tdata->plaintext.len; in test_authenticated_encryption_SGL()
14322 unsigned int sgl_in = fragsz < tdata->plaintext.len; in test_authenticated_encryption_SGL()
14323 unsigned int sgl_out = (fragsz_oop ? fragsz_oop : fragsz) < in test_authenticated_encryption_SGL()
14343 if (fragsz > tdata->plaintext.len) in test_authenticated_encryption_SGL()
14344 fragsz = tdata->plaintext.len; in test_authenticated_encryption_SGL()
14346 uint16_t plaintext_len = fragsz; in test_authenticated_encryption_SGL()
14347 uint16_t frag_size_oop = fragsz_oop ? fragsz_oop : fragsz; in test_authenticated_encryption_SGL()
14357 if (tdata->plaintext.len % fragsz != 0) { in test_authenticated_encryption_SGL()
14358 if (tdata->plaintext.len / fragsz + 1 > SGL_MAX_NO) in test_authenticated_encryption_SGL()
14361 if (tdata->plaintext.len / fragsz > SGL_MAX_NO) in test_authenticated_encryption_SGL()
14406 to_trn = (tdata->plaintext.len - trn_data < fragsz) ? in test_authenticated_encryption_SGL()
14407 (tdata->plaintext.len - trn_data) : fragsz; in test_authenticated_encryption_SGL()
14543 fragsz = fragsz_oop; in test_authenticated_encryption_SGL()
14548 fragsz, in test_authenticated_encryption_SGL()
14555 unsigned int off = fragsz; in test_authenticated_encryption_SGL()