Home
last modified time | relevance | path

Searched refs:iv_tmp (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/external/security/librkcrypto/test/
H A Dtest_ae.c46 uint8_t iv_tmp[32]; in test_ae_item_virt() local
116 memcpy(iv_tmp, ae_cfg.iv, iv_len); in test_ae_item_virt()
154 ae_cfg.key, ae_cfg.key_len, iv_tmp, iv_len, in test_ae_item_virt()
183 memcpy(ae_cfg.iv, iv_tmp, iv_len); in test_ae_item_virt()
263 uint8_t iv_tmp[32]; in test_ae_item_fd() local
333 memcpy(iv_tmp, ae_cfg.iv, iv_len); in test_ae_item_fd()
371 ae_cfg.key, ae_cfg.key_len, iv_tmp, iv_len, in test_ae_item_fd()
400 memcpy(ae_cfg.iv, iv_tmp, iv_len); in test_ae_item_fd()
H A Dtest_cipher.c99 uint8_t iv_tmp[AES_BLOCK_SIZE]; in test_cipher_item_virt() local
150 memcpy(iv_tmp, cipher_cfg.iv, iv_len); in test_cipher_item_virt()
199 cipher_cfg.key, cipher_cfg.key_len, iv_tmp, in test_cipher_item_virt()
252 uint8_t iv_tmp[AES_BLOCK_SIZE]; in test_cipher_item_fd() local
302 memcpy(iv_tmp, cipher_cfg.iv, iv_len); in test_cipher_item_fd()
336 cipher_cfg.key, cipher_cfg.key_len, iv_tmp, in test_cipher_item_fd()
H A Dtest_throughput.c468 uint8_t iv_tmp[32]; in test_ae_item_tp() local
475 memcpy(iv_tmp, config.iv, sizeof(config.iv)); in test_ae_item_tp()
563 memcpy(config.iv, iv_tmp, config.iv_len); in test_ae_item_tp()