Searched refs:load_corrupt_ta (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/ |
| H A D | regression_1000.c | 618 static bool load_corrupt_ta(ADBG_Case_t *c, size_t offs, uint8_t mask) in load_corrupt_ta() function 689 load_corrupt_ta(c, offsetof(struct shdr, magic), 1)); in test_1008_corrupt_ta() 691 load_corrupt_ta(c, offsetof(struct shdr, img_type), 1)); in test_1008_corrupt_ta() 693 load_corrupt_ta(c, offsetof(struct shdr, img_size), 1)); in test_1008_corrupt_ta() 695 load_corrupt_ta(c, offsetof(struct shdr, algo), 1)); in test_1008_corrupt_ta() 697 load_corrupt_ta(c, offsetof(struct shdr, hash_size), 1)); in test_1008_corrupt_ta() 699 load_corrupt_ta(c, offsetof(struct shdr, sig_size), 1)); in test_1008_corrupt_ta() 701 load_corrupt_ta(c, sizeof(struct shdr), 1)); /* hash */ in test_1008_corrupt_ta() 703 load_corrupt_ta(c, sizeof(struct shdr) + 32, 1)); /* sig */ in test_1008_corrupt_ta() 704 ADBG_EXPECT_TRUE(c, load_corrupt_ta(c, 3000, 1)); /* payload */ in test_1008_corrupt_ta() [all …]
|