Lines Matching refs:data_len
68 uint32_t data_len = sizeof(input); in demo_ae() local
82 in = rk_crypto_mem_alloc(data_len); in demo_ae()
84 printf("malloc %uByte error!\n", data_len); in demo_ae()
89 out = rk_crypto_mem_alloc(data_len); in demo_ae()
91 printf("malloc %uByte error!\n", data_len); in demo_ae()
110 memcpy(in->vaddr, input, data_len); in demo_ae()
127 res = rk_ae_crypt(handle, in->dma_fd, out->dma_fd, data_len, tag); in demo_ae()
136 if (memcmp(out->vaddr, expected_enc, data_len)) { in demo_ae()
167 res = rk_ae_crypt(handle, out->dma_fd, out->dma_fd, data_len, tag); in demo_ae()
176 if (memcmp(out->vaddr, input, data_len)) { in demo_ae()
198 uint32_t data_len = sizeof(input); in demo_ae_virt() local
231 res = rk_ae_crypt_virt(handle, input, output, data_len, tag); in demo_ae_virt()
240 if (memcmp(output, expected_enc, data_len)) { in demo_ae_virt()
271 res = rk_ae_crypt_virt(handle, output, output, data_len, tag); in demo_ae_virt()
280 if (memcmp(output, input, data_len)) { in demo_ae_virt()