Lines Matching refs:data_size
323 u32 data_size = PERF_BUFF_SIZE; in test_hash_perf() local
334 data = (u8 *)memalign(CONFIG_SYS_CACHELINE_SIZE, data_size); in test_hash_perf()
337 __func__, __LINE__, data_size); in test_hash_perf()
341 memset(data, 0xab, data_size); in test_hash_perf()
355 for (i = 0; i < total_size / data_size; i++) { in test_hash_perf()
356 ret = crypto_sha_update(dev, (u32 *)data, data_size); in test_hash_perf()
383 u32 data_size = PERF_BUFF_SIZE; in test_cipher_perf() local
390 plain = (u8 *)memalign(CONFIG_SYS_CACHELINE_SIZE, data_size); in test_cipher_perf()
393 __func__, __LINE__, data_size); in test_cipher_perf()
397 cipher = (u8 *)memalign(CONFIG_SYS_CACHELINE_SIZE, data_size); in test_cipher_perf()
400 __func__, __LINE__, data_size); in test_cipher_perf()
405 memset(plain, 0xab, data_size); in test_cipher_perf()
410 for (i = 0; i < total_size / data_size; i++) { in test_cipher_perf()
412 ret = crypto_mac(dev, ctx, plain, data_size, cipher); in test_cipher_perf()
414 ret = crypto_ae(dev, ctx, plain, data_size, in test_cipher_perf()
418 data_size, enc); in test_cipher_perf()
597 u32 data_size = 4096 / 8; in test_rsa_result() local
603 hard_out = (u8 *)memalign(CONFIG_SYS_CACHELINE_SIZE, data_size); in test_rsa_result()
606 __func__, __LINE__, data_size); in test_rsa_result()
610 e_tmp = (u8 *)memalign(CONFIG_SYS_CACHELINE_SIZE, data_size); in test_rsa_result()
613 __func__, __LINE__, data_size); in test_rsa_result()
655 memset(e_tmp, 0x00, data_size); in test_rsa_result()