Searched refs:ae_soft (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/external/security/librkcrypto/test/ |
| H A D | test_ae.c | 45 uint8_t *plain = NULL, *ae_soft = NULL, *ae_hard = NULL, *aad = NULL; in test_ae_item_virt() local 57 if (posix_memalign((void *)&ae_soft, page_size, TEST_DATA_MAX) || !ae_soft) { in test_ae_item_virt() 96 memset(ae_soft, 0x00, data_len); in test_ae_item_virt() 156 plain, data_len, ae_soft, tag_soft); in test_ae_item_virt() 163 if (memcmp(ae_hard, ae_soft, data_len) != 0) { in test_ae_item_virt() 239 if (ae_soft) in test_ae_item_virt() 240 free(ae_soft); in test_ae_item_virt() 262 rk_crypto_mem *plain = NULL, *ae_soft = NULL, *ae_hard = NULL, *aad = NULL; in test_ae_item_fd() local 274 ae_soft = rk_crypto_mem_alloc(TEST_DATA_MAX); in test_ae_item_fd() 275 if (!ae_soft) { in test_ae_item_fd() [all …]
|