Test Linter #8
Annotations
10 errors, 10 warnings, and 10 notices
crypto/libtomcrypt/src/tee_ltc_provider.c:7:10 [clang-diagnostic-error]:
crypto/libtomcrypt/src/tee_ltc_provider.c#L7
'crypto/aes-ccm.h' file not found
|
crypto/libtomcrypt/src/hashes/sha1.c:39:10 [clang-diagnostic-error]:
crypto/libtomcrypt/src/hashes/sha1.c#L39
'tomcrypt.h' file not found
|
crypto/libtomcrypt/src/hashes/md5.c:39:10 [clang-diagnostic-error]:
crypto/libtomcrypt/src/hashes/md5.c#L39
'tomcrypt.h' file not found
|
|
|
|
|
|
|
|
crypto/libtomcrypt/src/tee_ltc_provider.c:104:28 [bugprone-reserved-identifier]:
crypto/libtomcrypt/src/tee_ltc_provider.c#L104
declaration uses identifier '_tee_ltc_prng', which is reserved in the global namespace
|
crypto/libtomcrypt/src/tee_ltc_provider.c:104:28 [cppcoreguidelines-avoid-non-const-global-variables]:
crypto/libtomcrypt/src/tee_ltc_provider.c#L104
variable '_tee_ltc_prng' is non-const and globally accessible, consider making it const
|
|
|
|
|
|
|
crypto/libtomcrypt/src/misc/mem_neq.c:63:25 [cppcoreguidelines-init-variables]:
crypto/libtomcrypt/src/misc/mem_neq.c#L63
variable 'pa' is not initialized
|
crypto/libtomcrypt/src/misc/mem_neq.c:64:25 [cppcoreguidelines-init-variables]:
crypto/libtomcrypt/src/misc/mem_neq.c#L64
variable 'pb' is not initialized
|
Run clang-format on crypto/libtomcrypt/src/tee_ltc_provider.c:
crypto/libtomcrypt/src/tee_ltc_provider.c#L1
File crypto/libtomcrypt/src/tee_ltc_provider.c does not conform to Custom style guidelines. (lines 14, 24, 31, 36, 44, 49, 58, 63, 70, 77, 82, 97, 98, 99, 100, 105, 107, 109, 110, 111, 112, 113, 114, 116, 118, 119, 120, 124, 125, 126, 129, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 166, 168, 171, 172, 175, 178, 181, 184, 187, 190, 192, 194, 195, 196, 197, 198, 199, 200, 201, 203, 206, 217, 218, 220, 221, 222, 223, 224, 225, 226, 227, 230, 231, 232, 233, 234, 237, 238, 239, 240, 241, 242, 243, 244, 247, 248, 249, 250, 251, 252, 253, 254, 257, 258, 259, 260, 261, 262, 263, 266, 267, 268, 269, 270, 271, 272, 274, 275, 276, 277, 278, 280, 281, 282, 284, 285, 286, 289, 290, 292, 302, 303, 304, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 320, 321, 322, 323, 324, 325, 326, 328, 329, 330, 331, 332, 334, 335, 336, 337, 339, 340, 341, 344, 345, 353, 354, 356, 359, 362, 365, 368, 371, 373, 374, 375, 376, 377, 378, 383, 384, 385, 386, 387, 389, 390, 391, 393, 394, 395, 396, 398, 402, 403, 404, 406, 407, 408, 409, 410, 411, 415, 416, 417, 418, 420, 421, 425, 426, 427, 428, 430, 431, 432, 434, 435, 436, 440, 441, 442, 443, 444, 446, 447, 448, 450, 451, 452, 456, 457, 458, 459, 460, 461, 462, 463, 465, 466, 467, 469, 470, 472, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 498, 499, 501, 502, 506, 513, 514, 515, 517, 518, 519, 520, 521, 522, 527, 528, 529, 530, 531, 532, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 546, 551, 552, 554, 555, 556, 558, 562, 563, 569, 570, 571, 573, 574, 580, 581, 582, 583, 585, 586, 587, 593, 594, 600, 601, 602, 604, 605, 606, 607, 609, 610, 611, 613, 619, 620, 621, 623, 624, 626, 627, 628, 629, 630, 631, 638, 639, 640, 644, 645, 646, 647, 652, 653, 654, 655, 657, 658, 659, 660, 665, 666, 670, 671, 672, 675, 676, 680, 681, 685, 686, 687, 688, 689, 693, 694, 698, 699, 700, 701, 702, 703, 704, 705, 709, 710, 711, 714, 715, 716, 718, 722, 723, 724, 725, 727, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 756, 757, 758, 759, 760, 761, 762, 763, 768, 769, 770, 771, 772, 773, 774, 775, 776, 778, 779, 783, 784, 785, 786, 787, 791, 792, 793, 794, 795, 796, 797, 799, 800, 802, 803, 804, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 816, 817, 818, 819, 821, 822, 823, 824, 829, 830, 831, 832, 833, 834, 835, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 847, 848, 850, 851, 852, 853, 854, 855, 856, 857, 858, 859, 860, 861, 862, 863, 864, 865, 866, 867, 869, 870, 871, 872, 874, 875, 876, 877, 878, 880, 881, 884, 885, 886, 891, 892, 893, 894, 895, 896, 898, 899, 900, 902, 906, 907, 908, 909, 910, 911, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 925, 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 953, 954, 955, 956, 957, 958, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 975, 976, 977, 978, 979, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1008, 1009, 1010, 1011, 1012, 1014, 1015, 1018, 1019, 1020, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1049, 1050, 1051, 1052, 1054, 1055, 1056, 1057, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1079, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1128, 1129, 1130, 1131, 1132, 1134, 1135, 1136, 1137, 1139, 1140, 1141, 1142, 1144, 1146, 1147, 1148, 1149, 1150, 1152, 1154, 1155, 1156, 1158, 1160, 1161, 1162, 1163, 1166, 1170, 1171, 1172, 1173, 1174, 1175, 1176, 1177, 1178, 1179, 1180, 1181, 1182, 1183, 1184, 1186, 1187, 1188, 1189, 1191, 1192, 1193, 1194, 1196,
|
Run clang-format on crypto/libtomcrypt/src/hashes/sha1.c:
crypto/libtomcrypt/src/hashes/sha1.c#L1
File crypto/libtomcrypt/src/hashes/sha1.c does not conform to Custom style guidelines. (lines 43, 44, 49, 50, 51, 52, 53, 54, 56, 57, 58, 60, 61, 62, 63, 64, 67, 68, 69, 70, 75, 77, 78, 79, 81, 83, 84, 85, 86, 88, 89, 90, 91, 92, 93, 95, 96, 97, 98, 100, 101, 102, 103, 104, 105, 107, 109, 110, 111, 113, 114, 115, 117, 118, 119, 121, 122, 125, 127, 128, 129, 130, 131, 132, 133, 135, 136, 137, 138, 139, 140, 141, 142, 144, 145, 146, 147, 148, 149, 150, 151, 153, 154, 155, 156, 157, 158, 159, 161, 163, 164, 165, 166, 168, 169, 170, 171, 172, 173, 179, 180, 181, 182, 183, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 221, 222, 223, 225, 226, 228, 229, 230, 232, 233, 235, 236, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 250, 251, 252, 253, 255, 256, 257, 259, 260, 261, 263, 265, 272, 273, 274, 275, 276, 277, 278, 279, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 298, 299, 300, 301, 302, 303, 306, 310)
|
Run clang-format on crypto/libtomcrypt/src/hashes/md5.c:
crypto/libtomcrypt/src/hashes/md5.c#L1
File crypto/libtomcrypt/src/hashes/md5.c does not conform to Custom style guidelines. (lines 39, 44, 49, 50, 51, 52, 53, 54, 56, 57, 58, 60, 61, 62, 63, 64, 67, 68, 69, 70, 74, 75, 77, 78, 80, 81, 83, 84, 86, 87, 88, 89, 90, 93, 94, 95, 96, 97, 100, 101, 102, 103, 104, 105, 106, 107, 108, 113, 114, 116, 117, 119, 120, 122, 123, 126, 131, 133, 135, 137, 139, 140, 141, 142, 144, 145, 146, 147, 150, 151, 152, 153, 154, 156, 157, 158, 159, 161, 162, 163, 164, 166, 167, 168, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 238, 239, 240, 241, 247, 248, 249, 250, 251, 261, 262, 263, 264, 265, 266, 267, 268, 269, 288, 289, 290, 292, 293, 295, 296, 297, 300, 301, 303, 304, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 318, 319, 320, 321, 323, 324, 325, 327, 328, 329, 331, 333, 340, 341, 342, 343, 344, 345, 346, 347, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 378, 379, 380, 381, 382, 383, 386, 390)
|
Run clang-format on crypto/libtomcrypt/src/hashes/sha2/sha384.c:
crypto/libtomcrypt/src/hashes/sha2/sha384.c#L1
File crypto/libtomcrypt/src/hashes/sha2/sha384.c does not conform to Custom style guidelines. (lines 48, 49, 50, 51, 52, 53, 55, 56, 57, 59, 60, 61, 62, 63, 71, 72, 73, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 94, 95, 96, 98, 99, 101, 102, 103, 105, 107, 109, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 140, 148, 149, 150, 151, 152, 153, 156, 160)
|
Run clang-format on crypto/libtomcrypt/src/hashes/sha2/sha512.c:
crypto/libtomcrypt/src/hashes/sha2/sha512.c#L1
File crypto/libtomcrypt/src/hashes/sha2/sha512.c does not conform to Custom style guidelines. (lines 43, 48, 49, 50, 51, 52, 53, 55, 56, 57, 59, 60, 61, 62, 63, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 111, 112, 113, 114, 115, 116, 117, 118, 122, 124, 126, 127, 128, 130, 131, 132, 133, 135, 136, 137, 138, 140, 141, 142, 143, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 160, 161, 162, 163, 164, 166, 167, 168, 169, 170, 171, 172, 173, 174, 176, 179, 180, 181, 182, 189, 190, 191, 192, 193, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 234, 235, 236, 238, 239, 241, 242, 243, 245, 246, 248, 249, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 263, 264, 265, 266, 267, 268, 269, 271, 272, 273, 275, 276, 277, 279, 281, 288, 289, 290, 291, 292, 293, 294, 295, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 324, 325, 326, 327, 328, 329, 332, 336)
|
Run clang-format on crypto/libtomcrypt/src/hashes/sha2/sha224.c:
crypto/libtomcrypt/src/hashes/sha2/sha224.c#L1
File crypto/libtomcrypt/src/hashes/sha2/sha224.c does not conform to Custom style guidelines. (lines 41, 48, 49, 50, 51, 52, 53, 55, 56, 57, 59, 60, 61, 62, 63, 72, 73, 74, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 95, 96, 97, 98, 100, 101, 103, 105, 107, 114, 115, 116, 117, 118, 119, 120, 121, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 142, 143, 144, 145, 146, 147, 150)
|
Run clang-format on crypto/libtomcrypt/src/hashes/sha2/sha256.c:
crypto/libtomcrypt/src/hashes/sha2/sha256.c#L1
File crypto/libtomcrypt/src/hashes/sha2/sha256.c does not conform to Custom style guidelines. (lines 43, 46, 48, 49, 50, 51, 52, 53, 55, 56, 57, 59, 60, 61, 62, 63, 81, 86, 87, 88, 89, 90, 91, 92, 93, 97, 99, 101, 103, 105, 106, 108, 109, 110, 111, 113, 114, 115, 116, 118, 119, 120, 121, 124, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 208, 210, 212, 213, 214, 215, 220, 221, 222, 223, 224, 234, 235, 236, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 266, 267, 268, 270, 271, 273, 274, 275, 278, 279, 281, 282, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 296, 297, 298, 299, 301, 302, 303, 305, 306, 307, 309, 311, 318, 319, 320, 321, 322, 323, 324, 325, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 346, 347, 348, 349, 350, 351, 354, 358)
|
Run clang-format on crypto/libtomcrypt/src/hashes/helper/hash_file.c:
crypto/libtomcrypt/src/hashes/helper/hash_file.c#L1
File crypto/libtomcrypt/src/hashes/helper/hash_file.c does not conform to Custom style guidelines. (lines 42, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 66, 67, 68, 69, 71, 72, 73, 74, 78)
|
Run clang-format on crypto/libtomcrypt/src/hashes/helper/hash_filehandle.c:
crypto/libtomcrypt/src/hashes/helper/hash_filehandle.c#L1
File crypto/libtomcrypt/src/hashes/helper/hash_filehandle.c does not conform to Custom style guidelines. (lines 47, 48, 53, 55, 56, 57, 58, 59, 60, 62, 63, 64, 66, 67, 68, 70, 71, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 87, 89, 92)
|
Run clang-format on crypto/libtomcrypt/src/hashes/helper/hash_memory.c:
crypto/libtomcrypt/src/hashes/helper/hash_memory.c#L1
File crypto/libtomcrypt/src/hashes/helper/hash_memory.c does not conform to Custom style guidelines. (lines 55, 56, 57, 58, 60, 61, 62, 64, 65, 66, 68, 69, 70, 71, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 87, 89, 90)
|