id: 1 unit: int mbedtls_aes_self_test() file: Reference/RIoT/RIoTCrypt/aes.c start line: 1786 end line: 2205 size: 315 LOC McCabe index: 73 number of parameters: 1 id: 2 unit: int mbedtls_aes_self_test() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 1786 end line: 2205 size: 315 LOC McCabe index: 73 number of parameters: 1 id: 3 unit: int mbedtls_internal_sha1_process() file: Reference/RIoT/RIoTCrypt/sha1.c start line: 130 end line: 292 size: 143 LOC McCabe index: 2 number of parameters: 2 id: 4 unit: int mbedtls_internal_sha1_process() file: Simulation/RIoT/Core/RIoTCrypt/sha1.c start line: 130 end line: 292 size: 143 LOC McCabe index: 2 number of parameters: 2 id: 5 unit: static void Main() file: Tools/RIoT/Main.cs start line: 60 end line: 226 size: 143 LOC McCabe index: 21 number of parameters: 1 id: 6 unit: int mbedtls_mpi_exp_mod() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1926 end line: 2138 size: 129 LOC McCabe index: 33 number of parameters: 5 id: 7 unit: int mbedtls_mpi_exp_mod() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1926 end line: 2138 size: 129 LOC McCabe index: 33 number of parameters: 5 id: 8 unit: int mbedtls_mpi_self_test() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 2681 end line: 2837 size: 117 LOC McCabe index: 26 number of parameters: 1 id: 9 unit: int mbedtls_mpi_self_test() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 2681 end line: 2837 size: 117 LOC McCabe index: 26 number of parameters: 1 id: 10 unit: int main() file: Tools/TlsClient/TlsClient.cpp start line: 27 end line: 198 size: 108 LOC McCabe index: 16 number of parameters: 2 id: 11 unit: int mbedtls_ecp_self_test() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 3013 end line: 3135 size: 97 LOC McCabe index: 18 number of parameters: 1 id: 12 unit: int mbedtls_ecp_self_test() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 3013 end line: 3135 size: 97 LOC McCabe index: 18 number of parameters: 1 id: 13 unit: int mbedtls_mpi_div_mpi() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1629 end line: 1742 size: 94 LOC McCabe index: 17 number of parameters: 4 id: 14 unit: int mbedtls_mpi_div_mpi() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1629 end line: 1742 size: 94 LOC McCabe index: 17 number of parameters: 4 id: 15 unit: private async void Timer1_Tick() file: Tools/RIoTDemo/MainPage.cs start line: 140 end line: 256 size: 92 LOC McCabe index: 20 number of parameters: 2 id: 16 unit: int mbedtls_aes_setkey_enc() file: Reference/RIoT/RIoTCrypt/aes.c start line: 556 end line: 665 size: 91 LOC McCabe index: 17 number of parameters: 3 id: 17 unit: static int ecp_precompute_comb() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1691 end line: 1821 size: 91 LOC McCabe index: 28 number of parameters: 6 id: 18 unit: int mbedtls_aes_setkey_enc() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 556 end line: 665 size: 91 LOC McCabe index: 17 number of parameters: 3 id: 19 unit: static int ecp_precompute_comb() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1691 end line: 1821 size: 91 LOC McCabe index: 28 number of parameters: 6 id: 20 unit: static int ecdsa_sign_restartable() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 256 end line: 387 size: 90 LOC McCabe index: 18 number of parameters: 7 id: 21 unit: static int ecdsa_sign_restartable() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 256 end line: 387 size: 90 LOC McCabe index: 18 number of parameters: 7 id: 22 unit: static int ecp_mul_comb() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2080 end line: 2199 size: 85 LOC McCabe index: 20 number of parameters: 5 id: 23 unit: static int ecp_mul_comb() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2080 end line: 2199 size: 85 LOC McCabe index: 20 number of parameters: 5 id: 24 unit: int _tmain() file: Simulation/DICE/DiceCore.cpp start line: 32 end line: 177 size: 84 LOC McCabe index: 12 number of parameters: 2 id: 25 unit: static int ecdsa_sign_det_restartable() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 427 end line: 551 size: 81 LOC McCabe index: 9 number of parameters: 8 id: 26 unit: static int ecdsa_sign_det_restartable() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 427 end line: 551 size: 81 LOC McCabe index: 9 number of parameters: 8 id: 27 unit: int mbedtls_hkdf_expand() file: Reference/RIoT/RIoTCrypt/hkdf.c start line: 84 end line: 190 size: 79 LOC McCabe index: 15 number of parameters: 7 id: 28 unit: int mbedtls_hkdf_expand() file: Simulation/RIoT/Core/RIoTCrypt/hkdf.c start line: 84 end line: 190 size: 79 LOC McCabe index: 15 number of parameters: 7 id: 29 unit: static void Main() file: Tools/DICETest/Program.cs start line: 17 end line: 111 size: 78 LOC McCabe index: 16 number of parameters: 1 id: 30 unit: int mbedtls_mpi_gen_prime() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 2545 end line: 2663 size: 76 LOC McCabe index: 30 number of parameters: 4 id: 31 unit: int mbedtls_mpi_gen_prime() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 2545 end line: 2663 size: 76 LOC McCabe index: 30 number of parameters: 4 id: 32 unit: int mbedtls_mpi_inv_mod() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 2236 end line: 2329 size: 75 LOC McCabe index: 13 number of parameters: 3 id: 33 unit: int mbedtls_mpi_inv_mod() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 2236 end line: 2329 size: 75 LOC McCabe index: 13 number of parameters: 3 id: 34 unit: int mbedtls_ecp_muladd_restartable() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2566 end line: 2657 size: 74 LOC McCabe index: 17 number of parameters: 7 id: 35 unit: int mbedtls_ecp_group_load() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 754 end line: 842 size: 74 LOC McCabe index: 14 number of parameters: 2 id: 36 unit: int mbedtls_ecp_muladd_restartable() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2566 end line: 2657 size: 74 LOC McCabe index: 17 number of parameters: 7 id: 37 unit: int mbedtls_ecp_group_load() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 754 end line: 842 size: 74 LOC McCabe index: 14 number of parameters: 2 id: 38 unit: public static bool ValidateDeviceCertificate() file: Tools/RIoT/TLSServer.cs start line: 168 end line: 283 size: 68 LOC McCabe index: 11 number of parameters: 4 id: 39 unit: internal void MakeCertChain() file: Tools/RIoT/CertMaker.cs start line: 227 end line: 340 size: 67 LOC McCabe index: 5 number of parameters: 3 id: 40 unit: public static DeviceAuthBundle CreateDeviceAuthBundle() file: Pkgs/NuGet/DiceRiotEmulator/DiceRiotEmulator/RiotEngine.cs start line: 148 end line: 249 size: 66 LOC McCabe index: 5 number of parameters: 2 id: 41 unit: int mbedtls_aes_crypt_xts() file: Reference/RIoT/RIoTCrypt/aes.c start line: 1171 end line: 1275 size: 66 LOC McCabe index: 18 number of parameters: 6 id: 42 unit: int mbedtls_aes_crypt_xts() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 1171 end line: 1275 size: 66 LOC McCabe index: 18 number of parameters: 6 id: 43 unit: static int ecdsa_verify_restartable() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 599 end line: 702 size: 63 LOC McCabe index: 12 number of parameters: 7 id: 44 unit: static int ecdsa_verify_restartable() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 599 end line: 702 size: 63 LOC McCabe index: 12 number of parameters: 7 id: 45 unit: private async void MainPage_Paint() file: Tools/RIoTDemo/MainPage.cs start line: 53 end line: 135 size: 62 LOC McCabe index: 8 number of parameters: 2 id: 46 unit: int mbedtls_mpi_write_string() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 571 end line: 653 size: 61 LOC McCabe index: 14 number of parameters: 5 id: 47 unit: static void SHA256_Transform() file: Simulation/DICE/DiceSha256.c start line: 262 end line: 339 size: 61 LOC McCabe index: 3 number of parameters: 2 id: 48 unit: int mbedtls_mpi_write_string() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 571 end line: 653 size: 61 LOC McCabe index: 14 number of parameters: 5 id: 49 unit: static int ecp_add_mixed() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1433 end line: 1512 size: 60 LOC McCabe index: 9 number of parameters: 4 id: 50 unit: int mbedtls_sha256_self_test() file: Reference/RIoT/RIoTCrypt/sha256.c start line: 505 end line: 582 size: 60 LOC McCabe index: 15 number of parameters: 1 id: 51 unit: static int ecp_add_mixed() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1433 end line: 1512 size: 60 LOC McCabe index: 9 number of parameters: 4 id: 52 unit: int mbedtls_sha256_self_test() file: Simulation/RIoT/Core/RIoTCrypt/sha256.c start line: 505 end line: 582 size: 60 LOC McCabe index: 15 number of parameters: 1 id: 53 unit: static mbedtls_mpi_uint mbedtls_int_div_int() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1534 end line: 1624 size: 59 LOC McCabe index: 13 number of parameters: 4 id: 54 unit: static mbedtls_mpi_uint mbedtls_int_div_int() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1534 end line: 1624 size: 59 LOC McCabe index: 13 number of parameters: 4 id: 55 unit: static int mpi_miller_rabin() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 2394 end line: 2482 size: 58 LOC McCabe index: 13 number of parameters: 3 id: 56 unit: void mbedtls_md_free() file: Reference/RIoT/RIoTCrypt/md.c start line: 267 end line: 328 size: 58 LOC McCabe index: 14 number of parameters: 1 id: 57 unit: int mbedtls_md_setup() file: Reference/RIoT/RIoTCrypt/md.c start line: 402 end line: 463 size: 58 LOC McCabe index: 14 number of parameters: 3 id: 58 unit: static int mpi_miller_rabin() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 2394 end line: 2482 size: 58 LOC McCabe index: 13 number of parameters: 3 id: 59 unit: void mbedtls_md_free() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 267 end line: 328 size: 58 LOC McCabe index: 14 number of parameters: 1 id: 60 unit: int mbedtls_md_setup() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 402 end line: 463 size: 58 LOC McCabe index: 14 number of parameters: 3 id: 61 unit: int mbedtls_mpi_read_string() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 458 end line: 527 size: 56 LOC McCabe index: 11 number of parameters: 3 id: 62 unit: int mbedtls_ecp_point_write_binary() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 727 end line: 796 size: 56 LOC McCabe index: 11 number of parameters: 6 id: 63 unit: int mbedtls_mpi_read_string() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 458 end line: 527 size: 56 LOC McCabe index: 11 number of parameters: 3 id: 64 unit: int mbedtls_ecp_point_write_binary() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 727 end line: 796 size: 56 LOC McCabe index: 11 number of parameters: 6 id: 65 unit: internal DeviceBundle MakeAliasCert() file: Tools/RIoT/CertMaker.cs start line: 144 end line: 224 size: 56 LOC McCabe index: 2 number of parameters: 2 id: 66 unit: private static void ProcessClient() file: Tools/RIoT/TLSServer.cs start line: 66 end line: 133 size: 56 LOC McCabe index: 6 number of parameters: 2 id: 67 unit: static void aes_gen_tables() file: Reference/RIoT/RIoTCrypt/aes.c start line: 404 end line: 482 size: 55 LOC McCabe index: 5 number of parameters: 1 id: 68 unit: static void aes_gen_tables() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 404 end line: 482 size: 55 LOC McCabe index: 5 number of parameters: 1 id: 69 unit: static int ecp_double_jac() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1337 end line: 1413 size: 54 LOC McCabe index: 4 number of parameters: 3 id: 70 unit: static int ecp_double_jac() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1337 end line: 1413 size: 54 LOC McCabe index: 4 number of parameters: 3 id: 71 unit: int mbedtls_aes_crypt_cbc() file: Reference/RIoT/RIoTCrypt/aes.c start line: 1043 end line: 1109 size: 53 LOC McCabe index: 11 number of parameters: 6 id: 72 unit: static int ecp_mul_comb_core() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1858 end line: 1924 size: 53 LOC McCabe index: 12 number of parameters: 7 id: 73 unit: int mbedtls_md_clone() file: Reference/RIoT/RIoTCrypt/md.c start line: 330 end line: 384 size: 53 LOC McCabe index: 15 number of parameters: 2 id: 74 unit: int mbedtls_aes_crypt_cbc() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 1043 end line: 1109 size: 53 LOC McCabe index: 11 number of parameters: 6 id: 75 unit: static int ecp_mul_comb_core() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1858 end line: 1924 size: 53 LOC McCabe index: 12 number of parameters: 7 id: 76 unit: int mbedtls_md_clone() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 330 end line: 384 size: 53 LOC McCabe index: 15 number of parameters: 2 id: 77 unit: int mbedtls_aes_setkey_dec() file: Reference/RIoT/RIoTCrypt/aes.c start line: 672 end line: 737 size: 52 LOC McCabe index: 9 number of parameters: 3 id: 78 unit: void mpi_mul_hlp() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1411 end line: 1470 size: 52 LOC McCabe index: 7 number of parameters: 4 id: 79 unit: int mbedtls_aes_setkey_dec() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 672 end line: 737 size: 52 LOC McCabe index: 9 number of parameters: 3 id: 80 unit: void mpi_mul_hlp() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1411 end line: 1470 size: 52 LOC McCabe index: 7 number of parameters: 4 id: 81 unit: int mbedtls_internal_sha256_process() file: Reference/RIoT/RIoTCrypt/sha256.c start line: 201 end line: 260 size: 51 LOC McCabe index: 8 number of parameters: 2 id: 82 unit: int mbedtls_internal_sha256_process() file: Simulation/RIoT/Core/RIoTCrypt/sha256.c start line: 201 end line: 260 size: 51 LOC McCabe index: 8 number of parameters: 2 id: 83 unit: static int ecp_normalize_jac_many() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1214 end line: 1296 size: 50 LOC McCabe index: 10 number of parameters: 3 id: 84 unit: int mbedtls_sha1_self_test() file: Reference/RIoT/RIoTCrypt/sha1.c start line: 504 end line: 569 size: 50 LOC McCabe index: 13 number of parameters: 1 id: 85 unit: static int ecp_normalize_jac_many() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1214 end line: 1296 size: 50 LOC McCabe index: 10 number of parameters: 3 id: 86 unit: int mbedtls_sha1_self_test() file: Simulation/RIoT/Core/RIoTCrypt/sha1.c start line: 504 end line: 569 size: 50 LOC McCabe index: 13 number of parameters: 1 id: 87 unit: int mbedtls_ecdsa_read_signature_restartable() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 847 end line: 905 size: 49 LOC McCabe index: 8 number of parameters: 6 id: 88 unit: int mbedtls_ecp_mul_restartable() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2403 end line: 2464 size: 49 LOC McCabe index: 10 number of parameters: 5 id: 89 unit: int mbedtls_ecp_gen_privkey() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2759 end line: 2838 size: 49 LOC McCabe index: 9 number of parameters: 3 id: 90 unit: int mbedtls_ecdsa_read_signature_restartable() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 847 end line: 905 size: 49 LOC McCabe index: 8 number of parameters: 6 id: 91 unit: int mbedtls_ecp_mul_restartable() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2403 end line: 2464 size: 49 LOC McCabe index: 10 number of parameters: 5 id: 92 unit: int mbedtls_ecp_gen_privkey() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2759 end line: 2838 size: 49 LOC McCabe index: 9 number of parameters: 3 id: 93 unit: private void InitializeComponent() file: Tools/RIoTDemo/DeviceStatus.Designer.cs start line: 29 end line: 96 size: 49 LOC McCabe index: 1 number of parameters: 0 id: 94 unit: static int hmac_drbg_reseed_core() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 156 end line: 230 size: 48 LOC McCabe index: 10 number of parameters: 4 id: 95 unit: int mbedtls_hmac_drbg_random_with_add() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 328 end line: 394 size: 48 LOC McCabe index: 16 number of parameters: 5 id: 96 unit: static int hmac_drbg_reseed_core() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 156 end line: 230 size: 48 LOC McCabe index: 10 number of parameters: 4 id: 97 unit: int mbedtls_hmac_drbg_random_with_add() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 328 end line: 394 size: 48 LOC McCabe index: 16 number of parameters: 5 id: 98 unit: bool CheckDICEExtension() file: Tools/DICETest/CertChecker.cs start line: 387 end line: 442 size: 48 LOC McCabe index: 7 number of parameters: 1 id: 99 unit: bool CheckKeyUsage() file: Tools/DICETest/CertChecker.cs start line: 450 end line: 501 size: 48 LOC McCabe index: 10 number of parameters: 2 id: 100 unit: private static X509Certificate makeRootCert() file: Pkgs/Maven/DiceRIoTEmulator/src/main/java/com/microsoft/msr/RiotEmulator/RIoT.java start line: 340 end line: 409 size: 47 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: private static X509Certificate makeAliasCert() file: Pkgs/Maven/DiceRIoTEmulator/src/main/java/com/microsoft/msr/RiotEmulator/RIoT.java start line: 498 end line: 577 size: 47 LOC McCabe index: 1 number of parameters: 3 id: 102 unit: int mbedtls_ecp_point_read_binary() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 801 end line: 858 size: 47 LOC McCabe index: 10 number of parameters: 4 id: 103 unit: int mbedtls_ecp_point_read_binary() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 801 end line: 858 size: 47 LOC McCabe index: 10 number of parameters: 4 id: 104 unit: void print_san_name() file: Tools/TlsClient/TlsClient.cpp start line: 262 end line: 326 size: 47 LOC McCabe index: 18 number of parameters: 2 id: 105 unit: private static X509Certificate makeDeviceCert() file: Pkgs/Maven/DiceRIoTEmulator/src/main/java/com/microsoft/msr/RiotEmulator/RIoT.java start line: 429 end line: 496 size: 45 LOC McCabe index: 1 number of parameters: 3 id: 106 unit: int mbedtls_aes_crypt_cfb128() file: Reference/RIoT/RIoTCrypt/aes.c start line: 1282 end line: 1336 size: 45 LOC McCabe index: 8 number of parameters: 7 id: 107 unit: int mbedtls_ecp_read_key() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2899 end line: 2962 size: 45 LOC McCabe index: 7 number of parameters: 4 id: 108 unit: static inline int ecp_mod_koblitz() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 1353 end line: 1417 size: 45 LOC McCabe index: 10 number of parameters: 6 id: 109 unit: int mbedtls_aes_crypt_cfb128() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 1282 end line: 1336 size: 45 LOC McCabe index: 8 number of parameters: 7 id: 110 unit: int mbedtls_ecp_read_key() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2899 end line: 2962 size: 45 LOC McCabe index: 7 number of parameters: 4 id: 111 unit: static inline int ecp_mod_koblitz() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 1353 end line: 1417 size: 45 LOC McCabe index: 10 number of parameters: 6 id: 112 unit: void QueryFWStatus() file: Tools/RIoT/IoTDevice.cs start line: 65 end line: 114 size: 45 LOC McCabe index: 8 number of parameters: 0 id: 113 unit: internal static bool ValidateBareCertificate() file: Tools/RIoT/TLSServer.cs start line: 295 end line: 349 size: 44 LOC McCabe index: 7 number of parameters: 1 id: 114 unit: int mbedtls_internal_aes_encrypt() file: Reference/RIoT/RIoTCrypt/aes.c start line: 870 end line: 922 size: 43 LOC McCabe index: 2 number of parameters: 3 id: 115 unit: int mbedtls_internal_aes_decrypt() file: Reference/RIoT/RIoTCrypt/aes.c start line: 938 end line: 990 size: 43 LOC McCabe index: 2 number of parameters: 3 id: 116 unit: int mbedtls_md() file: Reference/RIoT/RIoTCrypt/md.c start line: 598 end line: 641 size: 43 LOC McCabe index: 11 number of parameters: 4 id: 117 unit: int mbedtls_internal_aes_encrypt() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 870 end line: 922 size: 43 LOC McCabe index: 2 number of parameters: 3 id: 118 unit: int mbedtls_internal_aes_decrypt() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 938 end line: 990 size: 43 LOC McCabe index: 2 number of parameters: 3 id: 119 unit: int mbedtls_md() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 598 end line: 641 size: 43 LOC McCabe index: 11 number of parameters: 4 id: 120 unit: private static CertBundle MakeCertInternal() file: Tools/RIoT/CertMaker.cs start line: 389 end line: 445 size: 43 LOC McCabe index: 4 number of parameters: 6 id: 121 unit: static internal RIoTDeviceInfo Decode() file: Tools/RIoT/ExtensionDecoder.cs start line: 41 end line: 113 size: 43 LOC McCabe index: 9 number of parameters: 1 id: 122 unit: static internal void DoDemo() file: Tools/RIoT/UpdateDemo.cs start line: 144 end line: 206 size: 43 LOC McCabe index: 5 number of parameters: 1 id: 123 unit: static int ecdh_make_params_internal() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 301 end line: 350 size: 42 LOC McCabe index: 7 number of parameters: 6 id: 124 unit: int mbedtls_ecdh_get_params() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 474 end line: 522 size: 42 LOC McCabe index: 8 number of parameters: 3 id: 125 unit: static int ecdh_calc_secret_internal() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 646 end line: 694 size: 42 LOC McCabe index: 8 number of parameters: 5 id: 126 unit: static int ecp_mul_comb_after_precomp() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1980 end line: 2028 size: 42 LOC McCabe index: 8 number of parameters: 8 id: 127 unit: int mbedtls_md_starts() file: Reference/RIoT/RIoTCrypt/md.c start line: 466 end line: 508 size: 42 LOC McCabe index: 12 number of parameters: 1 id: 128 unit: int mbedtls_md_update() file: Reference/RIoT/RIoTCrypt/md.c start line: 510 end line: 552 size: 42 LOC McCabe index: 12 number of parameters: 3 id: 129 unit: int mbedtls_md_finish() file: Reference/RIoT/RIoTCrypt/md.c start line: 554 end line: 596 size: 42 LOC McCabe index: 12 number of parameters: 2 id: 130 unit: int mbedtls_md_process() file: Reference/RIoT/RIoTCrypt/md.c start line: 807 end line: 849 size: 42 LOC McCabe index: 12 number of parameters: 2 id: 131 unit: static int ecdh_make_params_internal() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 301 end line: 350 size: 42 LOC McCabe index: 7 number of parameters: 6 id: 132 unit: int mbedtls_ecdh_get_params() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 474 end line: 522 size: 42 LOC McCabe index: 8 number of parameters: 3 id: 133 unit: static int ecdh_calc_secret_internal() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 646 end line: 694 size: 42 LOC McCabe index: 8 number of parameters: 5 id: 134 unit: static int ecp_mul_comb_after_precomp() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1980 end line: 2028 size: 42 LOC McCabe index: 8 number of parameters: 8 id: 135 unit: int mbedtls_md_starts() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 466 end line: 508 size: 42 LOC McCabe index: 12 number of parameters: 1 id: 136 unit: int mbedtls_md_update() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 510 end line: 552 size: 42 LOC McCabe index: 12 number of parameters: 3 id: 137 unit: int mbedtls_md_finish() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 554 end line: 596 size: 42 LOC McCabe index: 12 number of parameters: 2 id: 138 unit: int mbedtls_md_process() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 807 end line: 849 size: 42 LOC McCabe index: 12 number of parameters: 2 id: 139 unit: void RunDemo() file: Tools/RIoT/UpdateDemo.cs start line: 89 end line: 140 size: 42 LOC McCabe index: 8 number of parameters: 0 id: 140 unit: void DICE_SHA256_Final() file: Simulation/DICE/DiceSha256.c start line: 387 end line: 446 size: 41 LOC McCabe index: 6 number of parameters: 2 id: 141 unit: static bool ParseParms() file: Tools/RIoT/Main.cs start line: 247 end line: 288 size: 41 LOC McCabe index: 9 number of parameters: 1 id: 142 unit: int mbedtls_mpi_gcd() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 2143 end line: 2194 size: 39 LOC McCabe index: 4 number of parameters: 3 id: 143 unit: int mbedtls_hmac_drbg_update_ret() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 69 end line: 112 size: 39 LOC McCabe index: 13 number of parameters: 3 id: 144 unit: int mbedtls_hmac_drbg_self_test() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 565 end line: 621 size: 39 LOC McCabe index: 6 number of parameters: 1 id: 145 unit: int mbedtls_sha256_finish_ret() file: Reference/RIoT/RIoTCrypt/sha256.c start line: 336 end line: 397 size: 39 LOC McCabe index: 5 number of parameters: 2 id: 146 unit: int mbedtls_mpi_gcd() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 2143 end line: 2194 size: 39 LOC McCabe index: 4 number of parameters: 3 id: 147 unit: int mbedtls_hmac_drbg_update_ret() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 69 end line: 112 size: 39 LOC McCabe index: 13 number of parameters: 3 id: 148 unit: int mbedtls_hmac_drbg_self_test() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 565 end line: 621 size: 39 LOC McCabe index: 6 number of parameters: 1 id: 149 unit: int mbedtls_sha256_finish_ret() file: Simulation/RIoT/Core/RIoTCrypt/sha256.c start line: 336 end line: 397 size: 39 LOC McCabe index: 5 number of parameters: 2 id: 150 unit: internal bool CheckChain() file: Tools/DICETest/CertChecker.cs start line: 80 end line: 130 size: 39 LOC McCabe index: 6 number of parameters: 0 id: 151 unit: public static DeviceAuthBundle CreateDeviceAuthBundle() file: Pkgs/Maven/DiceRIoTEmulator/src/main/java/com/microsoft/msr/RiotEmulator/RIoT.java start line: 268 end line: 338 size: 38 LOC McCabe index: 4 number of parameters: 3 id: 152 unit: int mbedtls_mpi_add_abs() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1171 end line: 1225 size: 38 LOC McCabe index: 8 number of parameters: 3 id: 153 unit: static int ecp_double_add_mxz() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2294 end line: 2336 size: 38 LOC McCabe index: 2 number of parameters: 6 id: 154 unit: int mbedtls_mpi_add_abs() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1171 end line: 1225 size: 38 LOC McCabe index: 8 number of parameters: 3 id: 155 unit: static int ecp_double_add_mxz() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2294 end line: 2336 size: 38 LOC McCabe index: 2 number of parameters: 6 id: 156 unit: int mbedtls_ecdsa_write_signature_restartable() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 751 end line: 794 size: 37 LOC McCabe index: 1 number of parameters: 7 id: 157 unit: int mbedtls_md_hmac_starts() file: Reference/RIoT/RIoTCrypt/md.c start line: 684 end line: 729 size: 37 LOC McCabe index: 11 number of parameters: 3 id: 158 unit: int mbedtls_sha1_update_ret() file: Reference/RIoT/RIoTCrypt/sha1.c start line: 306 end line: 354 size: 37 LOC McCabe index: 10 number of parameters: 3 id: 159 unit: int mbedtls_sha256_update_ret() file: Reference/RIoT/RIoTCrypt/sha256.c start line: 274 end line: 322 size: 37 LOC McCabe index: 10 number of parameters: 3 id: 160 unit: int mbedtls_ecdsa_write_signature_restartable() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 751 end line: 794 size: 37 LOC McCabe index: 1 number of parameters: 7 id: 161 unit: int mbedtls_md_hmac_starts() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 684 end line: 729 size: 37 LOC McCabe index: 11 number of parameters: 3 id: 162 unit: int mbedtls_sha1_update_ret() file: Simulation/RIoT/Core/RIoTCrypt/sha1.c start line: 306 end line: 354 size: 37 LOC McCabe index: 10 number of parameters: 3 id: 163 unit: int mbedtls_sha256_update_ret() file: Simulation/RIoT/Core/RIoTCrypt/sha256.c start line: 274 end line: 322 size: 37 LOC McCabe index: 10 number of parameters: 3 id: 164 unit: int mbedtls_mpi_mod_int() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1792 end line: 1846 size: 36 LOC McCabe index: 8 number of parameters: 3 id: 165 unit: int mbedtls_ecdh_make_params() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 359 end line: 396 size: 36 LOC McCabe index: 3 number of parameters: 5 id: 166 unit: int mbedtls_mpi_mod_int() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1792 end line: 1846 size: 36 LOC McCabe index: 8 number of parameters: 3 id: 167 unit: int mbedtls_ecdh_make_params() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 359 end line: 396 size: 36 LOC McCabe index: 3 number of parameters: 5 id: 168 unit: internal bool CheckSigningLinkage() file: Tools/DICETest/CertChecker.cs start line: 234 end line: 272 size: 36 LOC McCabe index: 5 number of parameters: 0 id: 169 unit: public static void RunClientX() file: Tools/RIoT/TLSClient.cs start line: 24 end line: 77 size: 36 LOC McCabe index: 3 number of parameters: 0 id: 170 unit: int verify_callback() file: Tools/TlsClient/TlsClient.cpp start line: 328 end line: 375 size: 36 LOC McCabe index: 11 number of parameters: 2 id: 171 unit: int mbedtls_sha1_finish_ret() file: Reference/RIoT/RIoTCrypt/sha1.c start line: 368 end line: 424 size: 35 LOC McCabe index: 4 number of parameters: 2 id: 172 unit: int mbedtls_sha1_finish_ret() file: Simulation/RIoT/Core/RIoTCrypt/sha1.c start line: 368 end line: 424 size: 35 LOC McCabe index: 4 number of parameters: 2 id: 173 unit: internal bool FakeDRSServerHandshake() file: Tools/RIoT/TLSClient.cs start line: 79 end line: 144 size: 35 LOC McCabe index: 3 number of parameters: 1 id: 174 unit: public static void ValidateEmulatorChain() file: Tools/RIoT/TLSServer.cs start line: 471 end line: 513 size: 35 LOC McCabe index: 4 number of parameters: 3 id: 175 unit: int mbedtls_aes_crypt_ctr() file: Reference/RIoT/RIoTCrypt/aes.c start line: 1426 end line: 1467 size: 34 LOC McCabe index: 6 number of parameters: 7 id: 176 unit: int mbedtls_ecdh_make_public() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 565 end line: 600 size: 34 LOC McCabe index: 3 number of parameters: 5 id: 177 unit: static int ecp_mul_mxz() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2342 end line: 2396 size: 34 LOC McCabe index: 3 number of parameters: 5 id: 178 unit: static int ecp_mod_p448() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 1292 end line: 1338 size: 34 LOC McCabe index: 6 number of parameters: 1 id: 179 unit: void DICE_SHA256_Update() file: Simulation/DICE/DiceSha256.c start line: 341 end line: 385 size: 34 LOC McCabe index: 6 number of parameters: 3 id: 180 unit: int mbedtls_aes_crypt_ctr() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 1426 end line: 1467 size: 34 LOC McCabe index: 6 number of parameters: 7 id: 181 unit: int mbedtls_ecdh_make_public() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 565 end line: 600 size: 34 LOC McCabe index: 3 number of parameters: 5 id: 182 unit: static int ecp_mul_mxz() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2342 end line: 2396 size: 34 LOC McCabe index: 3 number of parameters: 5 id: 183 unit: static int ecp_mod_p448() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 1292 end line: 1338 size: 34 LOC McCabe index: 6 number of parameters: 1 id: 184 unit: static internal DecomposedCert Decompose() file: Tools/RIoT/ExtensionDecoder.cs start line: 135 end line: 174 size: 34 LOC McCabe index: 3 number of parameters: 1 id: 185 unit: internal void UpdateGUI() file: Tools/RIoTDemo/DeviceStatus.cs start line: 52 end line: 91 size: 34 LOC McCabe index: 6 number of parameters: 0 id: 186 unit: int mbedtls_ecdh_read_params() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 413 end line: 448 size: 33 LOC McCabe index: 5 number of parameters: 3 id: 187 unit: static int ecdh_make_public_internal() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 524 end line: 560 size: 33 LOC McCabe index: 5 number of parameters: 6 id: 188 unit: int mbedtls_ecdh_read_params() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 413 end line: 448 size: 33 LOC McCabe index: 5 number of parameters: 3 id: 189 unit: static int ecdh_make_public_internal() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 524 end line: 560 size: 33 LOC McCabe index: 5 number of parameters: 6 id: 190 unit: void AddRIoTExtension() file: Tools/RIoT/CertMaker.cs start line: 343 end line: 386 size: 33 LOC McCabe index: 1 number of parameters: 3 id: 191 unit: private void InitializeComponent() file: Tools/RIoTDemo/MainPage.Designer.cs start line: 29 end line: 71 size: 33 LOC McCabe index: 1 number of parameters: 0 id: 192 unit: int mbedtls_aes_crypt_ofb() file: Reference/RIoT/RIoTCrypt/aes.c start line: 1381 end line: 1419 size: 32 LOC McCabe index: 5 number of parameters: 6 id: 193 unit: int mbedtls_mpi_shift_l() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 992 end line: 1038 size: 32 LOC McCabe index: 7 number of parameters: 2 id: 194 unit: int mbedtls_ecdh_calc_secret() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 699 end line: 732 size: 32 LOC McCabe index: 3 number of parameters: 5 id: 195 unit: FW_API void FirmwareEntry() file: Simulation/FW/Loader.cpp start line: 11 end line: 47 size: 32 LOC McCabe index: 2 number of parameters: 6 id: 196 unit: int mbedtls_aes_crypt_ofb() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 1381 end line: 1419 size: 32 LOC McCabe index: 5 number of parameters: 6 id: 197 unit: int mbedtls_mpi_shift_l() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 992 end line: 1038 size: 32 LOC McCabe index: 7 number of parameters: 2 id: 198 unit: int mbedtls_ecdh_calc_secret() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 699 end line: 732 size: 32 LOC McCabe index: 3 number of parameters: 5 id: 199 unit: static mbedtls_mpi_uint mpi_uint_bigendian_to_host() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 757 end line: 798 size: 31 LOC McCabe index: 6 number of parameters: 1 id: 200 unit: static int ecp_randomize_jac() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1521 end line: 1565 size: 31 LOC McCabe index: 5 number of parameters: 3 id: 201 unit: int mbedtls_ecp_check_pub_priv() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2967 end line: 3006 size: 31 LOC McCabe index: 9 number of parameters: 2 id: 202 unit: int mbedtls_hmac_drbg_seed() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 247 end line: 297 size: 31 LOC McCabe index: 7 number of parameters: 3 id: 203 unit: int mbedtls_hmac_drbg_update_seed_file() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 462 end line: 496 size: 31 LOC McCabe index: 7 number of parameters: 2 id: 204 unit: int mbedtls_sha256_starts_ret() file: Reference/RIoT/RIoTCrypt/sha256.c start line: 108 end line: 144 size: 31 LOC McCabe index: 3 number of parameters: 2 id: 205 unit: static mbedtls_mpi_uint mpi_uint_bigendian_to_host() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 757 end line: 798 size: 31 LOC McCabe index: 6 number of parameters: 1 id: 206 unit: static int ecp_randomize_jac() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1521 end line: 1565 size: 31 LOC McCabe index: 5 number of parameters: 3 id: 207 unit: int mbedtls_ecp_check_pub_priv() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2967 end line: 3006 size: 31 LOC McCabe index: 9 number of parameters: 2 id: 208 unit: int mbedtls_hmac_drbg_seed() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 247 end line: 297 size: 31 LOC McCabe index: 7 number of parameters: 3 id: 209 unit: int mbedtls_hmac_drbg_update_seed_file() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 462 end line: 496 size: 31 LOC McCabe index: 7 number of parameters: 2 id: 210 unit: int mbedtls_sha256_starts_ret() file: Simulation/RIoT/Core/RIoTCrypt/sha256.c start line: 108 end line: 144 size: 31 LOC McCabe index: 3 number of parameters: 2 id: 211 unit: internal static bool ValidateBareCertificateWithBcrypt() file: Tools/RIoT/TLSServer.cs start line: 351 end line: 395 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 212 unit: int mbedtls_mpi_copy() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 191 end line: 228 size: 30 LOC McCabe index: 6 number of parameters: 2 id: 213 unit: int mbedtls_mpi_write_binary() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 946 end line: 987 size: 30 LOC McCabe index: 6 number of parameters: 3 id: 214 unit: static int ecp_mod_p384() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 1113 end line: 1155 size: 30 LOC McCabe index: 1 number of parameters: 1 id: 215 unit: int mbedtls_mpi_copy() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 191 end line: 228 size: 30 LOC McCabe index: 6 number of parameters: 2 id: 216 unit: int mbedtls_mpi_write_binary() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 946 end line: 987 size: 30 LOC McCabe index: 6 number of parameters: 3 id: 217 unit: static int ecp_mod_p384() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 1113 end line: 1155 size: 30 LOC McCabe index: 1 number of parameters: 1 id: 218 unit: static void Main() file: Pkgs/NuGet/DiceRiotTst/drtester/Program.cs start line: 15 end line: 51 size: 29 LOC McCabe index: 1 number of parameters: 1 id: 219 unit: int mbedtls_ecp_check_privkey() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2719 end line: 2754 size: 29 LOC McCabe index: 10 number of parameters: 2 id: 220 unit: int mbedtls_md_file() file: Reference/RIoT/RIoTCrypt/md.c start line: 644 end line: 681 size: 29 LOC McCabe index: 8 number of parameters: 3 id: 221 unit: int mbedtls_ecp_check_privkey() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2719 end line: 2754 size: 29 LOC McCabe index: 10 number of parameters: 2 id: 222 unit: int mbedtls_md_file() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 644 end line: 681 size: 29 LOC McCabe index: 8 number of parameters: 3 id: 223 unit: bool CheckExtendedKeyUsage() file: Tools/DICETest/CertChecker.cs start line: 509 end line: 538 size: 29 LOC McCabe index: 7 number of parameters: 2 id: 224 unit: public static bool CheckChain() file: Tools/DICETest/ChainChecker.cs start line: 15 end line: 57 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 225 unit: internal Device EnrollDevice() file: Tools/RIoT/HubControl.cs start line: 79 end line: 111 size: 29 LOC McCabe index: 3 number of parameters: 4 id: 226 unit: int mbedtls_aes_crypt_cfb8() file: Reference/RIoT/RIoTCrypt/aes.c start line: 1341 end line: 1374 size: 28 LOC McCabe index: 5 number of parameters: 6 id: 227 unit: int mbedtls_mpi_shift_r() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1043 end line: 1082 size: 28 LOC McCabe index: 9 number of parameters: 2 id: 228 unit: int mbedtls_mpi_sub_abs() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1251 end line: 1292 size: 28 LOC McCabe index: 6 number of parameters: 3 id: 229 unit: int mbedtls_mpi_add_mpi() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1297 end line: 1327 size: 28 LOC McCabe index: 3 number of parameters: 3 id: 230 unit: int mbedtls_mpi_sub_mpi() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1332 end line: 1362 size: 28 LOC McCabe index: 3 number of parameters: 3 id: 231 unit: void mbedtls_ecdh_free() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 270 end line: 299 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 232 unit: static int ecp_randomize_mxz() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2241 end line: 2277 size: 28 LOC McCabe index: 5 number of parameters: 3 id: 233 unit: static int ecp_check_pubkey_sw() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2485 end line: 2527 size: 28 LOC McCabe index: 7 number of parameters: 2 id: 234 unit: int mbedtls_aes_crypt_cfb8() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 1341 end line: 1374 size: 28 LOC McCabe index: 5 number of parameters: 6 id: 235 unit: int mbedtls_mpi_shift_r() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1043 end line: 1082 size: 28 LOC McCabe index: 9 number of parameters: 2 id: 236 unit: int mbedtls_mpi_sub_abs() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1251 end line: 1292 size: 28 LOC McCabe index: 6 number of parameters: 3 id: 237 unit: int mbedtls_mpi_add_mpi() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1297 end line: 1327 size: 28 LOC McCabe index: 3 number of parameters: 3 id: 238 unit: int mbedtls_mpi_sub_mpi() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1332 end line: 1362 size: 28 LOC McCabe index: 3 number of parameters: 3 id: 239 unit: void mbedtls_ecdh_free() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 270 end line: 299 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 240 unit: static int ecp_randomize_mxz() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2241 end line: 2277 size: 28 LOC McCabe index: 5 number of parameters: 3 id: 241 unit: static int ecp_check_pubkey_sw() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2485 end line: 2527 size: 28 LOC McCabe index: 7 number of parameters: 2 id: 242 unit: static internal void StartListener() file: Tools/RIoT/HttpsListener.cs start line: 15 end line: 87 size: 28 LOC McCabe index: 1 number of parameters: 5 id: 243 unit: int mbedtls_mpi_shrink() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 151 end line: 186 size: 27 LOC McCabe index: 8 number of parameters: 2 id: 244 unit: int mbedtls_mpi_write_binary_le() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 907 end line: 941 size: 27 LOC McCabe index: 6 number of parameters: 3 id: 245 unit: int mbedtls_mpi_shrink() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 151 end line: 186 size: 27 LOC McCabe index: 8 number of parameters: 2 id: 246 unit: int mbedtls_mpi_write_binary_le() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 907 end line: 941 size: 27 LOC McCabe index: 6 number of parameters: 3 id: 247 unit: internal bool CheckSubjectIssuerLinkage() file: Tools/DICETest/CertChecker.cs start line: 201 end line: 228 size: 27 LOC McCabe index: 6 number of parameters: 0 id: 248 unit: private static string ReadMessage() file: Tools/RIoT/TLSClient.cs start line: 151 end line: 180 size: 27 LOC McCabe index: 4 number of parameters: 1 id: 249 unit: internal static string ReadMessage() file: Tools/RIoT/TLSServer.cs start line: 443 end line: 469 size: 27 LOC McCabe index: 5 number of parameters: 1 id: 250 unit: private static X509Certificate CreateAliasCert() file: Pkgs/NuGet/DiceRiotEmulator/DiceRiotEmulator/RiotEngine.cs start line: 366 end line: 397 size: 26 LOC McCabe index: 1 number of parameters: 4 id: 251 unit: int mbedtls_aes_crypt_ecb() file: Reference/RIoT/RIoTCrypt/aes.c start line: 1005 end line: 1037 size: 26 LOC McCabe index: 8 number of parameters: 4 id: 252 unit: static int mpi_write_hlp() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 532 end line: 566 size: 26 LOC McCabe index: 4 number of parameters: 4 id: 253 unit: int mbedtls_mpi_write_file() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 698 end line: 735 size: 26 LOC McCabe index: 6 number of parameters: 4 id: 254 unit: int mbedtls_mpi_mul_mpi() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1475 end line: 1510 size: 26 LOC McCabe index: 8 number of parameters: 3 id: 255 unit: static int mpi_montmul() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1868 end line: 1906 size: 26 LOC McCabe index: 5 number of parameters: 5 id: 256 unit: static int ecp_use_curve448() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 709 end line: 748 size: 26 LOC McCabe index: 2 number of parameters: 1 id: 257 unit: static void GetRootKey() file: Reference/RIoTEmulator.c start line: 398 end line: 433 size: 26 LOC McCabe index: 1 number of parameters: 2 id: 258 unit: int mbedtls_aes_crypt_ecb() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 1005 end line: 1037 size: 26 LOC McCabe index: 8 number of parameters: 4 id: 259 unit: static int mpi_write_hlp() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 532 end line: 566 size: 26 LOC McCabe index: 4 number of parameters: 4 id: 260 unit: int mbedtls_mpi_write_file() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 698 end line: 735 size: 26 LOC McCabe index: 6 number of parameters: 4 id: 261 unit: int mbedtls_mpi_mul_mpi() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1475 end line: 1510 size: 26 LOC McCabe index: 8 number of parameters: 3 id: 262 unit: static int mpi_montmul() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1868 end line: 1906 size: 26 LOC McCabe index: 5 number of parameters: 5 id: 263 unit: static int ecp_use_curve448() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 709 end line: 748 size: 26 LOC McCabe index: 2 number of parameters: 1 id: 264 unit: internal bool CheckPopCert() file: Tools/DICETest/CertChecker.cs start line: 169 end line: 195 size: 26 LOC McCabe index: 4 number of parameters: 1 id: 265 unit: internal bool CheckAuthKeyIdentifierLinkage() file: Tools/DICETest/CertChecker.cs start line: 279 end line: 306 size: 26 LOC McCabe index: 5 number of parameters: 0 id: 266 unit: internal bool CheckCaAndPathLengthConstraint() file: Tools/DICETest/CertChecker.cs start line: 312 end line: 338 size: 26 LOC McCabe index: 5 number of parameters: 0 id: 267 unit: internal bool SendMessages() file: Tools/RIoT/IoTDevice.cs start line: 116 end line: 143 size: 26 LOC McCabe index: 4 number of parameters: 2 id: 268 unit: internal static void RunServer() file: Tools/RIoT/TLSServer.cs start line: 35 end line: 65 size: 26 LOC McCabe index: 4 number of parameters: 5 id: 269 unit: void UpdateDevicePanes() file: Tools/RIoTDemo/MainPage.cs start line: 258 end line: 288 size: 26 LOC McCabe index: 4 number of parameters: 0 id: 270 unit: static int mbedtls_ecp_mul_shortcuts() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2534 end line: 2560 size: 25 LOC McCabe index: 4 number of parameters: 5 id: 271 unit: static int ecp_mod_p255() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 1235 end line: 1267 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 272 unit: static int mbedtls_ecp_mul_shortcuts() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2534 end line: 2560 size: 25 LOC McCabe index: 4 number of parameters: 5 id: 273 unit: static int ecp_mod_p255() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 1235 end line: 1267 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 274 unit: private static X509Certificate CreateDeviceCert() file: Pkgs/NuGet/DiceRiotEmulator/DiceRiotEmulator/RiotEngine.cs start line: 292 end line: 321 size: 24 LOC McCabe index: 1 number of parameters: 3 id: 275 unit: int mbedtls_mpi_safe_cond_swap() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 279 end line: 310 size: 24 LOC McCabe index: 3 number of parameters: 3 id: 276 unit: int mbedtls_mpi_read_file() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 659 end line: 693 size: 24 LOC McCabe index: 10 number of parameters: 3 id: 277 unit: int mbedtls_mpi_read_binary() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 865 end line: 902 size: 24 LOC McCabe index: 4 number of parameters: 3 id: 278 unit: int mbedtls_mpi_cmp_mpi() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1119 end line: 1149 size: 24 LOC McCabe index: 16 number of parameters: 2 id: 279 unit: int mbedtls_mpi_is_prime_ext() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 2487 end line: 2516 size: 24 LOC McCabe index: 6 number of parameters: 3 id: 280 unit: int mbedtls_ecdh_setup() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 216 end line: 240 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 281 unit: int mbedtls_mpi_safe_cond_swap() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 279 end line: 310 size: 24 LOC McCabe index: 3 number of parameters: 3 id: 282 unit: int mbedtls_mpi_read_file() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 659 end line: 693 size: 24 LOC McCabe index: 10 number of parameters: 3 id: 283 unit: int mbedtls_mpi_read_binary() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 865 end line: 902 size: 24 LOC McCabe index: 4 number of parameters: 3 id: 284 unit: int mbedtls_mpi_cmp_mpi() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1119 end line: 1149 size: 24 LOC McCabe index: 16 number of parameters: 2 id: 285 unit: int mbedtls_mpi_is_prime_ext() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 2487 end line: 2516 size: 24 LOC McCabe index: 6 number of parameters: 3 id: 286 unit: int mbedtls_ecdh_setup() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 216 end line: 240 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 287 unit: internal static bool CheckCSR() file: Tools/DICETest/CertChecker.cs start line: 137 end line: 161 size: 24 LOC McCabe index: 3 number of parameters: 1 id: 288 unit: int mbedtls_mpi_fill_random() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 2203 end line: 2231 size: 23 LOC McCabe index: 2 number of parameters: 3 id: 289 unit: int mbedtls_ecdh_read_public() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 621 end line: 644 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 290 unit: static int ecp_comb_recode_scalar() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1938 end line: 1971 size: 23 LOC McCabe index: 2 number of parameters: 6 id: 291 unit: int mbedtls_hkdf_extract() file: Reference/RIoT/RIoTCrypt/hkdf.c start line: 54 end line: 82 size: 23 LOC McCabe index: 4 number of parameters: 6 id: 292 unit: int mbedtls_mpi_fill_random() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 2203 end line: 2231 size: 23 LOC McCabe index: 2 number of parameters: 3 id: 293 unit: int mbedtls_ecdh_read_public() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 621 end line: 644 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 294 unit: static int ecp_comb_recode_scalar() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1938 end line: 1971 size: 23 LOC McCabe index: 2 number of parameters: 6 id: 295 unit: int mbedtls_hkdf_extract() file: Simulation/RIoT/Core/RIoTCrypt/hkdf.c start line: 54 end line: 82 size: 23 LOC McCabe index: 4 number of parameters: 6 id: 296 unit: internal bool SetCerts() file: Tools/DICETest/CertChecker.cs start line: 47 end line: 70 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 297 unit: private async void button1_Click() file: Tools/RIoTDemo/MainPage.cs start line: 308 end line: 350 size: 23 LOC McCabe index: 3 number of parameters: 2 id: 298 unit: void print_cn_name() file: Tools/TlsClient/TlsClient.cpp start line: 229 end line: 260 size: 23 LOC McCabe index: 10 number of parameters: 2 id: 299 unit: int mbedtls_mpi_cmp_abs() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1087 end line: 1114 size: 22 LOC McCabe index: 12 number of parameters: 2 id: 300 unit: static int ecdh_compute_shared_restartable() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 117 end line: 144 size: 22 LOC McCabe index: 2 number of parameters: 5 id: 301 unit: static int ecp_mod_p256() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 1076 end line: 1106 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 302 unit: static int ecp_mod_p521() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 1186 end line: 1218 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 303 unit: int mbedtls_md_hmac() file: Reference/RIoT/RIoTCrypt/md.c start line: 778 end line: 805 size: 22 LOC McCabe index: 6 number of parameters: 6 id: 304 unit: int mbedtls_mpi_cmp_abs() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1087 end line: 1114 size: 22 LOC McCabe index: 12 number of parameters: 2 id: 305 unit: static int ecdh_compute_shared_restartable() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 117 end line: 144 size: 22 LOC McCabe index: 2 number of parameters: 5 id: 306 unit: static int ecp_mod_p256() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 1076 end line: 1106 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 307 unit: static int ecp_mod_p521() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 1186 end line: 1218 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 308 unit: int mbedtls_md_hmac() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 778 end line: 805 size: 22 LOC McCabe index: 6 number of parameters: 6 id: 309 unit: private static Pkcs10CertificationRequest CreateCsr() file: Pkgs/NuGet/DiceRiotEmulator/DiceRiotEmulator/RiotEngine.cs start line: 405 end line: 431 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 310 unit: static int mbedtls_aes_xts_decode_keys() file: Reference/RIoT/RIoTCrypt/aes.c start line: 740 end line: 763 size: 21 LOC McCabe index: 3 number of parameters: 6 id: 311 unit: int mbedtls_mpi_grow() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 120 end line: 145 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 312 unit: int mbedtls_ecp_check_budget() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 274 end line: 305 size: 21 LOC McCabe index: 8 number of parameters: 3 id: 313 unit: void mbedtls_ecp_group_free() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 593 end line: 617 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 314 unit: static int ecp_normalize_jac() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1163 end line: 1201 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 315 unit: static void ecp_comb_recode_core() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1627 end line: 1655 size: 21 LOC McCabe index: 4 number of parameters: 4 id: 316 unit: static int ecp_group_load() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 584 end line: 608 size: 21 LOC McCabe index: 2 number of parameters: 13 id: 317 unit: int mbedtls_sha256_ret() file: Reference/RIoT/RIoTCrypt/sha256.c start line: 412 end line: 439 size: 21 LOC McCabe index: 6 number of parameters: 4 id: 318 unit: static int mbedtls_aes_xts_decode_keys() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 740 end line: 763 size: 21 LOC McCabe index: 3 number of parameters: 6 id: 319 unit: int mbedtls_mpi_grow() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 120 end line: 145 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 320 unit: int mbedtls_ecp_check_budget() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 274 end line: 305 size: 21 LOC McCabe index: 8 number of parameters: 3 id: 321 unit: void mbedtls_ecp_group_free() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 593 end line: 617 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 322 unit: static int ecp_normalize_jac() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1163 end line: 1201 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 323 unit: static void ecp_comb_recode_core() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1627 end line: 1655 size: 21 LOC McCabe index: 4 number of parameters: 4 id: 324 unit: static int ecp_group_load() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 584 end line: 608 size: 21 LOC McCabe index: 2 number of parameters: 13 id: 325 unit: int mbedtls_sha256_ret() file: Simulation/RIoT/Core/RIoTCrypt/sha256.c start line: 412 end line: 439 size: 21 LOC McCabe index: 6 number of parameters: 4 id: 326 unit: internal void CertifyExistingFromCsr() file: Tools/RIoT/CertMaker.cs start line: 99 end line: 129 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 327 unit: internal bool Connect() file: Tools/RIoT/HubControl.cs start line: 33 end line: 53 size: 21 LOC McCabe index: 3 number of parameters: 0 id: 328 unit: private static X509Certificate CreateRootCert() file: Pkgs/NuGet/DiceRiotEmulator/DiceRiotEmulator/RiotEngine.cs start line: 257 end line: 282 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 329 unit: private static X509Certificate CreateSelfSignedDeviceCert() file: Pkgs/NuGet/DiceRiotEmulator/DiceRiotEmulator/RiotEngine.cs start line: 330 end line: 355 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 330 unit: private static DerSequence CreateRIoTExtension() file: Pkgs/NuGet/DiceRiotEmulator/DiceRiotEmulator/RiotEngine.cs start line: 497 end line: 532 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 331 unit: int mbedtls_ecp_tls_write_point() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 902 end line: 931 size: 20 LOC McCabe index: 4 number of parameters: 6 id: 332 unit: int mbedtls_ecp_tls_read_group_id() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 955 end line: 989 size: 20 LOC McCabe index: 4 number of parameters: 3 id: 333 unit: static int ecp_use_curve25519() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 670 end line: 702 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 334 unit: int mbedtls_hmac_drbg_write_seed_file() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 435 end line: 460 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 335 unit: int mbedtls_md_hmac_finish() file: Reference/RIoT/RIoTCrypt/md.c start line: 739 end line: 761 size: 20 LOC McCabe index: 8 number of parameters: 2 id: 336 unit: int mbedtls_ecp_tls_write_point() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 902 end line: 931 size: 20 LOC McCabe index: 4 number of parameters: 6 id: 337 unit: int mbedtls_ecp_tls_read_group_id() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 955 end line: 989 size: 20 LOC McCabe index: 4 number of parameters: 3 id: 338 unit: static int ecp_use_curve25519() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 670 end line: 702 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 339 unit: int mbedtls_hmac_drbg_write_seed_file() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 435 end line: 460 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 340 unit: int mbedtls_md_hmac_finish() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 739 end line: 761 size: 20 LOC McCabe index: 8 number of parameters: 2 id: 341 unit: bool CheckCertFields() file: Tools/DICETest/CertChecker.cs start line: 346 end line: 369 size: 20 LOC McCabe index: 3 number of parameters: 2 id: 342 unit: internal static void MakePFXFile() file: Tools/RIoT/Helpers.cs start line: 93 end line: 118 size: 20 LOC McCabe index: 2 number of parameters: 4 id: 343 unit: static void InitParms() file: Tools/RIoT/Main.cs start line: 227 end line: 246 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 344 unit: int mbedtls_mpi_set_bit() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 351 end line: 375 size: 19 LOC McCabe index: 5 number of parameters: 3 id: 345 unit: void mbedtls_ecp_group_init() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 544 end line: 563 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 346 unit: int mbedtls_ecp_tls_read_point() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 866 end line: 894 size: 19 LOC McCabe index: 3 number of parameters: 4 id: 347 unit: int mbedtls_sha1_ret() file: Reference/RIoT/RIoTCrypt/sha1.c start line: 439 end line: 464 size: 19 LOC McCabe index: 5 number of parameters: 3 id: 348 unit: int mbedtls_mpi_set_bit() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 351 end line: 375 size: 19 LOC McCabe index: 5 number of parameters: 3 id: 349 unit: void mbedtls_ecp_group_init() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 544 end line: 563 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 350 unit: int mbedtls_ecp_tls_read_point() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 866 end line: 894 size: 19 LOC McCabe index: 3 number of parameters: 4 id: 351 unit: int mbedtls_sha1_ret() file: Simulation/RIoT/Core/RIoTCrypt/sha1.c start line: 439 end line: 464 size: 19 LOC McCabe index: 5 number of parameters: 3 id: 352 unit: private int GetDEREncodedInt() file: Tools/RIoT/ExtensionDecoder2.cs start line: 91 end line: 113 size: 19 LOC McCabe index: 8 number of parameters: 0 id: 353 unit: private static string ReadMessageX() file: Tools/RIoT/TLSServer.cs start line: 135 end line: 154 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 354 unit: static void ProcessFakeDRSMessage() file: Tools/RIoT/TLSServer.cs start line: 398 end line: 423 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 355 unit: int mbedtls_aes_xts_setkey_enc() file: Reference/RIoT/RIoTCrypt/aes.c start line: 765 end line: 788 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 356 unit: int mbedtls_aes_xts_setkey_dec() file: Reference/RIoT/RIoTCrypt/aes.c start line: 790 end line: 813 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 357 unit: int mbedtls_mpi_read_binary_le() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 832 end line: 860 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 358 unit: static int mpi_check_small_factors() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 2367 end line: 2389 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 359 unit: static int ecp_modp() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1032 end line: 1058 size: 18 LOC McCabe index: 8 number of parameters: 2 id: 360 unit: int mbedtls_aes_xts_setkey_enc() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 765 end line: 788 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 361 unit: int mbedtls_aes_xts_setkey_dec() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 790 end line: 813 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 362 unit: int mbedtls_mpi_read_binary_le() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 832 end line: 860 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 363 unit: static int mpi_check_small_factors() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 2367 end line: 2389 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 364 unit: static int ecp_modp() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1032 end line: 1058 size: 18 LOC McCabe index: 8 number of parameters: 2 id: 365 unit: bool CheckSerialNumber() file: Tools/DICETest/CertChecker.cs start line: 569 end line: 587 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 366 unit: internal bool RefreshDevice() file: Tools/RIoT/HubControl.cs start line: 113 end line: 132 size: 18 LOC McCabe index: 2 number of parameters: 5 id: 367 unit: void mbedtls_ecdh_init() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 179 end line: 197 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 368 unit: int mbedtls_ecdsa_sign_det_ext() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 574 end line: 591 size: 17 LOC McCabe index: 2 number of parameters: 8 id: 369 unit: void mbedtls_ecdsa_restart_free() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 988 end line: 1008 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 370 unit: int mbedtls_ecp_tls_write_group() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 994 end line: 1024 size: 17 LOC McCabe index: 3 number of parameters: 4 id: 371 unit: int mbedtls_ecp_check_pubkey() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2695 end line: 2714 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 372 unit: int mbedtls_ecp_gen_keypair_base() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2843 end line: 2861 size: 17 LOC McCabe index: 1 number of parameters: 5 id: 373 unit: BOOL APIENTRY DllMain() file: Simulation/FW/dllmain.cpp start line: 7 end line: 23 size: 17 LOC McCabe index: 5 number of parameters: 3 id: 374 unit: void mbedtls_ecdh_init() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 179 end line: 197 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 375 unit: int mbedtls_ecdsa_sign_det_ext() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 574 end line: 591 size: 17 LOC McCabe index: 2 number of parameters: 8 id: 376 unit: void mbedtls_ecdsa_restart_free() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 988 end line: 1008 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 377 unit: int mbedtls_ecp_tls_write_group() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 994 end line: 1024 size: 17 LOC McCabe index: 3 number of parameters: 4 id: 378 unit: int mbedtls_ecp_check_pubkey() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2695 end line: 2714 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 379 unit: int mbedtls_ecp_gen_keypair_base() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2843 end line: 2861 size: 17 LOC McCabe index: 1 number of parameters: 5 id: 380 unit: BOOL APIENTRY DllMain() file: Simulation/RIoT/Core/dllmain.cpp start line: 7 end line: 23 size: 17 LOC McCabe index: 5 number of parameters: 3 id: 381 unit: bool CheckValidityDates() file: Tools/DICETest/CertChecker.cs start line: 545 end line: 562 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 382 unit: internal bool RemoveDevice() file: Tools/RIoT/HubControl.cs start line: 156 end line: 176 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 383 unit: int mbedtls_mpi_safe_cond_assign() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 249 end line: 271 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 384 unit: static void mpi_bigendian_to_host() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 800 end line: 827 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 385 unit: int mbedtls_mpi_mod_mpi() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1766 end line: 1787 size: 16 LOC McCabe index: 4 number of parameters: 3 id: 386 unit: static int ecdh_gen_public_restartable() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 77 end line: 96 size: 16 LOC McCabe index: 3 number of parameters: 4 id: 387 unit: static int ecdsa_signature_to_asn1() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 727 end line: 746 size: 16 LOC McCabe index: 1 number of parameters: 4 id: 388 unit: static int ecp_select_comb() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1828 end line: 1850 size: 16 LOC McCabe index: 2 number of parameters: 5 id: 389 unit: static inline int fix_negative() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 1028 end line: 1049 size: 16 LOC McCabe index: 2 number of parameters: 4 id: 390 unit: int mbedtls_hkdf() file: Reference/RIoT/RIoTCrypt/hkdf.c start line: 33 end line: 52 size: 16 LOC McCabe index: 2 number of parameters: 9 id: 391 unit: int mbedtls_mpi_safe_cond_assign() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 249 end line: 271 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 392 unit: static void mpi_bigendian_to_host() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 800 end line: 827 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 393 unit: int mbedtls_mpi_mod_mpi() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1766 end line: 1787 size: 16 LOC McCabe index: 4 number of parameters: 3 id: 394 unit: static int ecdh_gen_public_restartable() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 77 end line: 96 size: 16 LOC McCabe index: 3 number of parameters: 4 id: 395 unit: static int ecdsa_signature_to_asn1() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 727 end line: 746 size: 16 LOC McCabe index: 1 number of parameters: 4 id: 396 unit: static int ecp_select_comb() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1828 end line: 1850 size: 16 LOC McCabe index: 2 number of parameters: 5 id: 397 unit: static inline int fix_negative() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 1028 end line: 1049 size: 16 LOC McCabe index: 2 number of parameters: 4 id: 398 unit: int mbedtls_hkdf() file: Simulation/RIoT/Core/RIoTCrypt/hkdf.c start line: 33 end line: 52 size: 16 LOC McCabe index: 2 number of parameters: 9 id: 399 unit: static string KeyUsageFlagToString() file: Tools/DICETest/CertChecker.cs start line: 608 end line: 623 size: 16 LOC McCabe index: 10 number of parameters: 1 id: 400 unit: internal static void DeleteCertsByIssuer() file: Tools/RIoT/Helpers.cs start line: 189 end line: 207 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 401 unit: internal static void SendMessage() file: Tools/RIoT/TLSServer.cs start line: 425 end line: 440 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 402 unit: private static DERSequence getRiotExtension() file: Pkgs/Maven/DiceRIoTEmulator/src/main/java/com/microsoft/msr/RiotEmulator/RIoT.java start line: 630 end line: 657 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 403 unit: static void mpi_sub_hlp() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1230 end line: 1246 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 404 unit: static int ecp_safe_invert_jac() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1302 end line: 1321 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 405 unit: static unsigned char ecp_pick_window_size() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2033 end line: 2065 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 406 unit: int mbedtls_hmac_drbg_seed_buf() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 126 end line: 149 size: 15 LOC McCabe index: 4 number of parameters: 4 id: 407 unit: int mbedtls_hmac_drbg_random() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 399 end line: 417 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 408 unit: static void mpi_sub_hlp() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1230 end line: 1246 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 409 unit: static int ecp_safe_invert_jac() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1302 end line: 1321 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 410 unit: static unsigned char ecp_pick_window_size() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2033 end line: 2065 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 411 unit: int mbedtls_hmac_drbg_seed_buf() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 126 end line: 149 size: 15 LOC McCabe index: 4 number of parameters: 4 id: 412 unit: int mbedtls_hmac_drbg_random() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 399 end line: 417 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 413 unit: void MakeClientDevicesAndCerts() file: Tools/RIoT/UpdateDemo.cs start line: 54 end line: 72 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 414 unit: static int ecdh_get_params_internal() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 450 end line: 469 size: 14 LOC McCabe index: 5 number of parameters: 3 id: 415 unit: static int derive_mpi() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 232 end line: 249 size: 14 LOC McCabe index: 4 number of parameters: 4 id: 416 unit: int mbedtls_ecdsa_write_signature() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 799 end line: 812 size: 14 LOC McCabe index: 1 number of parameters: 7 id: 417 unit: static void ecp_restart_rsm_free() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 184 end line: 201 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 418 unit: static int ecp_mod_p192() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 901 end line: 919 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 419 unit: static int ecdh_get_params_internal() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 450 end line: 469 size: 14 LOC McCabe index: 5 number of parameters: 3 id: 420 unit: static int derive_mpi() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 232 end line: 249 size: 14 LOC McCabe index: 4 number of parameters: 4 id: 421 unit: int mbedtls_ecdsa_write_signature() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 799 end line: 812 size: 14 LOC McCabe index: 1 number of parameters: 7 id: 422 unit: static void ecp_restart_rsm_free() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 184 end line: 201 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 423 unit: static int ecp_mod_p192() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 901 end line: 919 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 424 unit: internal static void Print() file: Tools/DICETest/Program.cs start line: 146 end line: 159 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 425 unit: internal DERSequence() file: Tools/RIoT/ExtensionDecoder2.cs start line: 44 end line: 58 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 426 unit: internal int GetTargetVersionNumber() file: Tools/RIoT/HubControl.cs start line: 134 end line: 153 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 427 unit: void mbedtls_mpi_free() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 101 end line: 115 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 428 unit: int mbedtls_mpi_div_int() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1747 end line: 1761 size: 13 LOC McCabe index: 3 number of parameters: 4 id: 429 unit: int mbedtls_ecdsa_can_do() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 389 end line: 401 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 430 unit: int mbedtls_ecdsa_sign() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 406 end line: 420 size: 13 LOC McCabe index: 2 number of parameters: 7 id: 431 unit: int mbedtls_ecdsa_sign_det() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 558 end line: 571 size: 13 LOC McCabe index: 2 number of parameters: 7 id: 432 unit: int mbedtls_ecdsa_verify() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 707 end line: 720 size: 13 LOC McCabe index: 2 number of parameters: 6 id: 433 unit: int mbedtls_ecdsa_from_keypair() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 931 end line: 945 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 434 unit: int mbedtls_ecp_point_cmp() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 689 end line: 703 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 435 unit: int mbedtls_ecp_point_read_string() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 708 end line: 722 size: 13 LOC McCabe index: 1 number of parameters: 4 id: 436 unit: static int ecp_normalize_mxz() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2216 end line: 2231 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 437 unit: static int ecp_mod_p224() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 1055 end line: 1069 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 438 unit: void mbedtls_mpi_free() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 101 end line: 115 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 439 unit: int mbedtls_mpi_div_int() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1747 end line: 1761 size: 13 LOC McCabe index: 3 number of parameters: 4 id: 440 unit: int mbedtls_ecdsa_can_do() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 389 end line: 401 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 441 unit: int mbedtls_ecdsa_sign() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 406 end line: 420 size: 13 LOC McCabe index: 2 number of parameters: 7 id: 442 unit: int mbedtls_ecdsa_sign_det() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 558 end line: 571 size: 13 LOC McCabe index: 2 number of parameters: 7 id: 443 unit: int mbedtls_ecdsa_verify() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 707 end line: 720 size: 13 LOC McCabe index: 2 number of parameters: 6 id: 444 unit: int mbedtls_ecdsa_from_keypair() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 931 end line: 945 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 445 unit: int mbedtls_ecp_point_cmp() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 689 end line: 703 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 446 unit: int mbedtls_ecp_point_read_string() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 708 end line: 722 size: 13 LOC McCabe index: 1 number of parameters: 4 id: 447 unit: static int ecp_normalize_mxz() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2216 end line: 2231 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 448 unit: static int ecp_mod_p224() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 1055 end line: 1069 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 449 unit: internal static void SetCertForPort() file: Tools/RIoT/Helpers.cs start line: 223 end line: 238 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 450 unit: static mbedtls_mpi_uint mpi_uint_bigendian_to_host_c() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 742 end line: 755 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 451 unit: int mbedtls_mpi_add_int() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1367 end line: 1380 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 452 unit: int mbedtls_mpi_sub_int() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1385 end line: 1398 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 453 unit: int mbedtls_mpi_mul_int() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1515 end line: 1528 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 454 unit: int mbedtls_ecdh_compute_shared() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 149 end line: 160 size: 12 LOC McCabe index: 1 number of parameters: 5 id: 455 unit: static int ecdh_read_public_internal() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 602 end line: 616 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 456 unit: int mbedtls_ecdsa_write_signature_det() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 816 end line: 827 size: 12 LOC McCabe index: 1 number of parameters: 6 id: 457 unit: int mbedtls_ecdsa_genkey() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 912 end line: 925 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 458 unit: int mbedtls_ecp_tls_read_group() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 936 end line: 949 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 459 unit: int mbedtls_ecp_muladd() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2663 end line: 2674 size: 12 LOC McCabe index: 1 number of parameters: 6 id: 460 unit: int mbedtls_sha1_starts_ret() file: Reference/RIoT/RIoTCrypt/sha1.c start line: 106 end line: 120 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 461 unit: static void SetSerialNumber() file: Reference/RIoTEmulator.c start line: 376 end line: 396 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 462 unit: void WriteTextFile() file: Reference/RIoTEmulator.c start line: 467 end line: 478 size: 12 LOC McCabe index: 5 number of parameters: 4 id: 463 unit: static mbedtls_mpi_uint mpi_uint_bigendian_to_host_c() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 742 end line: 755 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 464 unit: int mbedtls_mpi_add_int() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1367 end line: 1380 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 465 unit: int mbedtls_mpi_sub_int() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1385 end line: 1398 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 466 unit: int mbedtls_mpi_mul_int() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1515 end line: 1528 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 467 unit: int mbedtls_ecdh_compute_shared() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 149 end line: 160 size: 12 LOC McCabe index: 1 number of parameters: 5 id: 468 unit: static int ecdh_read_public_internal() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 602 end line: 616 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 469 unit: int mbedtls_ecdsa_write_signature_det() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 816 end line: 827 size: 12 LOC McCabe index: 1 number of parameters: 6 id: 470 unit: int mbedtls_ecdsa_genkey() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 912 end line: 925 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 471 unit: int mbedtls_ecp_tls_read_group() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 936 end line: 949 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 472 unit: int mbedtls_ecp_muladd() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2663 end line: 2674 size: 12 LOC McCabe index: 1 number of parameters: 6 id: 473 unit: int mbedtls_sha1_starts_ret() file: Simulation/RIoT/Core/RIoTCrypt/sha1.c start line: 106 end line: 120 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 474 unit: internal void CertifyExistingForJava() file: Tools/RIoT/CertMaker.cs start line: 78 end line: 96 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 475 unit: internal bool FakeDRSServerEnrollOrRefreshDevice() file: Tools/RIoT/HubControl.cs start line: 188 end line: 205 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 476 unit: public static void CreateLeafCert() file: Pkgs/Maven/DiceRIoTEmulator/src/main/java/com/microsoft/msr/RiotEmulator/RIoT.java start line: 226 end line: 237 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 477 unit: static void mbedtls_gf128mul_x_ble() file: Reference/RIoT/RIoTCrypt/aes.c start line: 1153 end line: 1166 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 478 unit: int mbedtls_mpi_lset() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 315 end line: 329 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 479 unit: static size_t mbedtls_clz() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 396 end line: 409 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 480 unit: size_t mbedtls_mpi_bitlen() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 414 end line: 428 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 481 unit: int mbedtls_mpi_cmp_int() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1154 end line: 1166 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 482 unit: static void ecdh_init_internal() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 163 end line: 174 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 483 unit: static int ecdh_setup_internal() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 199 end line: 211 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 484 unit: static void ecdh_free_internal() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 242 end line: 253 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 485 unit: int mbedtls_ecp_copy() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 635 end line: 647 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 486 unit: static inline int mbedtls_mpi_mul_mod() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1086 end line: 1096 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 487 unit: static inline int mbedtls_mpi_sub_mod() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1106 end line: 1116 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 488 unit: static inline int mbedtls_mpi_add_mod() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1127 end line: 1137 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 489 unit: int mbedtls_ecp_gen_keypair() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2866 end line: 2877 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 490 unit: static inline void add64() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 869 end line: 879 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 491 unit: int mbedtls_md_hmac_reset() file: Reference/RIoT/RIoTCrypt/md.c start line: 763 end line: 776 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 492 unit: void HexConvert() file: Reference/RIoTEmulator.c start line: 437 end line: 447 size: 11 LOC McCabe index: 3 number of parameters: 4 id: 493 unit: void WriteBinaryFile() file: Reference/RIoTEmulator.c start line: 456 end line: 466 size: 11 LOC McCabe index: 4 number of parameters: 3 id: 494 unit: static void mbedtls_gf128mul_x_ble() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 1153 end line: 1166 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 495 unit: int mbedtls_mpi_lset() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 315 end line: 329 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 496 unit: static size_t mbedtls_clz() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 396 end line: 409 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 497 unit: size_t mbedtls_mpi_bitlen() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 414 end line: 428 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 498 unit: int mbedtls_mpi_cmp_int() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1154 end line: 1166 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 499 unit: static void ecdh_init_internal() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 163 end line: 174 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 500 unit: static int ecdh_setup_internal() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 199 end line: 211 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 501 unit: static void ecdh_free_internal() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 242 end line: 253 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 502 unit: int mbedtls_ecp_copy() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 635 end line: 647 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 503 unit: static inline int mbedtls_mpi_mul_mod() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1086 end line: 1096 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 504 unit: static inline int mbedtls_mpi_sub_mod() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1106 end line: 1116 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 505 unit: static inline int mbedtls_mpi_add_mod() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1127 end line: 1137 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 506 unit: int mbedtls_ecp_gen_keypair() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2866 end line: 2877 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 507 unit: static inline void add64() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 869 end line: 879 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 508 unit: int mbedtls_md_hmac_reset() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 763 end line: 776 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 509 unit: static void PrintHelp() file: Tools/DICETest/Program.cs start line: 129 end line: 139 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 510 unit: internal static void Notify() file: Tools/RIoT/Helpers.cs start line: 120 end line: 130 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 511 unit: internal static void WritePEMObjects() file: Tools/RIoT/Helpers.cs start line: 132 end line: 143 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 512 unit: internal List GetDeviceIDs() file: Tools/RIoT/HubControl.cs start line: 59 end line: 69 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 513 unit: internal static string ToPath() file: Tools/RIoT/Main.cs start line: 289 end line: 299 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 514 unit: public static KeyPair DeriveEccKey() file: Pkgs/Maven/DiceRIoTEmulator/src/main/java/com/microsoft/msr/RiotEmulator/RIoT.java start line: 588 end line: 598 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 515 unit: size_t mbedtls_mpi_lsb() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 380 end line: 391 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 516 unit: static int mpi_get_digit() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 441 end line: 453 size: 10 LOC McCabe index: 8 number of parameters: 3 id: 517 unit: static void mpi_montg_init() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1851 end line: 1863 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 518 unit: int mbedtls_ecdh_gen_public() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 101 end line: 110 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 519 unit: int mbedtls_ecdsa_read_signature() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 833 end line: 842 size: 10 LOC McCabe index: 1 number of parameters: 5 id: 520 unit: void mbedtls_ecdsa_restart_init() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 972 end line: 983 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 521 unit: void mbedtls_ecp_restart_free() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 257 end line: 269 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 522 unit: int mbedtls_ecp_set_zero() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 663 end line: 674 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 523 unit: static inline int mbedtls_mpi_shift_l_mod() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 1139 end line: 1148 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 524 unit: int mbedtls_ecp_mul() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2469 end line: 2478 size: 10 LOC McCabe index: 1 number of parameters: 5 id: 525 unit: int mbedtls_ecp_gen_key() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2882 end line: 2893 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 526 unit: static int ecp_mod_p224k1() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 1441 end line: 1451 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 527 unit: void mbedtls_hmac_drbg_free() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 422 end line: 432 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 528 unit: void tohex() file: Reference/RIoT/RIoTester.c start line: 501 end line: 513 size: 10 LOC McCabe index: 5 number of parameters: 4 id: 529 unit: void DICE_SHA256_Init() file: Simulation/DICE/DiceSha256.c start line: 251 end line: 260 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 530 unit: size_t mbedtls_mpi_lsb() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 380 end line: 391 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 531 unit: static int mpi_get_digit() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 441 end line: 453 size: 10 LOC McCabe index: 8 number of parameters: 3 id: 532 unit: static void mpi_montg_init() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1851 end line: 1863 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 533 unit: int mbedtls_ecdh_gen_public() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 101 end line: 110 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 534 unit: int mbedtls_ecdsa_read_signature() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 833 end line: 842 size: 10 LOC McCabe index: 1 number of parameters: 5 id: 535 unit: void mbedtls_ecdsa_restart_init() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 972 end line: 983 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 536 unit: void mbedtls_ecp_restart_free() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 257 end line: 269 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 537 unit: int mbedtls_ecp_set_zero() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 663 end line: 674 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 538 unit: static inline int mbedtls_mpi_shift_l_mod() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 1139 end line: 1148 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 539 unit: int mbedtls_ecp_mul() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2469 end line: 2478 size: 10 LOC McCabe index: 1 number of parameters: 5 id: 540 unit: int mbedtls_ecp_gen_key() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2882 end line: 2893 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 541 unit: static int ecp_mod_p224k1() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 1441 end line: 1451 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 542 unit: void mbedtls_hmac_drbg_free() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 422 end line: 432 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 543 unit: internal bool RemoveAllDevices() file: Tools/RIoT/HubControl.cs start line: 177 end line: 186 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 544 unit: internal IoTDevice() file: Tools/RIoT/IoTDevice.cs start line: 37 end line: 46 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 545 unit: internal bool RegisterWithFakeDRSServer() file: Tools/RIoT/IoTDevice.cs start line: 55 end line: 64 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 546 unit: public static bool ValidateServerCertificate() file: Tools/RIoT/TLSClient.cs start line: 183 end line: 193 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 547 unit: void StartServer() file: Tools/RIoT/UpdateDemo.cs start line: 79 end line: 88 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 548 unit: bool DeviceListHasChanged() file: Tools/RIoTDemo/MainPage.cs start line: 290 end line: 299 size: 10 LOC McCabe index: 5 number of parameters: 2 id: 549 unit: private static String dertopem() file: Pkgs/Maven/DiceRIoTEmulator/src/main/java/com/microsoft/msr/RiotEmulator/RIoT.java start line: 666 end line: 676 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 550 unit: public static string CreateDevIDPoP() file: Pkgs/NuGet/DiceRiotEmulator/DiceRiotEmulator/RiotEngine.cs start line: 132 end line: 140 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 551 unit: private static AsymmetricCipherKeyPair DeriveEccKey() file: Pkgs/NuGet/DiceRiotEmulator/DiceRiotEmulator/RiotEngine.cs start line: 438 end line: 446 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 552 unit: void mbedtls_mpi_swap() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 233 end line: 242 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 553 unit: static int mpi_montred() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 1911 end line: 1921 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 554 unit: static mbedtls_ecp_group_id mbedtls_ecdh_grp_id() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 52 end line: 60 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 555 unit: mbedtls_ecp_curve_type mbedtls_ecp_get_type() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 518 end line: 527 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 556 unit: static inline void carry64() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 882 end line: 890 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 557 unit: void mbedtls_mpi_swap() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 233 end line: 242 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 558 unit: static int mpi_montred() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 1911 end line: 1921 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 559 unit: static mbedtls_ecp_group_id mbedtls_ecdh_grp_id() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 52 end line: 60 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 560 unit: mbedtls_ecp_curve_type mbedtls_ecp_get_type() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 518 end line: 527 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 561 unit: static inline void carry64() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 882 end line: 890 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 562 unit: void init_openssl_library() file: Tools/TlsClient/TlsClient.cpp start line: 200 end line: 227 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 563 unit: void print_error_string() file: Tools/TlsClient/TlsClient.cpp start line: 377 end line: 387 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 564 unit: private static string DerToPem() file: Pkgs/NuGet/DiceRiotEmulator/DiceRiotEmulator/RiotEngine.cs start line: 540 end line: 547 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 565 unit: private static BigInteger GetSerialNumber() file: Pkgs/NuGet/DiceRiotEmulator/DiceRiotEmulator/RiotEngine.cs start line: 586 end line: 593 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 566 unit: int mbedtls_mpi_is_prime() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 2522 end line: 2535 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 567 unit: static void ecdsa_restart_ver_free() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 91 end line: 100 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 568 unit: static void ecdsa_restart_sig_init() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 121 end line: 128 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 569 unit: static void ecp_restart_rsm_init() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 172 end line: 179 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 570 unit: static void ecp_restart_ma_free() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 231 end line: 240 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 571 unit: void mbedtls_ecp_restart_init() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 245 end line: 252 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 572 unit: void mbedtls_ecp_point_free() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 580 end line: 588 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 573 unit: void mbedtls_ecp_keypair_free() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 622 end line: 630 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 574 unit: static int hmac_drbg_self_test_entropy() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 546 end line: 553 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 575 unit: void PrintHex() file: Reference/RIoTEmulator.c start line: 448 end line: 455 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 576 unit: void DiceSHA256_2() file: Simulation/DICE/DiceSha256.c start line: 463 end line: 470 size: 8 LOC McCabe index: 1 number of parameters: 5 id: 577 unit: int mbedtls_mpi_is_prime() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 2522 end line: 2535 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 578 unit: static void ecdsa_restart_ver_free() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 91 end line: 100 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 579 unit: static void ecdsa_restart_sig_init() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 121 end line: 128 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 580 unit: static void ecp_restart_rsm_init() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 172 end line: 179 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 581 unit: static void ecp_restart_ma_free() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 231 end line: 240 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 582 unit: void mbedtls_ecp_restart_init() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 245 end line: 252 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 583 unit: void mbedtls_ecp_point_free() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 580 end line: 588 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 584 unit: void mbedtls_ecp_keypair_free() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 622 end line: 630 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 585 unit: static int hmac_drbg_self_test_entropy() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 546 end line: 553 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 586 unit: internal void CertifyExisting() file: Tools/RIoT/CertMaker.cs start line: 53 end line: 76 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 587 unit: internal int GetShortInt() file: Tools/RIoT/ExtensionDecoder2.cs start line: 65 end line: 72 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 588 unit: internal int GetOctetString() file: Tools/RIoT/ExtensionDecoder2.cs start line: 73 end line: 80 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 589 unit: internal int GetOID() file: Tools/RIoT/ExtensionDecoder2.cs start line: 83 end line: 90 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 590 unit: internal static void WritePEMObject() file: Tools/RIoT/Helpers.cs start line: 145 end line: 152 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 591 unit: internal static Object ReadPemObject() file: Tools/RIoT/Helpers.cs start line: 154 end line: 161 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 592 unit: protected override void Dispose() file: Tools/RIoTDemo/DeviceStatus.Designer.cs start line: 14 end line: 21 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 593 unit: protected override void Dispose() file: Tools/RIoTDemo/MainPage.Designer.cs start line: 14 end line: 21 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 594 unit: void CheckIsOne() file: Tools/TlsClient/TlsClient.cpp start line: 389 end line: 396 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 595 unit: void CheckIsNotNull() file: Tools/TlsClient/TlsClient.cpp start line: 397 end line: 404 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 596 unit: int Usage() file: Tools/TlsClient/TlsClient.cpp start line: 405 end line: 414 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 597 unit: public static DeviceAuthBundle CreateDeviceAuthBundle() file: Pkgs/Maven/DiceRIoTEmulator/src/main/java/com/microsoft/msr/RiotEmulator/RIoT.java start line: 251 end line: 257 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 598 unit: private static X509Certificate makeDeviceCert() file: Pkgs/Maven/DiceRIoTEmulator/src/main/java/com/microsoft/msr/RiotEmulator/RIoT.java start line: 412 end line: 419 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 599 unit: private static Guid DeriveGuid() file: Pkgs/NuGet/DiceRiotEmulator/DiceRiotEmulator/RiotEngine.cs start line: 453 end line: 459 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 600 unit: private static SecureRandom GetDrbg() file: Pkgs/NuGet/DiceRiotEmulator/DiceRiotEmulator/RiotEngine.cs start line: 573 end line: 579 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 601 unit: void mbedtls_aes_xts_free() file: Reference/RIoT/RIoTCrypt/aes.c start line: 542 end line: 549 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 602 unit: void mbedtls_mpi_init() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 89 end line: 96 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 603 unit: int mbedtls_mpi_get_bit() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 334 end line: 342 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 604 unit: static int ecdh_read_params_internal() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 398 end line: 404 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 605 unit: static void ecdsa_restart_sig_free() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 133 end line: 140 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 606 unit: static void ecdsa_restart_det_free() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 167 end line: 175 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 607 unit: void mbedtls_ecp_point_init() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 532 end line: 539 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 608 unit: void mbedtls_ecp_keypair_init() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 568 end line: 575 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 609 unit: static inline void ecp_mpi_set1() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 573 end line: 579 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 610 unit: void mbedtls_hmac_drbg_init() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 57 end line: 64 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 611 unit: void mbedtls_sha1_clone() file: Reference/RIoT/RIoTCrypt/sha1.c start line: 94 end line: 101 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 612 unit: void mbedtls_sha256_clone() file: Reference/RIoT/RIoTCrypt/sha256.c start line: 96 end line: 103 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 613 unit: void mbedtls_sha256() file: Reference/RIoT/RIoTCrypt/sha256.c start line: 442 end line: 448 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 614 unit: void DiceSHA256() file: Simulation/DICE/DiceSha256.c start line: 455 end line: 461 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 615 unit: void mbedtls_aes_xts_free() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 542 end line: 549 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 616 unit: void mbedtls_mpi_init() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 89 end line: 96 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 617 unit: int mbedtls_mpi_get_bit() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 334 end line: 342 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 618 unit: static int ecdh_read_params_internal() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 398 end line: 404 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 619 unit: static void ecdsa_restart_sig_free() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 133 end line: 140 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 620 unit: static void ecdsa_restart_det_free() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 167 end line: 175 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 621 unit: void mbedtls_ecp_point_init() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 532 end line: 539 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 622 unit: void mbedtls_ecp_keypair_init() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 568 end line: 575 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 623 unit: static inline void ecp_mpi_set1() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 573 end line: 579 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 624 unit: void mbedtls_hmac_drbg_init() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 57 end line: 64 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 625 unit: void mbedtls_sha1_clone() file: Simulation/RIoT/Core/RIoTCrypt/sha1.c start line: 94 end line: 101 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 626 unit: void mbedtls_sha256_clone() file: Simulation/RIoT/Core/RIoTCrypt/sha256.c start line: 96 end line: 103 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 627 unit: void mbedtls_sha256() file: Simulation/RIoT/Core/RIoTCrypt/sha256.c start line: 442 end line: 448 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 628 unit: static void ParmCountError() file: Tools/DICETest/Program.cs start line: 118 end line: 124 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 629 unit: static void Finish() file: Tools/DICETest/Program.cs start line: 191 end line: 197 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 630 unit: internal CertMaker() file: Tools/RIoT/CertMaker.cs start line: 45 end line: 51 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 631 unit: internal static void InstallCert() file: Tools/RIoT/Helpers.cs start line: 209 end line: 215 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 632 unit: public static void RunClient() file: Tools/RIoT/TLSClient.cs start line: 17 end line: 23 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 633 unit: internal void FakeDRSTest() file: Tools/RIoT/UpdateDemo.cs start line: 42 end line: 48 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 634 unit: void mbedtls_aes_free() file: Reference/RIoT/RIoTCrypt/aes.c start line: 525 end line: 531 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 635 unit: void mbedtls_aes_xts_init() file: Reference/RIoT/RIoTCrypt/aes.c start line: 534 end line: 540 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 636 unit: void mbedtls_aes_encrypt() file: Reference/RIoT/RIoTCrypt/aes.c start line: 926 end line: 931 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 637 unit: void mbedtls_aes_decrypt() file: Reference/RIoT/RIoTCrypt/aes.c start line: 994 end line: 999 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 638 unit: static void ecdsa_restart_ver_init() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 81 end line: 86 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 639 unit: void mbedtls_ecdsa_free() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 960 end line: 966 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 640 unit: static void ecp_restart_ma_init() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 221 end line: 226 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 641 unit: int mbedtls_ecp_group_copy() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 652 end line: 658 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 642 unit: static int ecp_check_pubkey_mx() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 2680 end line: 2689 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 643 unit: static inline void ecp_mpi_load() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 563 end line: 568 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 644 unit: static int ecp_mod_p192k1() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 1427 end line: 1433 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 645 unit: static int ecp_mod_p256k1() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 1460 end line: 1465 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 646 unit: void mbedtls_hmac_drbg_update() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 115 end line: 120 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 647 unit: int mbedtls_md_hmac_update() file: Reference/RIoT/RIoTCrypt/md.c start line: 731 end line: 737 size: 6 LOC McCabe index: 4 number of parameters: 3 id: 648 unit: unsigned char mbedtls_md_get_size() file: Reference/RIoT/RIoTCrypt/md.c start line: 851 end line: 857 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 649 unit: mbedtls_md_type_t mbedtls_md_get_type() file: Reference/RIoT/RIoTCrypt/md.c start line: 859 end line: 865 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 650 unit: void mbedtls_platform_zeroize() file: Reference/RIoT/RIoTCrypt/platform_util.c start line: 73 end line: 79 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 651 unit: void mbedtls_sha1_free() file: Reference/RIoT/RIoTCrypt/sha1.c start line: 86 end line: 92 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 652 unit: void mbedtls_sha1_update() file: Reference/RIoT/RIoTCrypt/sha1.c start line: 357 end line: 362 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 653 unit: void mbedtls_sha1() file: Reference/RIoT/RIoTCrypt/sha1.c start line: 467 end line: 472 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 654 unit: void mbedtls_sha256_free() file: Reference/RIoT/RIoTCrypt/sha256.c start line: 88 end line: 94 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 655 unit: void mbedtls_sha256_update() file: Reference/RIoT/RIoTCrypt/sha256.c start line: 325 end line: 330 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 656 unit: void DiceSHA256Ctx() file: Simulation/DICE/DiceSha256.c start line: 448 end line: 453 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 657 unit: void mbedtls_aes_free() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 525 end line: 531 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 658 unit: void mbedtls_aes_xts_init() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 534 end line: 540 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 659 unit: void mbedtls_aes_encrypt() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 926 end line: 931 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 660 unit: void mbedtls_aes_decrypt() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 994 end line: 999 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 661 unit: static void ecdsa_restart_ver_init() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 81 end line: 86 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 662 unit: void mbedtls_ecdsa_free() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 960 end line: 966 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 663 unit: static void ecp_restart_ma_init() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 221 end line: 226 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 664 unit: int mbedtls_ecp_group_copy() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 652 end line: 658 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 665 unit: static int ecp_check_pubkey_mx() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 2680 end line: 2689 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 666 unit: static inline void ecp_mpi_load() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 563 end line: 568 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 667 unit: static int ecp_mod_p192k1() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 1427 end line: 1433 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 668 unit: static int ecp_mod_p256k1() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 1460 end line: 1465 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 669 unit: void mbedtls_hmac_drbg_update() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 115 end line: 120 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 670 unit: int mbedtls_md_hmac_update() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 731 end line: 737 size: 6 LOC McCabe index: 4 number of parameters: 3 id: 671 unit: unsigned char mbedtls_md_get_size() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 851 end line: 857 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 672 unit: mbedtls_md_type_t mbedtls_md_get_type() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 859 end line: 865 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 673 unit: void mbedtls_platform_zeroize() file: Simulation/RIoT/Core/RIoTCrypt/platform_util.c start line: 73 end line: 79 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 674 unit: void mbedtls_sha1_free() file: Simulation/RIoT/Core/RIoTCrypt/sha1.c start line: 86 end line: 92 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 675 unit: void mbedtls_sha1_update() file: Simulation/RIoT/Core/RIoTCrypt/sha1.c start line: 357 end line: 362 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 676 unit: void mbedtls_sha1() file: Simulation/RIoT/Core/RIoTCrypt/sha1.c start line: 467 end line: 472 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 677 unit: void mbedtls_sha256_free() file: Simulation/RIoT/Core/RIoTCrypt/sha256.c start line: 88 end line: 94 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 678 unit: void mbedtls_sha256_update() file: Simulation/RIoT/Core/RIoTCrypt/sha256.c start line: 325 end line: 330 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 679 unit: bool CheckExpected() file: Tools/DICETest/CertChecker.cs start line: 596 end line: 601 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 680 unit: void JoinFiles() file: Tools/RIoT/CertMaker.cs start line: 453 end line: 458 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 681 unit: static void TestCode() file: Tools/RIoT/CertMaker.cs start line: 460 end line: 467 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 682 unit: internal DERSequence GetSequence() file: Tools/RIoT/ExtensionDecoder2.cs start line: 59 end line: 64 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 683 unit: internal static void InstallCert() file: Tools/RIoT/Helpers.cs start line: 216 end line: 221 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 684 unit: public static void OverrideValidation() file: Tools/RIoT/HttpsListener.cs start line: 98 end line: 103 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 685 unit: internal void RefreshCert() file: Tools/RIoT/IoTDevice.cs start line: 48 end line: 53 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 686 unit: internal UpdateDemo() file: Tools/RIoT/UpdateDemo.cs start line: 35 end line: 40 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 687 unit: void SetVersionNumber() file: Tools/RIoTDemo/DeviceStatus.cs start line: 39 end line: 44 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 688 unit: static void Main() file: Tools/RIoTDemo/Program.cs start line: 15 end line: 20 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 689 unit: private static X509Certificate makeDeviceCert() file: Pkgs/Maven/DiceRIoTEmulator/src/main/java/com/microsoft/msr/RiotEmulator/RIoT.java start line: 422 end line: 426 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 690 unit: void mbedtls_aes_init() file: Reference/RIoT/RIoTCrypt/aes.c start line: 518 end line: 523 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 691 unit: int mbedtls_ecdh_can_do() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 62 end line: 67 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 692 unit: void mbedtls_ecdh_enable_restart() file: Reference/RIoT/RIoTCrypt/ecdh.c start line: 259 end line: 264 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 693 unit: static void ecdsa_restart_det_init() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 158 end line: 162 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 694 unit: void mbedtls_ecdsa_init() file: Reference/RIoT/RIoTCrypt/ecdsa.c start line: 950 end line: 955 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 695 unit: int mbedtls_ecp_is_zero() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 679 end line: 684 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 696 unit: static inline void add32() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 974 end line: 978 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 697 unit: static inline void sub32() file: Reference/RIoT/RIoTCrypt/ecp_curves.c start line: 980 end line: 984 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 698 unit: int mbedtls_hmac_drbg_reseed() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 235 end line: 239 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 699 unit: void mbedtls_hmac_drbg_set_prediction_resistance() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 302 end line: 306 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 700 unit: int mbedtls_hmac_drbg_self_test() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 504 end line: 508 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 701 unit: void mbedtls_sha1_init() file: Reference/RIoT/RIoTCrypt/sha1.c start line: 79 end line: 84 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 702 unit: void mbedtls_sha1_process() file: Reference/RIoT/RIoTCrypt/sha1.c start line: 295 end line: 299 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 703 unit: void mbedtls_sha1_finish() file: Reference/RIoT/RIoTCrypt/sha1.c start line: 427 end line: 431 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 704 unit: void mbedtls_sha256_init() file: Reference/RIoT/RIoTCrypt/sha256.c start line: 81 end line: 86 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 705 unit: void mbedtls_sha256_starts() file: Reference/RIoT/RIoTCrypt/sha256.c start line: 147 end line: 151 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 706 unit: void mbedtls_sha256_process() file: Reference/RIoT/RIoTCrypt/sha256.c start line: 263 end line: 267 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 707 unit: void mbedtls_sha256_finish() file: Reference/RIoT/RIoTCrypt/sha256.c start line: 400 end line: 404 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 708 unit: void mbedtls_aes_init() file: Simulation/RIoT/Core/RIoTCrypt/aes.c start line: 518 end line: 523 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 709 unit: int mbedtls_ecdh_can_do() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 62 end line: 67 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 710 unit: void mbedtls_ecdh_enable_restart() file: Simulation/RIoT/Core/RIoTCrypt/ecdh.c start line: 259 end line: 264 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 711 unit: static void ecdsa_restart_det_init() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 158 end line: 162 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 712 unit: void mbedtls_ecdsa_init() file: Simulation/RIoT/Core/RIoTCrypt/ecdsa.c start line: 950 end line: 955 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 713 unit: int mbedtls_ecp_is_zero() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 679 end line: 684 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 714 unit: static inline void add32() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 974 end line: 978 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 715 unit: static inline void sub32() file: Simulation/RIoT/Core/RIoTCrypt/ecp_curves.c start line: 980 end line: 984 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 716 unit: int mbedtls_hmac_drbg_reseed() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 235 end line: 239 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 717 unit: void mbedtls_hmac_drbg_set_prediction_resistance() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 302 end line: 306 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 718 unit: int mbedtls_hmac_drbg_self_test() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 504 end line: 508 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 719 unit: void mbedtls_sha1_init() file: Simulation/RIoT/Core/RIoTCrypt/sha1.c start line: 79 end line: 84 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 720 unit: void mbedtls_sha1_process() file: Simulation/RIoT/Core/RIoTCrypt/sha1.c start line: 295 end line: 299 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 721 unit: void mbedtls_sha1_finish() file: Simulation/RIoT/Core/RIoTCrypt/sha1.c start line: 427 end line: 431 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 722 unit: void mbedtls_sha256_init() file: Simulation/RIoT/Core/RIoTCrypt/sha256.c start line: 81 end line: 86 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 723 unit: void mbedtls_sha256_starts() file: Simulation/RIoT/Core/RIoTCrypt/sha256.c start line: 147 end line: 151 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 724 unit: void mbedtls_sha256_process() file: Simulation/RIoT/Core/RIoTCrypt/sha256.c start line: 263 end line: 267 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 725 unit: void mbedtls_sha256_finish() file: Simulation/RIoT/Core/RIoTCrypt/sha256.c start line: 400 end line: 404 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 726 unit: bool CheckAlgs() file: Tools/DICETest/CertChecker.cs start line: 376 end line: 380 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 727 unit: static void Error() file: Tools/DICETest/CertChecker.cs start line: 629 end line: 633 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 728 unit: static void Warning() file: Tools/DICETest/CertChecker.cs start line: 638 end line: 642 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 729 unit: static void Notify() file: Tools/DICETest/CertChecker.cs start line: 647 end line: 651 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 730 unit: static void NotifySuccess() file: Tools/DICETest/CertChecker.cs start line: 656 end line: 660 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 731 unit: internal void MakeNew() file: Tools/RIoT/CertMaker.cs start line: 132 end line: 136 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 732 unit: static internal RIoTDeviceInfo Decode() file: Tools/RIoT/ExtensionDecoder.cs start line: 35 end line: 39 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 733 unit: static RIoTDeviceInfo ParseError() file: Tools/RIoT/ExtensionDecoder.cs start line: 114 end line: 118 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 734 unit: void StartFakeDRSServerThread() file: Tools/RIoT/UpdateDemo.cs start line: 74 end line: 78 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 735 unit: static string GetDeviceID() file: Tools/RIoT/UpdateDemo.cs start line: 208 end line: 213 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 736 unit: internal void NotifyNewMessage() file: Tools/RIoTDemo/DeviceStatus.cs start line: 45 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 737 unit: private void pownMe_Click() file: Tools/RIoTDemo/DeviceStatus.cs start line: 93 end line: 99 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 738 unit: public MainPage() file: Tools/RIoTDemo/MainPage.cs start line: 45 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 739 unit: private static IDigest GetDigest() file: Pkgs/NuGet/DiceRiotEmulator/DiceRiotEmulator/RiotEngine.cs start line: 599 end line: 602 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 740 unit: static void mbedtls_mpi_zeroize() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 81 end line: 84 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 741 unit: size_t mbedtls_mpi_size() file: Reference/RIoT/RIoTCrypt/bignum.c start line: 433 end line: 436 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 742 unit: void mbedtls_ecp_set_max_ops() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 136 end line: 139 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 743 unit: int mbedtls_ecp_restart_is_enabled() file: Reference/RIoT/RIoTCrypt/ecp.c start line: 144 end line: 147 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 744 unit: void mbedtls_hmac_drbg_set_entropy_len() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 311 end line: 314 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 745 unit: void mbedtls_hmac_drbg_set_reseed_interval() file: Reference/RIoT/RIoTCrypt/hmac_drbg.c start line: 319 end line: 322 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 746 unit: void mbedtls_md_init() file: Reference/RIoT/RIoTCrypt/md.c start line: 262 end line: 265 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 747 unit: int mbedtls_md_init_ctx() file: Reference/RIoT/RIoTCrypt/md.c start line: 387 end line: 390 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 748 unit: void mbedtls_sha1_starts() file: Reference/RIoT/RIoTCrypt/sha1.c start line: 123 end line: 126 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 749 unit: static void mbedtls_mpi_zeroize() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 81 end line: 84 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 750 unit: size_t mbedtls_mpi_size() file: Simulation/RIoT/Core/RIoTCrypt/bignum.c start line: 433 end line: 436 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 751 unit: void mbedtls_ecp_set_max_ops() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 136 end line: 139 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 752 unit: int mbedtls_ecp_restart_is_enabled() file: Simulation/RIoT/Core/RIoTCrypt/ecp.c start line: 144 end line: 147 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 753 unit: void mbedtls_hmac_drbg_set_entropy_len() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 311 end line: 314 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 754 unit: void mbedtls_hmac_drbg_set_reseed_interval() file: Simulation/RIoT/Core/RIoTCrypt/hmac_drbg.c start line: 319 end line: 322 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 755 unit: void mbedtls_md_init() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 262 end line: 265 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 756 unit: int mbedtls_md_init_ctx() file: Simulation/RIoT/Core/RIoTCrypt/md.c start line: 387 end line: 390 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 757 unit: void mbedtls_sha1_starts() file: Simulation/RIoT/Core/RIoTCrypt/sha1.c start line: 123 end line: 126 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 758 unit: string ToPath() file: Tools/RIoT/CertMaker.cs start line: 448 end line: 451 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 759 unit: public static string Hexify() file: Tools/RIoT/Helpers.cs start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 760 unit: private static bool OnValidateCertificate() file: Tools/RIoT/HttpsListener.cs start line: 93 end line: 96 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 761 unit: public static void RestoreValidation() file: Tools/RIoT/HttpsListener.cs start line: 105 end line: 108 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 762 unit: internal static void SetDeviceNumber() file: Tools/RIoT/Main.cs start line: 300 end line: 304 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 763 unit: public DeviceStatus() file: Tools/RIoTDemo/DeviceStatus.cs start line: 34 end line: 37 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 764 unit: internal static void Notify() file: Tools/RIoTDemo/MainPage.cs start line: 302 end line: 305 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 765 unit: public static string Hexify() file: Tools/RIoTDemo/MainPage.cs start line: 372 end line: 375 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 766 unit: string GetFWIDString() file: Tools/RIoTDemo/MainPage.cs start line: 377 end line: 380 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 767 unit: static file: Pkgs/Maven/DiceRIoTEmulator/src/main/java/com/microsoft/msr/RiotEmulator/RIoT.java start line: 216 end line: 218 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 768 unit: internal CertChecker() file: Tools/DICETest/CertChecker.cs start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 769 unit: internal ExtensionDecoder2() file: Tools/RIoT/ExtensionDecoder2.cs start line: 26 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 770 unit: internal HubControl() file: Tools/RIoT/HubControl.cs start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 771 unit: void MakeControlDeviceTwin() file: Tools/RIoTDemo/MainPage.cs start line: 383 end line: 387 size: 3 LOC McCabe index: 1 number of parameters: 0