Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

2318 linhas
59 KiB

  1. {
  2. "auto_complete":
  3. {
  4. "selected_items":
  5. [
  6. [
  7. "padd",
  8. "padded_attribs"
  9. ],
  10. [
  11. "Resu",
  12. "Result_OK"
  13. ],
  14. [
  15. "Resul",
  16. "Result_Error"
  17. ],
  18. [
  19. "ou",
  20. "output"
  21. ],
  22. [
  23. "kP",
  24. "kPadding_PKCS7"
  25. ],
  26. [
  27. "Reus",
  28. "Result_Error"
  29. ],
  30. [
  31. "outu",
  32. "output_len"
  33. ],
  34. [
  35. "att",
  36. "attribs_enc"
  37. ],
  38. [
  39. "output",
  40. "output_len"
  41. ],
  42. [
  43. "opens",
  44. "openssl_output_len"
  45. ],
  46. [
  47. "openssl",
  48. "openssl_output_buff"
  49. ],
  50. [
  51. "open",
  52. "openssl_output_len"
  53. ],
  54. [
  55. "inp",
  56. "input_len"
  57. ],
  58. [
  59. "local",
  60. "local_input_len"
  61. ],
  62. [
  63. "expe",
  64. "expected_no_padding_dec"
  65. ],
  66. [
  67. "attri",
  68. "attribs_openssl_dec"
  69. ],
  70. [
  71. "i_buf",
  72. "i_padded_buf"
  73. ],
  74. [
  75. "Re",
  76. "Result_OK"
  77. ],
  78. [
  79. "padded",
  80. "padded_input_len"
  81. ],
  82. [
  83. "inpu",
  84. "input_len"
  85. ],
  86. [
  87. "unp",
  88. "unpad_len"
  89. ],
  90. [
  91. "Res",
  92. "Result_Error"
  93. ],
  94. [
  95. "random",
  96. "random_bytes"
  97. ],
  98. [
  99. "uint",
  100. "uint8_t"
  101. ],
  102. [
  103. "uin",
  104. "uint8_t"
  105. ],
  106. [
  107. "u",
  108. "uint32_t"
  109. ],
  110. [
  111. "at",
  112. "attribs_openssl_enc"
  113. ],
  114. [
  115. "out",
  116. "out_len"
  117. ],
  118. [
  119. "test",
  120. "test_text"
  121. ],
  122. [
  123. "TCASE",
  124. "TCASE_E"
  125. ],
  126. [
  127. "input",
  128. "input_len"
  129. ],
  130. [
  131. "Cry",
  132. "CryptoAttribs_t"
  133. ],
  134. [
  135. "base",
  136. "base64_buf"
  137. ],
  138. [
  139. "outp",
  140. "output_len"
  141. ],
  142. [
  143. "in",
  144. "input"
  145. ],
  146. [
  147. "i_",
  148. "i_content"
  149. ],
  150. [
  151. "ci",
  152. "Ciphertext"
  153. ],
  154. [
  155. "plain",
  156. "plaintext"
  157. ],
  158. [
  159. "cip",
  160. "ciphertext_len"
  161. ],
  162. [
  163. "Encryptio",
  164. "EncryptionContent_t"
  165. ],
  166. [
  167. "EVP_En",
  168. "EVP_EncryptFinal"
  169. ],
  170. [
  171. "size",
  172. "size_t"
  173. ],
  174. [
  175. "un",
  176. "uint8_t"
  177. ],
  178. [
  179. "ciph",
  180. "ciphertext_len"
  181. ],
  182. [
  183. "con",
  184. "concatenated_blocks"
  185. ],
  186. [
  187. "co",
  188. "concatenated_blocks"
  189. ],
  190. [
  191. "o_",
  192. "o_buff_ptr"
  193. ],
  194. [
  195. "key",
  196. "key_len"
  197. ],
  198. [
  199. "count",
  200. "count_array_size"
  201. ],
  202. [
  203. "LVM",
  204. "LVM_VOLUMES"
  205. ],
  206. [
  207. "pkcs",
  208. "pkcs7_pad"
  209. ],
  210. [
  211. "FUC",
  212. "FUNC_E"
  213. ],
  214. [
  215. "read",
  216. "read_file_to_buffer"
  217. ],
  218. [
  219. "min",
  220. "min_dist"
  221. ],
  222. [
  223. "tmp_di",
  224. "tmp_dist1"
  225. ],
  226. [
  227. "tmp_",
  228. "tmp_dist2"
  229. ],
  230. [
  231. "block",
  232. "block_size"
  233. ],
  234. [
  235. "calc",
  236. "calculate_nb_of_bits_set"
  237. ],
  238. [
  239. "stri",
  240. "string_hex"
  241. ],
  242. [
  243. "convert",
  244. "convert_string_to_hex"
  245. ],
  246. [
  247. "set1",
  248. "set1_challenge3_test"
  249. ],
  250. [
  251. "frequency",
  252. "frequency_t"
  253. ],
  254. [
  255. "let",
  256. "letter"
  257. ],
  258. [
  259. "fre",
  260. "frequency"
  261. ],
  262. [
  263. "prin",
  264. "printable_ascii"
  265. ],
  266. [
  267. "xorab",
  268. "xorable_chars"
  269. ],
  270. [
  271. "cp",
  272. "ciphertext_len"
  273. ],
  274. [
  275. "xors_to",
  276. "xors_to_ascii_pointer"
  277. ],
  278. [
  279. "char",
  280. "char_in_printable"
  281. ],
  282. [
  283. "pri",
  284. "printable_ascii"
  285. ],
  286. [
  287. "xor",
  288. "xors_to_ascii"
  289. ],
  290. [
  291. "iRi",
  292. "iRightString"
  293. ],
  294. [
  295. "p_i",
  296. "p_ibuf2"
  297. ],
  298. [
  299. "p_ib",
  300. "p_ibuf1"
  301. ],
  302. [
  303. "i_B",
  304. "i_buf_1"
  305. ],
  306. [
  307. "iHex",
  308. "iHexArray"
  309. ],
  310. [
  311. "i_b",
  312. "i_buf_1"
  313. ],
  314. [
  315. "conv",
  316. "convert_string_to_hex"
  317. ],
  318. [
  319. "do_han",
  320. "do_handshake_on_connect"
  321. ],
  322. [
  323. "OTF_TRACE",
  324. "OTF_TRACE_DEBUG"
  325. ],
  326. [
  327. "BOOST_CHECK",
  328. "BOOST_CHECK_EQUAL"
  329. ],
  330. [
  331. "_",
  332. "_serviceRto"
  333. ],
  334. [
  335. "Ar",
  336. "ArgMap_t"
  337. ],
  338. [
  339. "TLS",
  340. "TLSVersionString"
  341. ],
  342. [
  343. "aPro",
  344. "aProtocolVersions"
  345. ],
  346. [
  347. "SS",
  348. "SSLOptions"
  349. ],
  350. [
  351. "kSSL",
  352. "kSSLv2"
  353. ],
  354. [
  355. "SSLSocket",
  356. "SSLSocketFix"
  357. ],
  358. [
  359. "k",
  360. "kMaxTLSVersion"
  361. ],
  362. [
  363. "kSS",
  364. "kSSLv2"
  365. ],
  366. [
  367. "kTL",
  368. "kTLSv11"
  369. ],
  370. [
  371. "kTLS",
  372. "kMaxTLSVersion"
  373. ],
  374. [
  375. "_proto",
  376. "_supportedProtocols"
  377. ],
  378. [
  379. "Proto",
  380. "Protocols_t"
  381. ],
  382. [
  383. "kMa",
  384. "kMaxTLSVersion"
  385. ],
  386. [
  387. "Gener",
  388. "GenerateCtrl"
  389. ],
  390. [
  391. "build",
  392. "buildServiceRTOMap"
  393. ],
  394. [
  395. "interr",
  396. "interruption_point"
  397. ],
  398. [
  399. "OTF",
  400. "OTF_SERVICE_OK"
  401. ],
  402. [
  403. "OTF_",
  404. "OTF_SERVICE_KO"
  405. ],
  406. [
  407. "Pertu",
  408. "PerturbationEngine.h File"
  409. ],
  410. [
  411. "Rando",
  412. "RandomSleepWithinRto"
  413. ],
  414. [
  415. "TRC",
  416. "TRC_ERROR"
  417. ],
  418. [
  419. "aLib",
  420. "aLibInternalTag"
  421. ],
  422. [
  423. "OTF_S",
  424. "OTF_SERVICE_KO"
  425. ],
  426. [
  427. "Timer",
  428. "TimerID_t"
  429. ],
  430. [
  431. "CPP",
  432. "CPPUNIT_ASSERT_EQUAL"
  433. ],
  434. [
  435. "kA",
  436. "kInvalidTimerID"
  437. ],
  438. [
  439. "CPPU",
  440. "CPPUNIT_ASSERT"
  441. ],
  442. [
  443. "CPPUNI",
  444. "CPPUNIT_TEST"
  445. ],
  446. [
  447. "name",
  448. "namespace"
  449. ],
  450. [
  451. "_argV",
  452. "_argVerboseMode"
  453. ],
  454. [
  455. "aDetai",
  456. "aDetailsStream"
  457. ],
  458. [
  459. "SEI_E",
  460. "SEI_TRACE_DEBUG"
  461. ],
  462. [
  463. "class",
  464. "classmethod classmethod"
  465. ],
  466. [
  467. "getMsg",
  468. "getMsgSubType"
  469. ],
  470. [
  471. "exce",
  472. "exception"
  473. ],
  474. [
  475. "kACti",
  476. "kAction_Delete"
  477. ],
  478. [
  479. "numb",
  480. "number_array"
  481. ],
  482. [
  483. "getConnector",
  484. "getConnectorFactory"
  485. ],
  486. [
  487. "first",
  488. "first_char"
  489. ],
  490. [
  491. "Unw",
  492. "UnwrapSPWMsg"
  493. ],
  494. [
  495. "aBack",
  496. "aBackendProtoData"
  497. ],
  498. [
  499. "getConvPro",
  500. "getConvProtocolData"
  501. ],
  502. [
  503. "iAxi",
  504. "iAxisErrorObject"
  505. ],
  506. [
  507. "DUCo",
  508. "DUCommandGetConState"
  509. ],
  510. [
  511. "DU",
  512. "DUCommandGetConState"
  513. ],
  514. [
  515. "isDecod",
  516. "isDecodeCnxOriginSet"
  517. ]
  518. ]
  519. },
  520. "buffers":
  521. [
  522. {
  523. "contents": "#include \"src/common.h\"\n#include \"src/pkcs7.h\"\n#include \"src/enc_modes.h\"\n#include \"src/base64.h\"\n#include <assert.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n#include <string.h>\n#include <time.h>\n#include <openssl/evp.h>\n#include <openssl/rand.h>\n#include <assert.h>\n#include \"set2.h\"\n\nResult_t OpenSSL::Cbc(CryptoAttribs_t* i_attribs,\n const Key_t* const i_key)\n{\n if(NULL==i_attribs->output)\n {\n i_attribs->output = (uint8_t*) malloc(i_attribs->input_len);\n }\n\n int ret=0;\n EVP_CIPHER_CTX ctx;\n EVP_CIPHER_CTX_init(&ctx);\n OP_CHECK(\n EVP_CipherInit_ex(&ctx, EVP_aes_128_cbc(), NULL, i_key->key, i_attribs->iv,\n i_attribs->operation==kEncrypt ? 1 : 0));\n EVP_CIPHER_CTX_set_padding(&ctx, 0);\n EVP_CIPHER_CTX_set_key_length(&ctx, i_key->len);\n\n OP_CHECK(\n EVP_CipherUpdate(&ctx, i_attribs->output, &ret, i_attribs->input,\n i_attribs->input_len));\n i_attribs->output_len = ret;\n OP_CHECK(\n EVP_CipherFinal_ex(&ctx, &i_attribs->output[ret], &ret));\n i_attribs->output_len += ret;\n EVP_CIPHER_CTX_cleanup(&ctx);\n return Result_OK;\n\nend:\n return Result_Error;\n}\n\nTCASE(ecb_encrypt_decrypt_single_block)\n{\n static const uint8_t expected_result[17] = \"0123456789123456\";\n CryptoAttribs_t encode, decode;\n Key_t key1;\n CryptoAttribs_t::Init(&encode);\n CryptoAttribs_t::Init(&decode);\n Key_t::Init(&key1);\n\n encode.input = (uint8_t*)malloc(16);\n encode.input_len=16;\n decode.input = (uint8_t*)malloc(16);\n decode.input_len=16;\n key1.key = (uint8_t*)malloc(16);\n key1.len = 16;\n\n memcpy(key1.key, \"YELLOW SUBMARINE\", 16);\n memcpy(encode.input, expected_result, 16);\n CHECK(ecb_encrypt(&encode, &key1) == Result_OK);\n CHECK(encode.output_len==16);\n\n memcpy(decode.input, encode.output, 16);\n ecb_decrypt(&decode, &key1);\n CHECK(decode.output_len == 16);\n\n CHECK(memcmp(decode.output, expected_result, 16) == 0);\n\n CryptoAttribs_t::Free(&encode);\n CryptoAttribs_t::Free(&decode);\n Key_t::Free(&key1);\n}\nTCASE_E\n\nTCASE(set2_challange9)\n{\n const uint8_t text1[] = \"Text1\";\n uint8_t unpadded[32] = {0};\n uint8_t* p_unpadded = &unpadded[0];\n\n int ret;\n uint8_t buff1[32];\n uint8_t* p_buff1 = &buff1[0];\n char buff2[10];\n\n ret = pkcs7_pad(text1, 5, &p_buff1, 32);\n CHECK(ret==true, (const unsigned char* const) \"Padding operation failed\");\n ret = memcmp(text1, buff1, 5);\n CHECK(ret==0, (const unsigned char* const) \"Content differs\");\n for(int i=5; i<32; i++)\n {\n CHECK(buff1[i] == 27, (const unsigned char* const) \"Wrong padding\");\n }\n\n size_t unpad_len = 0;\n CHECK( pkcs7_unpad(&buff1[0], 32, &p_unpadded, &unpad_len) );\n CHECK(unpad_len == 5, (const uint8_t*) \"Unpadded length wrong\");\n CHECK( 0==memcmp(text1, unpadded, unpad_len) );\n}\nTCASE_E\n\nTCASE(set2_challange10)\n{\n static const uint8_t expected_result[34] = \"I'm back and I'm ringin' the bell\";\n CryptoAttribs_t attribs;\n Key_t key;\n Result_t res = Result_Error;\n\n Key_t::Init(&key);\n key.len = 16;\n key.key = (uint8_t*) malloc(key.len);\n memcpy(key.key,\"YELLOW SUBMARINE\",key.len);\n\n CryptoAttribs_t::Init(&attribs);\n attribs.iv = (uint8_t*) malloc(key.len);\n attribs.iv_len = key.len;\n memset(attribs.iv, 0, attribs.iv_len);\n\n res = load_base64_to_hex(\n \"sol/etc/set2_t2.txt\",\n &(attribs.input),\n &(attribs.input_len));\n CHECK(res == Result_OK, (const uint8_t*) \"Problem when loading input file\");\n cbc_decrypt(&attribs, &key);\n CHECK( memcmp(expected_result, attribs.output, 33) == 0, (const uint8_t*)\n \"Wrong plaintext decrypted\");\n // cleanup\n CryptoAttribs_t::Free(&attribs);\n Key_t::Free(&key);\n}\nTCASE_E\n\nTCASE(cbc_enc_dec_test)\n{\n static const uint8_t test_text[49] = \"The quick brown fox jumps over the lazy mad dog.\";\n CryptoAttribs_t enc_attribs;\n CryptoAttribs_t dec_attribs;\n Key_t key;\n CryptoAttribs_t::Init(&enc_attribs);\n CryptoAttribs_t::Init(&dec_attribs);\n Key_t::Init(&key);\n\n // Setup key\n key.len = 16;\n key.key = (uint8_t*) malloc(key.len);\n memcpy(key.key, \"0123456789123456\", key.len);\n\n // Encrypt\n enc_attribs.input_len = sizeof(test_text)-1;\n enc_attribs.input = (uint8_t*) malloc(enc_attribs.input_len);\n enc_attribs.operation = kEncrypt;\n memcpy( enc_attribs.input, test_text, enc_attribs.input_len);\n enc_attribs.iv_len = key.len;\n enc_attribs.iv = (uint8_t*)malloc(enc_attribs.iv_len);\n memset(enc_attribs.iv, 0, enc_attribs.iv_len);\n cbc_encrypt(&enc_attribs, &key);\n\n // Setup decryption object.\n dec_attribs.iv = (uint8_t*)malloc( enc_attribs.iv_len );\n dec_attribs.iv_len = enc_attribs.iv_len;\n dec_attribs.operation = kDecrypt;\n memset(dec_attribs.iv, 0, dec_attribs.iv_len);\n dec_attribs.input = (uint8_t*)malloc(enc_attribs.output_len);\n dec_attribs.input_len = enc_attribs.output_len;\n memcpy(dec_attribs.input, enc_attribs.output, enc_attribs.output_len);\n\n // Decrypt\n cbc_decrypt(&dec_attribs, &key);\n CHECK( dec_attribs.output_len+1 == sizeof(test_text), (uint8_t*) \"wrong size of ouptut\");\n CHECK(memcmp(dec_attribs.output, test_text, dec_attribs.output_len) == 0, dec_attribs.output);\n\nend:\n CryptoAttribs_t::Free(&enc_attribs);\n CryptoAttribs_t::Free(&dec_attribs);\n Key_t::Free(&key);\n}\nTCASE_E\n\nTCASE(encode_decode_openssl)\n{\n uint8_t concatenated_blocks[16*3];\n uint8_t iv1[16] = {0};\n uint8_t key[17] = \"YELLOW SUBMARINE\"; // 16+'\\0' = 17\n memset(concatenated_blocks, 2, 16);\n memset(&concatenated_blocks[16], 5, 16);\n memset(&concatenated_blocks[32], 9, 16);\n\n RAND_bytes(iv1, 16);\n Key_t keyObj;\n keyObj.key = &key[0];\n keyObj.len = 16;\n\n // 1. decryption test\n {\n CryptoAttribs_t attribs_openssl_enc;\n CryptoAttribs_t::Init(&attribs_openssl_enc);\n attribs_openssl_enc.input = concatenated_blocks;\n attribs_openssl_enc.input_len = sizeof(concatenated_blocks);\n attribs_openssl_enc.output = (uint8_t*)malloc(attribs_openssl_enc.input_len);\n attribs_openssl_enc.output_len;\n attribs_openssl_enc.iv = &iv1[0];\n attribs_openssl_enc.iv_len = sizeof(iv1);\n attribs_openssl_enc.operation = kEncrypt;\n CHECK(OpenSSL::Cbc(&attribs_openssl_enc, &keyObj)==Result_OK);\n CHECK(attribs_openssl_enc.output_len==48, (uint8_t*)\"Ciphertext has wrong size\");//\n CryptoAttribs_t cbc_attribs;\n CryptoAttribs_t::Init(&cbc_attribs);\n cbc_attribs.input = attribs_openssl_enc.output;\n cbc_attribs.input_len = attribs_openssl_enc.output_len;\n cbc_attribs.iv = &iv1[0];\n cbc_attribs.iv_len = sizeof(iv1);\n CHECK( Result_OK == cbc_decrypt(&cbc_attribs, &keyObj) );\n CHECK(\n memcmp( concatenated_blocks,\n cbc_attribs.output,\n cbc_attribs.output_len) == 0,\n (uint8_t*)\"Input/Output differs\");\n ::free(attribs_openssl_enc.output);\n ::free(cbc_attribs.output);\n }\n // 2. encryption test\n {\n CryptoAttribs_t attribs_enc;\n CryptoAttribs_t::Init(&attribs_enc);\n attribs_enc.input = concatenated_blocks;\n attribs_enc.input_len = sizeof(concatenated_blocks);\n attribs_enc.iv = &iv1[0];\n attribs_enc.iv_len = sizeof(iv1);\n attribs_enc.operation = kEncrypt;\n CHECK( Result_OK == cbc_encrypt(&attribs_enc, &keyObj) );\n CHECK( 48 == attribs_enc.output_len );\n CHECK( NULL != attribs_enc.output );\n\n CryptoAttribs_t attribs_openssl_dec;\n CryptoAttribs_t::Init(&attribs_openssl_dec);\n attribs_openssl_dec.input = attribs_enc.output;\n attribs_openssl_dec.input_len = attribs_enc.output_len;\n attribs_openssl_dec.iv = &iv1[0];\n attribs_openssl_dec.iv_len = sizeof(iv1);\n attribs_openssl_dec.operation = kDecrypt;\n CHECK(OpenSSL::Cbc(&attribs_openssl_dec, &keyObj)==Result_OK);\n CHECK(attribs_openssl_dec.output_len==48, (uint8_t*)\"Ciphertext has wrong size\");\n CHECK(\n memcmp( concatenated_blocks,\n attribs_openssl_dec.output,\n attribs_openssl_dec.output_len) == 0,\n (uint8_t*)\"Input/Output differs\");\n ::free(attribs_enc.output);\n ::free(attribs_openssl_dec.output);\n }\n}\nTCASE_E\n\n/* -------------------------------------------------------------------------\n Checks if ciphertext is encrypted with ECB or CBC.\n Requirement: In order to work, plaintext must encrypt up to 6 blocks (with\n padding) and all the letters in the PT must be exactly the same.\n Returns:\n * 0 : if ciphertext encrypted with ECB\n * 1 : if ciphertext encrypted with CBC\n * 0xFF: in case wrong input parameters provided\n -------------------------------------------------------------------------*/\nuint8_t check_ciphertext(const uint8_t* ciphertext, uint32_t len )\n{\n uint32_t bs = 16;\n if( (len < 6*bs) || (len>7*bs) )\n return 0xFF;\n\n // check blocks 2,3,4 as first have prepaned bytes, 5th also, 6th can have padding\n // eventually 7th may be fully padded.\n for(uint32_t i=1; i<4; ++i)\n {\n if( memcmp(ciphertext+(bs*i), ciphertext+(bs*(i+1)), bs) != 0)\n return 1; // Two blocks differ -> must be CBC\n }\n return 0; // All checked blocks are the same -> ECB\n}\n\nResult_t encryption_oracle( const uint8_t* pt,\n uint32_t pt_len,\n uint8_t* ct,\n uint32_t* ct_len,\n uint8_t* mode)\n{\n uint8_t iv1[16] = {0};\n uint8_t key[16] = {0};\n uint8_t prepend_byte_size;\n uint8_t append_byte_size;\n uint8_t random_bytes[10];\n uint8_t encryption_mode = 0xFF;\n struct timespec tv;\n CryptoAttribs_t attribs;\n Key_t keyObj;\n\n // get seed for good randomnes\n clock_gettime(CLOCK_MONOTONIC, &tv);\n srand((unsigned int)tv.tv_nsec);\n\n // choose random sizes and enc mode (0 ECB, 1 CBC)\n prepend_byte_size = 5+(rand() % 6);\n append_byte_size = 5+(rand() % 6);\n encryption_mode = rand() % 2;\n\n // generate rando data\n RAND_bytes(iv1, 16);\n RAND_bytes(key, 16);\n\n // initialize encryption attribs\n CryptoAttribs_t::Init(&attribs);\n attribs.operation = kEncrypt;\n attribs.input_len = 0;\n attribs.input = (uint8_t*)malloc(7*16);\n attribs.output_len = 0;\n attribs.output = (uint8_t*)malloc(7*16);\n attribs.padding = kPadding_PKCS7;\n\n // copy input to the input buffer\n RAND_bytes(random_bytes, prepend_byte_size);\n int tmplen=0;\n memcpy(attribs.input+tmplen, random_bytes, prepend_byte_size);\n tmplen+=prepend_byte_size;\n memcpy(attribs.input+tmplen, pt, pt_len);\n tmplen+=pt_len;\n RAND_bytes(random_bytes, append_byte_size);\n memcpy(attribs.input+tmplen, random_bytes, append_byte_size);\n tmplen+=append_byte_size;\n attribs.input_len = tmplen;\n\n // key\n Key_t::Init(&keyObj);\n keyObj.key = key;\n keyObj.len = 16;\n\n Result_t ret = Result_OK;\n do\n {\n if(encryption_mode)\n {\n attribs.iv = (uint8_t*)malloc(16);\n attribs.iv_len = 16;\n RAND_bytes(attribs.iv, 16);\n if( Result_OK!=cbc_encrypt(&attribs, &keyObj) )\n {\n ret = Result_Error;\n break;\n }\n }\n else\n {\n if( Result_OK!=ecb_encrypt(&attribs, &keyObj) )\n {\n ret = Result_Error;\n break;\n }\n }\n\n // Copy results\n memcpy(ct, attribs.output, attribs.output_len);\n *ct_len = attribs.output_len;\n *mode = encryption_mode;\n\n ret = Result_OK;\n } while(false);\n\n CryptoAttribs_t::Free(&attribs);\n return ret;\n}\n\nTCASE(set2_challange11)\n{\n // let's run it 1000 times\n for(size_t i=0; i<1000; ++i)\n {\n uint8_t plaintext[5*16] = {0};\n uint8_t ciphertext[7*16] = {0};\n uint8_t mode = 0xFF;\n uint8_t guessed_mode = 0xFF;\n uint32_t ciphertext_len = 7*16;\n\n // set data in blocks so that 5 blocks is 11111...\n memset(plaintext, 1, 5*16);\n Result_t ret = encryption_oracle(plaintext, 5*16, ciphertext, &ciphertext_len, &mode);\n CHECK(ret == Result_OK, (uint8_t*)\"Error occured on encryption\");\n CHECK(mode != 0xFF);\n\n guessed_mode = check_ciphertext(ciphertext, ciphertext_len);\n CHECK(mode == guessed_mode);\n }\n}\nTCASE_E\n\nTCASE(encrypt_padding_pkcs7)\n{\n uint8_t text[3] = {'D', 'E', 'F'};\n uint8_t expected_no_padding_dec[16] = {0};\n uint8_t iv[16] = {0};\n uint8_t key[16] = {0};\n\n // \"ABC\" must be padded with 13,13,13....\n memcpy(expected_no_padding_dec, text, 3);\n memset(expected_no_padding_dec+3, 13, 13);\n\n // key\n Key_t keyObj = {0};\n Key_t::Init(&keyObj);\n keyObj.key = key;\n keyObj.len = 16;\n\n CryptoAttribs_t attribs_enc;\n CryptoAttribs_t::Init(&attribs_enc);\n attribs_enc.input = &text[0];\n attribs_enc.input_len = 3;\n attribs_enc.iv = &iv[0];\n attribs_enc.iv_len = sizeof(iv);\n attribs_enc.operation = kEncrypt;\n attribs_enc.padding = kPadding_PKCS7;\n CHECK( Result_OK == cbc_encrypt(&attribs_enc, &keyObj) );\n CHECK( attribs_enc.output_len == 16, (uint8_t*) \"Wrong out size\");\n\n // Decrypt with openssl and no padding. Check padding value\n {\n CryptoAttribs_t attribs_openssl_dec;\n CryptoAttribs_t::Init(&attribs_openssl_dec);\n attribs_openssl_dec.input = attribs_enc.output;\n attribs_openssl_dec.input_len = attribs_enc.output_len;\n attribs_openssl_dec.iv = &iv[0];\n attribs_openssl_dec.iv_len = sizeof(iv);\n attribs_openssl_dec.operation = kDecrypt;\n attribs_openssl_dec.padding = kPadding_None;\n CHECK(OpenSSL::Cbc(&attribs_openssl_dec, &keyObj)==Result_OK);\n CHECK(attribs_openssl_dec.output_len==16, (uint8_t*)\"Ciphertext has wrong size\");\n CHECK( 0==memcmp( attribs_openssl_dec.output,\n expected_no_padding_dec,\n 16), (uint8_t*)\"Wrong padding decrypted\" );\n\n ::free(attribs_openssl_dec.output);\n }\n\n // Decrypt padding\n {\n CryptoAttribs_t attribs_dec;\n CryptoAttribs_t::Init(&attribs_dec);\n attribs_dec.input = attribs_enc.output;\n attribs_dec.input_len = attribs_enc.output_len;\n attribs_dec.iv = &iv[0];\n attribs_dec.iv_len = sizeof(iv);\n attribs_dec.operation = kDecrypt;\n attribs_dec.padding = kPadding_PKCS7;\n CHECK( Result_OK == cbc_decrypt(&attribs_dec, &keyObj) );\n CHECK(attribs_dec.output_len==3, (uint8_t*)\"Ciphertext has wrong size\");\n CHECK( 0==memcmp( attribs_dec.output,\n expected_no_padding_dec,\n 3), (uint8_t*)\"Wrong padding decrypted\" );\n\n ::free(attribs_dec.output);\n }\n ::free(attribs_enc.output);\n}\nTCASE_E\n\nTCASE(set2_challange12)\n{\n uint8_t CIPHERTEXT[] = \"Um9sbGluJyBpbiBteSA1LjAKV2l0aCBteSByYWctdG9wIGRvd24gc28gbXkg\"\n \"aGFpciBjYW4gYmxvdwpUaGUgZ2lybGllcyBvbiBzdGFuZGJ5IHdhdmluZyBq\"\n \"dXN0IHRvIHNheSBoaQpEaWQgeW91IHN0b3A/IE5vLCBJIGp1c3QgZHJvdmUg\"\n \"YnkK\";\n\n uint8_t HEX_STRING[sizeof CIPHERTEXT];\n uint8_t CONCAT_STRING[sizeof(CIPHERTEXT)*2];\n CryptoAttribs_t EncryptForBS;\n\n Key_t key;\n uint32_t hex_len = 0;\n hex_len = base64_to_hex(CIPHERTEXT, sizeof(CIPHERTEXT), HEX_STRING);\n\n \n}\nTCASE_E",
  524. "file": "/home/flowher/repos/MatasanoCrypto/sol/set2.c",
  525. "file_size": 15856,
  526. "file_write_time": 130934846398732372,
  527. "settings":
  528. {
  529. "buffer_size": 15861,
  530. "line_ending": "Unix"
  531. }
  532. }
  533. ],
  534. "build_system": "",
  535. "build_system_choices":
  536. [
  537. ],
  538. "build_varint": "",
  539. "command_palette":
  540. {
  541. "height": 375.0,
  542. "last_filter": "html",
  543. "selected_items":
  544. [
  545. [
  546. "html",
  547. "HTMLBeautify"
  548. ],
  549. [
  550. "markdown",
  551. "Markdown Preview: Preview in Browser"
  552. ],
  553. [
  554. "makdo",
  555. "Markdown HTML Preview"
  556. ],
  557. [
  558. "git",
  559. "Git: Pull"
  560. ],
  561. [
  562. "git pull",
  563. "Git: Pull"
  564. ],
  565. [
  566. "gitmode",
  567. "Set Syntax: GitMode > Graph"
  568. ],
  569. [
  570. "install",
  571. "Package Control: Install Package"
  572. ],
  573. [
  574. "git pul",
  575. "Git: Pull"
  576. ],
  577. [
  578. "pull",
  579. "Git: Pull"
  580. ],
  581. [
  582. "git update",
  583. "Git: Update Project Ignored Files"
  584. ],
  585. [
  586. "comment",
  587. "Snippet: comment-method-simple"
  588. ],
  589. [
  590. "comme",
  591. "Snippet: comment-simple"
  592. ],
  593. [
  594. "metho",
  595. "Snippet: comment-method"
  596. ],
  597. [
  598. "comm",
  599. "Toggle Comment"
  600. ],
  601. [
  602. "convert",
  603. "Indentation: Convert to Spaces"
  604. ],
  605. [
  606. "check",
  607. "Google Spell Check"
  608. ],
  609. [
  610. "newhfi",
  611. "Snippet: newhfile"
  612. ],
  613. [
  614. "newh",
  615. "Snippet: newhfile"
  616. ],
  617. [
  618. "git add",
  619. "Git: Add Current File"
  620. ],
  621. [
  622. "mard",
  623. "Markdown Preview: Preview in Browser"
  624. ],
  625. [
  626. "markdow",
  627. "Markdown Preview: Preview in Browser"
  628. ],
  629. [
  630. "bash",
  631. "Set Syntax: Shell Script (Bash)"
  632. ],
  633. [
  634. "snippet",
  635. "Snippet: comment"
  636. ],
  637. [
  638. "snipet: comment",
  639. "Snippet: comment-fix"
  640. ],
  641. [
  642. "git diff",
  643. "Git: Diff All Files"
  644. ],
  645. [
  646. "markdo",
  647. "Markdown Preview: Preview in Browser"
  648. ],
  649. [
  650. "makdown",
  651. "Markdown Preview: Preview in Browser"
  652. ],
  653. [
  654. "toggle ",
  655. "Toggle Comment"
  656. ],
  657. [
  658. "comment-me",
  659. "Snippet: comment-method-simple"
  660. ],
  661. [
  662. "togg",
  663. "Toggle Comment"
  664. ],
  665. [
  666. "tog",
  667. "Toggle Comment"
  668. ],
  669. [
  670. "method",
  671. "Snippet: comment-method-simple"
  672. ],
  673. [
  674. "comem",
  675. "Snippet: comment-method"
  676. ],
  677. [
  678. "mehto",
  679. "Snippet: comment-method"
  680. ],
  681. [
  682. "meth ",
  683. "Snippet: comment-method-simple"
  684. ],
  685. [
  686. "commen",
  687. "Snippet: comment-fix"
  688. ],
  689. [
  690. "Markdow",
  691. "Markdown Preview: Preview in Browser"
  692. ],
  693. [
  694. "markdon",
  695. "Markdown Preview: Preview in Browser"
  696. ],
  697. [
  698. "mark",
  699. "Markdown Preview: Preview in Browser"
  700. ],
  701. [
  702. "mardo",
  703. "Markdown Preview: Preview in Browser"
  704. ],
  705. [
  706. "mardk",
  707. "Markdown Preview: Preview in Browser"
  708. ],
  709. [
  710. "markd",
  711. "Markdown Preview: Preview in Browser"
  712. ],
  713. [
  714. "toggle",
  715. "Toggle Comment"
  716. ],
  717. [
  718. "python",
  719. "Set Syntax: Python"
  720. ],
  721. [
  722. "install ",
  723. "Package Control: Install Package"
  724. ],
  725. [
  726. "file na",
  727. "File Navigator: Open"
  728. ],
  729. [
  730. "rss",
  731. "rsync ssh: Initialize settings"
  732. ],
  733. [
  734. "diff",
  735. "Set Syntax: Diff"
  736. ],
  737. [
  738. "dif",
  739. "Set Syntax: Diff"
  740. ],
  741. [
  742. "c++",
  743. "Set Syntax: C++"
  744. ],
  745. [
  746. "remove",
  747. "Package Control: Remove Package"
  748. ],
  749. [
  750. "testcase ",
  751. "Snippet: boosttestcase"
  752. ],
  753. [
  754. "test_suite ",
  755. "Snippet: test_suite_boost"
  756. ],
  757. [
  758. "snipp ",
  759. "Snippet: class-..-(class)"
  760. ],
  761. [
  762. "toggle comment",
  763. "Toggle Comment"
  764. ],
  765. [
  766. "syntax pyt",
  767. "Set Syntax: Python"
  768. ],
  769. [
  770. "togle",
  771. "Toggle Comment"
  772. ],
  773. [
  774. "Comment",
  775. "Toggle Comment"
  776. ],
  777. [
  778. "Install",
  779. "Package Control: Install Package"
  780. ],
  781. [
  782. "key",
  783. "Preferences: Key Bindings - User"
  784. ],
  785. [
  786. "cmd",
  787. "Snippet: comment-method-simple"
  788. ],
  789. [
  790. "Convert",
  791. "Indentation: Convert to Spaces"
  792. ],
  793. [
  794. "boost",
  795. "Snippet: boosttestcase"
  796. ],
  797. [
  798. "newcpp ",
  799. "Snippet: newcppfile"
  800. ],
  801. [
  802. "boost_",
  803. "Snippet: boost_auto_test_case"
  804. ],
  805. [
  806. "newclas",
  807. "Snippet: newclass"
  808. ],
  809. [
  810. "fixture",
  811. "Snippet: new_boost_fixture_test_suite"
  812. ],
  813. [
  814. "conver",
  815. "Indentation: Convert to Spaces"
  816. ],
  817. [
  818. "convert to sp",
  819. "Indentation: Convert to Spaces"
  820. ],
  821. [
  822. "boost_test",
  823. "Snippet: boost_auto_test_case"
  824. ],
  825. [
  826. "boost_auto",
  827. "Snippet: boost_auto_test_case"
  828. ],
  829. [
  830. "snippet: new_",
  831. "Snippet: new_boost_auto_test_suite"
  832. ],
  833. [
  834. "spaces",
  835. "Indentation: Convert to Spaces"
  836. ],
  837. [
  838. "fin in",
  839. "Find: In..."
  840. ],
  841. [
  842. "line",
  843. "Line Ending: Unix"
  844. ],
  845. [
  846. "line ending",
  847. "Line Endings Unify"
  848. ],
  849. [
  850. "syntax",
  851. "Set Syntax: Textile"
  852. ],
  853. [
  854. "synta",
  855. "Set Syntax: Hex"
  856. ],
  857. [
  858. "fin",
  859. "Find: In Project"
  860. ],
  861. [
  862. "find i",
  863. "Find: In Project"
  864. ],
  865. [
  866. "find in",
  867. "Find: In Project"
  868. ],
  869. [
  870. "Find",
  871. "Find: In Project"
  872. ],
  873. [
  874. "sublim",
  875. "Preferences: SublimeClang Settings – User"
  876. ],
  877. [
  878. "sublime",
  879. "SublimeCodeIntel: Reset"
  880. ],
  881. [
  882. "package",
  883. "Package Control: Remove Package"
  884. ],
  885. [
  886. "sublimec",
  887. "Set Syntax: SublimeClangErrorPanel"
  888. ],
  889. [
  890. "install pa",
  891. "Package Control: Install Package"
  892. ],
  893. [
  894. "install p",
  895. "Package Control: Install Package"
  896. ],
  897. [
  898. "SublimeClang",
  899. "SublimeCodeIntel: Disable Plugin"
  900. ],
  901. [
  902. "packaage",
  903. "Package Control: Install Package"
  904. ],
  905. [
  906. "newfix",
  907. "Snippet: newfixture"
  908. ],
  909. [
  910. "snippet fix",
  911. "Snippet: comment-fix"
  912. ],
  913. [
  914. "Snippet: ",
  915. "Snippet: comments"
  916. ],
  917. [
  918. "Snippet: com",
  919. "Snippet: comments"
  920. ],
  921. [
  922. "COMM",
  923. "Toggle Comment"
  924. ],
  925. [
  926. "space",
  927. "Indentation: Convert to Spaces"
  928. ],
  929. [
  930. "hg add f",
  931. "Hg: Add Current File"
  932. ],
  933. [
  934. "hg ",
  935. "Hg: Addremove"
  936. ],
  937. [
  938. "hg",
  939. "Hg: Addremove"
  940. ],
  941. [
  942. "hg log",
  943. "Hg: Log All"
  944. ],
  945. [
  946. "ctags",
  947. "Package Control: List Packages"
  948. ],
  949. [
  950. "Packag",
  951. "Package Control: Install Package"
  952. ]
  953. ],
  954. "width": 453.0
  955. },
  956. "console":
  957. {
  958. "height": 200.0,
  959. "history":
  960. [
  961. "import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by) ",
  962. "saveConvDataInPartialMultiplexingCtxMap",
  963. "import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by) "
  964. ]
  965. },
  966. "distraction_free":
  967. {
  968. "menu_visible": true,
  969. "show_minimap": false,
  970. "show_open_files": false,
  971. "show_tabs": false,
  972. "side_bar_visible": false,
  973. "status_bar_visible": false
  974. },
  975. "expanded_folders":
  976. [
  977. "/home/flowher/repos/MatasanoCrypto",
  978. "/home/flowher/repos/MatasanoCrypto/sol",
  979. "/home/flowher/repos/MatasanoCrypto/src"
  980. ],
  981. "file_history":
  982. [
  983. "/home/flowher/repos/notes/coding/SOLID.md",
  984. "/home/flowher/repos/notes/crypto/eliptic.md",
  985. "/home/flowher/repos/MatasanoCrypto/sol/set2.h",
  986. "/home/flowher/repos/MatasanoCrypto/sol/set2.c",
  987. "/home/flowher/repos/MatasanoCrypto/src/enc_modes.c",
  988. "/home/flowher/repos/MatasanoCrypto/src/base64.cpp",
  989. "/home/flowher/repos/MatasanoCrypto/src/common.c",
  990. "/home/flowher/repos/MatasanoCrypto/src/base64.h",
  991. "/home/flowher/repos/notes/french/words/words",
  992. "/home/flowher/repos/notes/french/words/words.md",
  993. "/home/flowher/repos/MatasanoCrypto/src/main.cpp",
  994. "/home/flowher/rcars/releve.html",
  995. "/home/flowher/repos/MatasanoCrypto/src/pkcs7.c",
  996. "/home/flowher/repos/OpenCrypto/test/destest.c",
  997. "/home/flowher/repos/MatasanoCrypto/src/common.h",
  998. "/home/flowher/repos/MatasanoCrypto/sol/set1.cpp",
  999. "/home/flowher/repos/MatasanoCrypto/test.c",
  1000. "/home/flowher/repos/MatasanoCrypto/sol/set1.h",
  1001. "/home/flowher/repos/MatasanoCrypto/tst/utils.h",
  1002. "/home/flowher/repos/MatasanoCrypto/sol/etc/set2_t2.txt",
  1003. "/home/flowher/repos/MatasanoCrypto/src/xor.h",
  1004. "/home/flowher/repos/MatasanoCrypto/src/xor.c",
  1005. "/home/flowher/repos/MatasanoCrypto/src/xor_char_finder.cpp",
  1006. "/home/flowher/repos/MatasanoCrypto/src/enc_modes.h",
  1007. "/home/flowher/repos/MatasanoCrypto/Makefile",
  1008. "/home/flowher/repos/MatasanoCrypto/src/hamming.c",
  1009. "/home/flowher/repos/OpenCrypto/crypto/evp/evp_enc.c",
  1010. "/home/flowher/konto/list.txt",
  1011. "/home/flowher/repos/MatasanoCrypto/src/pkcs7.h",
  1012. "/home/flowher/test.c",
  1013. "/home/flowher/repos/OpenCrypto/util/incore",
  1014. "/home/flowher/test.cpp",
  1015. "/home/flowher/Work/goldfish_env/usr/bin/mkbootimg",
  1016. "/home/flowher/repos/MatasanoCrypto/out",
  1017. "/home/flowher/repos/OpenCrypto/crypto/err/err.c",
  1018. "/home/flowher/ripi_pass",
  1019. "/home/flowher/Work/zshrc",
  1020. "/home/flowher/repos/MatasanoCrypto/tst/utils.cpp",
  1021. "/home/flowher/Work/.source",
  1022. "/home/flowher/repos/MatasanoCrypto/src/cbc.c",
  1023. "/home/flowher/repos/MatasanoCrypto/src/cbc.h",
  1024. "/home/flowher/repos/MatasanoCrypto/src/xor_char_finder.h",
  1025. "/home/flowher/repos/MatasanoCrypto/suppressions.valgrind",
  1026. "/home/flowher/repos/MatasanoCrypto/src/ecb.c",
  1027. "/home/flowher/.config/sublime-text-3/Packages/User/Preferences.sublime-settings",
  1028. "/home/flowher/repos/MatasanoCrypto/prj/Matasano.sublime-project",
  1029. "/home/flowher/repos/MatasanoCrypto/sol/main.cpp",
  1030. "/home/flowher/repos/MatasanoCrypto/set2/cbc.h",
  1031. "/home/flowher/repos/MatasanoCrypto/set2/cbc.c",
  1032. "/home/flowher/repos/MatasanoCrypto/set1/ecb.c",
  1033. "/home/flowher/repos/MatasanoCrypto/utils/common.c",
  1034. "/home/flowher/repos/MatasanoCrypto/set2/runner.h",
  1035. "/home/flowher/repos/MatasanoCrypto/set2/runner.c",
  1036. "/home/flowher/repos/MatasanoCrypto/utils/xor.h",
  1037. "/home/flowher/repos/MatasanoCrypto/utils/common.h",
  1038. "/home/flowher/repos/MatasanoCrypto/set1/runner.cpp",
  1039. "/home/flowher/repos/MatasanoCrypto/set1/runner.h",
  1040. "/home/flowher/repos/MatasanoCrypto/utils/runner.h",
  1041. "/home/flowher/repos/MatasanoCrypto/main.cpp",
  1042. "/home/flowher/repos/MatasanoCrypto/utils/runner.cpp",
  1043. "/home/flowher/repos/MatasanoCrypto/set1/xor_char_finder.cpp",
  1044. "/home/flowher/repos/MatasanoCrypto/set1/xor_char_finder.h",
  1045. "/home/flowher/repos/MatasanoCrypto/utils/pkcs7.h",
  1046. "/home/flowher/repos/MatasanoCrypto/utils/pkcs7.c",
  1047. "/home/flowher/repos/MatasanoCrypto/utils/base64.cpp",
  1048. "/home/flowher/backup_server",
  1049. "/home/flowher/repos/notes/hacking/WPA.md",
  1050. "/home/flowher/repos/notes/hacking/WPA.mde",
  1051. "/home/flowher/server_snapshot.sh",
  1052. "/home/flowher/repos/MatasanoCrypto/utils/sets_runner.cpp",
  1053. "/home/flowher/repos/MatasanoCrypto/utils/utils_tester.cpp",
  1054. "/home/flowher/repos/MatasanoCrypto/utils/hamming.c",
  1055. "/home/flowher/repos/MatasanoCrypto/utils/base64.h",
  1056. "/home/flowher/repos/MatasanoCrypto/utils/sets_runner.h",
  1057. "/home/flowher/test.md",
  1058. "/home/flowher/repos/MatasanoCrypto/etc/set1_t6.txt",
  1059. "/home/flowher/.config/sublime-text-3/Packages/User/comment-method.sublime-snippet",
  1060. "/home/flowher/colis.txt",
  1061. "/home/flowher/repos/MatasanoCrypto/utils/hamming.h",
  1062. "/home/flowher/repos/MatasanoCrypto/utils/hex_to_base64.cpp",
  1063. "/home/flowher/repos/MatasanoCrypto/utils/hex_to_base64.h",
  1064. "/home/flowher/repos/MatasanoCrypto/utils/xor.c",
  1065. "/home/kkwiatkowski/storage/91_Repositories/MatasanoCrypto/utils/xor.c",
  1066. "/home/kkwiatkowski/storage/91_Repositories/MatasanoCrypto/utils/hex_to_base64.cpp",
  1067. "/home/kkwiatkowski/storage/91_Repositories/MatasanoCrypto/set1/challenge3.h",
  1068. "/home/kkwiatkowski/storage/91_Repositories/MatasanoCrypto/set1/challenge3.cpp",
  1069. "/home/kkwiatkowski/.sublime",
  1070. "/home/kkwiatkowski/.config/sublime-text-3/Packages/User/comment.sublime-snippet",
  1071. "/home/kkwiatkowski/storage/91_Repositories/MatasanoCrypto/Makefile",
  1072. "/home/kkwiatkowski/storage/03_Education/04_Languages/French/Grammar_my_notes.md",
  1073. "/home/kkwiatkowski/amadeus_workdir/repos/02_SI/br_5-1/test/python/si/net/dispatcher.py",
  1074. "/home/kkwiatkowski/amadeus_workdir/repos/02_SI/br_5-1/agent/src/Dispatcher.cpp",
  1075. "/home/kkwiatkowski/amadeus_workdir/repos/02_SI/br_5-1/test/python/si/protocol/tcil/proxy.py",
  1076. "/home/kkwiatkowski/amadeus_workdir/repos/02_SI/br_5-1/test/python/si/net/message.py",
  1077. "/home/kkwiatkowski/amadeus_workdir/repos/02_SI/br_5-1/test/python/si/net/payload.py",
  1078. "/home/kkwiatkowski/amadeus_workdir/repos/02_SI/br_5-1/test/python/si/protocol/tcil/__init__.py",
  1079. "/home/kkwiatkowski/amadeus_workdir/repos/01_OTF/br_12-0/test/OTFRegression/etc/tcil.py",
  1080. "/home/kkwiatkowski/amadeus_workdir/repos/03_Components/CMG/CMG_br_12-0/Description.xml",
  1081. "/home/kkwiatkowski/amadeus_workdir/repos/03_Components/CMG/CMG_br_12-0/transport/src/tcil/ExtendedDataHandlerV2.cpp",
  1082. "/home/kkwiatkowski/amadeus_workdir/repos/03_Components/CMG/CMG_br_12-0/transport/src/tcil/ExtendedDataHandlerAbstractBase.cpp",
  1083. "/home/kkwiatkowski/amadeus_workdir/repos/03_Components/CMG/CMG_br_12-0/transport/src/tcil/ExtendedDataInterface.h",
  1084. "/home/kkwiatkowski/amadeus_workdir/repos/03_Components/CMG/CMG_br_12-0/transport/src/CMG_ConvMapperCIL.cpp",
  1085. "/home/kkwiatkowski/amadeus_workdir/repos/03_Components/CMG/CMG_br_12-0/transport/src/tcil/TransportControlTCIL.cpp",
  1086. "/home/kkwiatkowski/amadeus_workdir/repos/03_Components/CMG/CMG_br_12-0/transport/src/tcil/v2/ExtendedDataRemoteRecvConnector.h",
  1087. "/home/kkwiatkowski/amadeus_workdir/repos/03_Components/CMG/CMG_br_12-0/transport/src/tcil/v2/ExtendedData.cpp",
  1088. "/home/kkwiatkowski/amadeus_workdir/repos/03_Components/CMG/CMG_br_12-0/test/src/transport/TransportControlCILTest.cpp",
  1089. "/home/kkwiatkowski/storage/91_Repositories/openssl101j/include/openssl/ssl.h",
  1090. "/home/kkwiatkowski/amadeus_workdir/repos/02_SI/br_5-1/dusi/src/AMFConnectorEventHandler.cpp",
  1091. "/home/kkwiatkowski/amadeus_workdir/repos/02_SI/br_5-1/dusi/src/HTHSegmentationCache.cpp",
  1092. "/home/kkwiatkowski/amadeus_workdir/repos/03_Components/CMG/CMG_br_12-0/src/common/TraceMacros.h",
  1093. "/home/kkwiatkowski/amadeus_workdir/repos/02_SI/br_5-1/common/include/si/common/TraceMacros.h",
  1094. "/home/kkwiatkowski/amadeus_workdir/repos/Tracer_br_12-0-0/include/tracer/Trace.h",
  1095. "/home/kkwiatkowski/amadeus_workdir/repos/toolbox/bin/long_ssl_connect.py",
  1096. "/home/kkwiatkowski/amadeus_workdir/repos/toolbox/ssl/sslserver.py",
  1097. "/home/kkwiatkowski/server.key",
  1098. "/home/kkwiatkowski/server.crt",
  1099. "/home/kkwiatkowski/ssl_server.py",
  1100. "/home/kkwiatkowski/amadeus_workdir/repos/02_SI/br_5-1/test/regression/etc/loadcfg.py",
  1101. "/home/kkwiatkowski/amadeus_workdir/repos/02_SI/br_5-1/connector/src/SSLTrafficEventHandler.cpp",
  1102. "/home/kkwiatkowski/amadeus_workdir/repos/02_SI/br_5-1/connector/src/TrafficEventHandler.cpp",
  1103. "/home/kkwiatkowski/amadeus_workdir/repos/03_Components/ACF/br_12-0-0/src/reactor/EventHandler.cpp",
  1104. "/home/kkwiatkowski/amadeus_workdir/repos/01_OTF/br_12-0/include/otf/Event.h",
  1105. "/home/kkwiatkowski/storage/91_Repositories/openssl101j/crypto/evp/evp_enc.c",
  1106. "/home/kkwiatkowski/storage/91_Repositories/openssl101j/engines/engine_vector.mar",
  1107. "/home/kkwiatkowski/storage/91_Repositories/openssl101j/e_os.h",
  1108. "/home/kkwiatkowski/amadeus_workdir/repos/01_OTF/br_12-0/include/otf/api/TransactionContextInterface.h",
  1109. "/home/kkwiatkowski/amadeus_workdir/repos/01_OTF/br_12-0/include/otf/TransactionContext.h",
  1110. "/home/kkwiatkowski/amadeus_workdir/repos/Tracer_br_12-0-0/test/data/TestLg_IoReactorClosure_AsyncV3"
  1111. ],
  1112. "find":
  1113. {
  1114. "height": 36.0
  1115. },
  1116. "find_in_files":
  1117. {
  1118. "height": 90.0,
  1119. "where_history":
  1120. [
  1121. "/home/flowher/repos/MatasanoCrypto/",
  1122. "/home/flowher/repos/MatasanoCrypto/utils",
  1123. "/home/kkwiatkowski/amadeus_workdir/repos/02_SI/br_5-1/test/python/si",
  1124. "/home/kkwiatkowski/amadeus_workdir/repos/03_Components/CMG/CMG_br_12-0",
  1125. "/home/kkwiatkowski/storage/91_Repositories/openssl101j",
  1126. "/home/kkwiatkowski/amadeus_workdir/repos/03_Components/CMG/CMG_br_12-0/transport",
  1127. "/home/kkwiatkowski/amadeus_workdir/repos/openssl",
  1128. "/home/kkwiatkowski/amadeus_workdir/repos/01_OTF/br_13-0/",
  1129. "/home/kkwiatkowski/amadeus_workdir/repos/OTF/",
  1130. "/home/kkwiatkowski/amadeus_workdir/repos/Tracer_br_12-0-0",
  1131. "/home/kkwiatkowski/amadeus_workdir/repos/otf-perturbation-engine/injector",
  1132. "/home/kkwiatkowski/amadeus_workdir/repos/otf-perturbation-engine/src",
  1133. "/home/kkwiatkowski/amadeus_workdir/repos/02_SI/br_5-1/connector",
  1134. "/home/kkwiatkowski/amadeus_workdir/repos/03_Components/acf_ssl/br_12-0-1/test/old_tests",
  1135. "/home/kkwiatkowski/amadeus_workdir/repos/03_Components/acf_ssl/br_12-0-1",
  1136. "/home/kkwiatkowski/amadeus_workdir/repos/01_OTF/br_13-0/src/otf/backend",
  1137. "<anywhere>",
  1138. "<anywhere.",
  1139. "/home/kkwiatkowski/si/",
  1140. "/home/kkwiatkowski/si/agent/src",
  1141. "/home/kkwiatkowski/si/ccn/",
  1142. "",
  1143. "MI",
  1144. "/home/kkwiatkowski/si/",
  1145. "/home/kkwiatkowski/si/masteragent",
  1146. "/home/kkwiatkowski/si/config",
  1147. "/home/kkwiatkowski/si/ccn",
  1148. "/home/kkwiatkowski/si",
  1149. "/home/kkwiatkowski/01_projects/03_Components/CMG",
  1150. "/home/kkwiatkowski/si/",
  1151. "/home/kkwiatkowski/si/connector",
  1152. "/home/kkwiatkowski/si/",
  1153. "/home/kkwiatkowski/si/test/python/si",
  1154. "/home/kkwiatkowski/si/test/python/mocks",
  1155. "/home/kkwiatkowski/si/",
  1156. "/home/kkwiatkowski/si/common",
  1157. "<open files>,<open folders>,<open folders>",
  1158. "<open files>,<open folders>",
  1159. "~/si/",
  1160. "<open project>",
  1161. "<open files>,<open folders>",
  1162. "/home/kkwiatkowski/nas/si",
  1163. "/home/kkwiatkowski/nas/01_projects/03_Components/CMG/br_12-0",
  1164. "/home/kkwiatkowski/br_12-0",
  1165. "/home/kkwiatkowski/si/masteragent/magadm",
  1166. "/home/kkwiatkowski/si/config",
  1167. "/home/kkwiatkowski/si/masteragent",
  1168. "/home/kkwiatkowski/si/config",
  1169. "/home/kkwiatkowski/si/",
  1170. "/home/kkwiatkowski/si/config",
  1171. "/home/kkwiatkowski/si/process",
  1172. "/home/kkwiatkowski/si/agent",
  1173. "/home/kkwiatkowski/si/common",
  1174. "/home/kkwiatkowski/si/masteragent",
  1175. "/home/kkwiatkowski/si/common",
  1176. "/home/kkwiatkowski/si/config",
  1177. "/home/kkwiatkowski/si"
  1178. ]
  1179. },
  1180. "find_state":
  1181. {
  1182. "case_sensitive": false,
  1183. "find_history":
  1184. [
  1185. "load_base64_to_hex",
  1186. "derr",
  1187. "espoirs",
  1188. "défoncé",
  1189. "avenir",
  1190. "encode_oracle_test",
  1191. "encryption_oracle",
  1192. "pkcs7",
  1193. "set2_cha",
  1194. "cbc_decrypt_test",
  1195. "pkcs",
  1196. "ELLOW SUBMARINE",
  1197. "447",
  1198. "check_ciphertext",
  1199. "encryption_oracle",
  1200. "local_input_len",
  1201. "ecb_encrypt",
  1202. "CryptoAttribs_t",
  1203. "390",
  1204. "ERROR",
  1205. "error",
  1206. "end",
  1207. "crypt(",
  1208. "ALLOK",
  1209. "Cbc(",
  1210. "xor_repe",
  1211. "xor_repeatedly",
  1212. "encode_decode_openssl",
  1213. "attribs_openssl_dec",
  1214. "printf",
  1215. "outl",
  1216. "openssl_output_buff",
  1217. "EVP_CIPH_NO_PADDING",
  1218. "attribs->input_len",
  1219. "new_buf_len",
  1220. "padded_input",
  1221. "iv1",
  1222. "pkcs7_unpad",
  1223. "0xCAFECAFE",
  1224. "0xDEADBEEF",
  1225. "pkcs7_pad",
  1226. "aes",
  1227. "pkcs7_pad",
  1228. "pkcs7",
  1229. "mode",
  1230. "ciphetext",
  1231. "Result_Ok",
  1232. "Result_OK",
  1233. "Result_Ok",
  1234. "bs",
  1235. "crypt",
  1236. "crypt(",
  1237. "OZAP",
  1238. "cbc_enc_dec_test",
  1239. "attribs_enc",
  1240. " (",
  1241. "attribs_enc",
  1242. "cbc_attribs",
  1243. "attribs_openssl_dec",
  1244. "attribs_openssl_enc",
  1245. "attribs",
  1246. "attribs.",
  1247. "attribs",
  1248. "key",
  1249. "ctx",
  1250. "_ecb_H_",
  1251. "ecb_encrypt",
  1252. "==29586==",
  1253. "TCASE_E",
  1254. "getline",
  1255. "getdelim",
  1256. "i_buff_ptr",
  1257. " uint8_t* i_buff_ptr = (attribs->input)+(bs*i);\n",
  1258. "enc_attribs",
  1259. "exit",
  1260. "ecb_encrypt_decrypt",
  1261. "32",
  1262. "16",
  1263. "&ctx",
  1264. "ecb_encrypt",
  1265. "key->len",
  1266. "cbc_decrypt",
  1267. "attribs",
  1268. "OS_CHECK",
  1269. "set1_challenge_8_test",
  1270. "printf",
  1271. "ecb_encrypt",
  1272. "EVP_CIPHER_CTX_set_padding",
  1273. "ecb_decrypt",
  1274. "uint8_t",
  1275. "cbc_enc_dec_test",
  1276. "g++ ",
  1277. "memcpy",
  1278. "ecb_attribs->",
  1279. "Init",
  1280. "cbc_decrypt_test",
  1281. "load_base64_to_hex",
  1282. "cbc_decrypt_test",
  1283. "SET1_T7",
  1284. "SET1_T7_INPUT_FILE",
  1285. "attribs->",
  1286. "key->",
  1287. "kris",
  1288. "ecb_attribs->",
  1289. "tmpbuff",
  1290. "Cbc(",
  1291. "readr",
  1292. "uint8_t",
  1293. "free",
  1294. "FUNC_E",
  1295. "FUNC(",
  1296. "t4_input",
  1297. "ecb_decrypt",
  1298. "strlen",
  1299. "uint32_t",
  1300. "same_blocks",
  1301. "key",
  1302. "Key_t&",
  1303. "key",
  1304. "iv",
  1305. "attribs",
  1306. "16",
  1307. "iv",
  1308. "valgrind",
  1309. "ain)\n",
  1310. "==2596==",
  1311. "check(",
  1312. "__CHECK__"
  1313. ],
  1314. "highlight": true,
  1315. "in_selection": false,
  1316. "preserve_case": false,
  1317. "regex": false,
  1318. "replace_history":
  1319. [
  1320. "TCASE_E",
  1321. "TCASE(",
  1322. "CHECK(",
  1323. "RandomSleep",
  1324. "BOOST_CHECK",
  1325. "BOOST_CHECK_EQUAL",
  1326. "",
  1327. "MI",
  1328. "kColCcnConnectionCcnState",
  1329. "first",
  1330. "ConfigObject",
  1331. "",
  1332. "aThisCommand), getDefaultAsyncCmdResponseTimeout());",
  1333. "dumpConnectionNumber",
  1334. "flush",
  1335. "flushNewLine",
  1336. "getPadding()",
  1337. "updateCcnState",
  1338. "getHighestPrioCcnId(1)",
  1339. "addPrio",
  1340. "ConfigPublisher",
  1341. "",
  1342. "ConfigPublisher",
  1343. "_tableID",
  1344. "ConfigPublisher",
  1345. "setConnectorAvailable",
  1346. "isConnectorAvailable",
  1347. "_conAvailable",
  1348. "iConAvailable",
  1349. ";\n",
  1350. "WaitingSubscribersMap_t",
  1351. "createDefaultCcnStateRow",
  1352. "Mutex_t",
  1353. "typename Mutex_t",
  1354. "ObjectMap<T, U, W>",
  1355. "template <class T, class U, class W>",
  1356. "ConItemIDProvider",
  1357. "generateConIDItem",
  1358. "findConnectorRow",
  1359. "mapPepCcnArgs",
  1360. "createPepCcnKeyFinder",
  1361. "createConnectionAssigmentKeyFinder",
  1362. "CCN1_X",
  1363. ", getPublicationTable()",
  1364. "getPublicationTable()",
  1365. "Ccn",
  1366. "CCN_SAP",
  1367. ""
  1368. ],
  1369. "reverse": false,
  1370. "show_context": true,
  1371. "use_buffer2": true,
  1372. "whole_word": false,
  1373. "wrap": true
  1374. },
  1375. "groups":
  1376. [
  1377. {
  1378. "selected": 0,
  1379. "sheets":
  1380. [
  1381. {
  1382. "buffer": 0,
  1383. "file": "/home/flowher/repos/MatasanoCrypto/sol/set2.c",
  1384. "semi_transient": false,
  1385. "settings":
  1386. {
  1387. "buffer_size": 15861,
  1388. "regions":
  1389. {
  1390. },
  1391. "selection":
  1392. [
  1393. [
  1394. 15261,
  1395. 15261
  1396. ]
  1397. ],
  1398. "settings":
  1399. {
  1400. "function_name_status_row": 461,
  1401. "syntax": "Packages/C Improved/C Improved.tmLanguage",
  1402. "tab_size": 4,
  1403. "translate_tabs_to_spaces": true
  1404. },
  1405. "translation.x": 0.0,
  1406. "translation.y": 6489.0,
  1407. "zoom_level": 1.0
  1408. },
  1409. "stack_index": 0,
  1410. "type": "text"
  1411. }
  1412. ]
  1413. }
  1414. ],
  1415. "incremental_find":
  1416. {
  1417. "height": 25.0
  1418. },
  1419. "input":
  1420. {
  1421. "height": 31.0
  1422. },
  1423. "layout":
  1424. {
  1425. "cells":
  1426. [
  1427. [
  1428. 0,
  1429. 0,
  1430. 1,
  1431. 1
  1432. ]
  1433. ],
  1434. "cols":
  1435. [
  1436. 0.0,
  1437. 1.0
  1438. ],
  1439. "rows":
  1440. [
  1441. 0.0,
  1442. 1.0
  1443. ]
  1444. },
  1445. "menu_visible": true,
  1446. "output.clang_static_analyzer":
  1447. {
  1448. "height": 0.0
  1449. },
  1450. "output.exec":
  1451. {
  1452. "height": 161.0
  1453. },
  1454. "output.find_results":
  1455. {
  1456. "height": 100.0
  1457. },
  1458. "output.git":
  1459. {
  1460. "height": 100.0
  1461. },
  1462. "output.git-commit":
  1463. {
  1464. "height": 112.0
  1465. },
  1466. "output.hex_viewer_inspector":
  1467. {
  1468. "height": 94.0
  1469. },
  1470. "output.hg":
  1471. {
  1472. "height": 100.0
  1473. },
  1474. "output.sftp":
  1475. {
  1476. "height": 0.0
  1477. },
  1478. "output.unsaved_changes":
  1479. {
  1480. "height": 188.0
  1481. },
  1482. "pinned_build_system": "",
  1483. "project": "Matasano.sublime-project",
  1484. "replace":
  1485. {
  1486. "height": 64.0
  1487. },
  1488. "save_all_on_build": true,
  1489. "select_file":
  1490. {
  1491. "height": 0.0,
  1492. "last_filter": "",
  1493. "selected_items":
  1494. [
  1495. [
  1496. "set2.h",
  1497. "MatasanoCrypto/sol/set2.h"
  1498. ],
  1499. [
  1500. "pkcs7c",
  1501. "MatasanoCrypto/src/pkcs7.c"
  1502. ],
  1503. [
  1504. "xor_cha",
  1505. "MatasanoCrypto/src/xor_char_finder.cpp"
  1506. ],
  1507. [
  1508. "common",
  1509. "MatasanoCrypto/src/common.c"
  1510. ],
  1511. [
  1512. "common.c",
  1513. "MatasanoCrypto/src/common.c"
  1514. ],
  1515. [
  1516. "common.h",
  1517. "MatasanoCrypto/src/common.h"
  1518. ],
  1519. [
  1520. "xor.h",
  1521. "MatasanoCrypto/utils/xor.h"
  1522. ],
  1523. [
  1524. "iedi.py",
  1525. "SI/test/python/si/protocol/iedi.py"
  1526. ],
  1527. [
  1528. "tcil.py",
  1529. "OTF-12/test/OTFRegression/etc/tcil.py"
  1530. ],
  1531. [
  1532. "proxy.py",
  1533. "SI/test/python/si/protocol/tcil/proxy.py"
  1534. ],
  1535. [
  1536. "extended",
  1537. "CMG-12/transport/src/tcil/ExtendedDataInterface.h"
  1538. ],
  1539. [
  1540. "macro",
  1541. "SI/common/include/si/common/TraceMacros.h"
  1542. ],
  1543. [
  1544. "trace",
  1545. "CMG-12/src/common/TraceMacros.h"
  1546. ],
  1547. [
  1548. "ssltrafficeventhandler",
  1549. "SI/connector/src/SSLTrafficEventHandler.cpp"
  1550. ],
  1551. [
  1552. "ssloption",
  1553. "ACF_SSL-12-0-1/include/acf/ssl/SSLOptions.h"
  1554. ],
  1555. [
  1556. "sslengine.cpp",
  1557. "ACF_SSL-12-0-1/src/SSLEngine.cpp"
  1558. ],
  1559. [
  1560. "ssltest.cpp",
  1561. "ACF_SSL-12-0-1/test/src/SSLSocketTest.cpp"
  1562. ],
  1563. [
  1564. "test.cpp",
  1565. "~/test.cpp"
  1566. ],
  1567. [
  1568. "tcpsocket.cpp",
  1569. "ACF-12/src/network/TCPSocket.cpp"
  1570. ],
  1571. [
  1572. "socket.cpp",
  1573. "ACF-12/src/network/Socket.cpp"
  1574. ],
  1575. [
  1576. "socket.h",
  1577. "ACF-12/include/acf/network/Socket.h"
  1578. ],
  1579. [
  1580. "acceptor.h",
  1581. "ACF-12/include/acf/network/Acceptor.h"
  1582. ],
  1583. [
  1584. "tcpacceptor",
  1585. "ACF-12/include/acf/network/TCPAcceptor.h"
  1586. ],
  1587. [
  1588. "srp.h",
  1589. "openssl101j/crypto/srp/srp.h"
  1590. ],
  1591. [
  1592. "sslsockettest.cpp",
  1593. "ACF_SSL-12-0-1/test/src/SSLSocketTest.cpp"
  1594. ],
  1595. [
  1596. "crypto.h",
  1597. "openssl101j/crypto/crypto.h"
  1598. ],
  1599. [
  1600. "ssl.h",
  1601. "openssl101j/ssl/ssl.h"
  1602. ],
  1603. [
  1604. "openssl.h",
  1605. "openssl101j/ssl/ssl.h"
  1606. ],
  1607. [
  1608. "staticinit.h",
  1609. "CMG-12/include/cmg/common/StaticInit.h"
  1610. ],
  1611. [
  1612. "export.h",
  1613. "OTF-12/include/otf/Export.h"
  1614. ],
  1615. [
  1616. "key.h",
  1617. "ACF_SSL-12-0-1/include/acf/ssl/Key.h"
  1618. ],
  1619. [
  1620. "certificatestore.h",
  1621. "ACF_SSL-12-0-1/include/acf/ssl/CertificateStore.h"
  1622. ],
  1623. [
  1624. "cmdconnector.h",
  1625. "SI/masteragent/magadm/CmdConnector.h"
  1626. ],
  1627. [
  1628. "configtool.h",
  1629. "SI/masteragent/include/si/mag/ConfigTool.h"
  1630. ],
  1631. [
  1632. "configtool.cpp",
  1633. "SI/masteragent/src/ConfigTool.cpp"
  1634. ],
  1635. [
  1636. "tabledesc",
  1637. "SI/config/src/model/TableDesc.cpp"
  1638. ],
  1639. [
  1640. "cmdconnector.cpp",
  1641. "SI/masteragent/magadm/CmdConnector.cpp"
  1642. ],
  1643. [
  1644. "table",
  1645. "SI/config/src/model/TableDesc.cpp"
  1646. ],
  1647. [
  1648. "cmg_normedconv",
  1649. "CMG-12/transport/include/CMG_NormedConvData.h"
  1650. ],
  1651. [
  1652. "stateless.cpp",
  1653. "OTF-12/test/src/regression1/Stateless.cpp"
  1654. ],
  1655. [
  1656. "cmg_normed",
  1657. "CMG-12/transport/include/CMG_NormedConvData.h"
  1658. ],
  1659. [
  1660. "cmg_mess",
  1661. "CMG-12/transport/include/CMG_Message.h"
  1662. ],
  1663. [
  1664. "inboundedif",
  1665. "OTF-12/include/otf/InboundEdifactMessage.h"
  1666. ],
  1667. [
  1668. "inboundedifa",
  1669. "OTF-12/src/otf/OTF_BE/message/InboundEdifactMessageImpl.h"
  1670. ],
  1671. [
  1672. "inboundedifactmessage",
  1673. "OTF-12/src/otf/OTF_BE/message/InboundEdifactMessageImpl.h"
  1674. ],
  1675. [
  1676. "inboundmessage",
  1677. "OTF-12/include/otf/InboundEdifactMessage.h"
  1678. ],
  1679. [
  1680. "inboundmessagei",
  1681. "OTF-12/src/otf/OTF_BE/message/InboundMessageImpl.h"
  1682. ],
  1683. [
  1684. "inboundmessageimpl.cpp",
  1685. "OTF-12/src/otf/OTF_BE/message/InboundMessageImpl.cpp"
  1686. ],
  1687. [
  1688. "inboundmessage.cpp",
  1689. "OTF-12/src/otf/api/InboundMessage.cpp"
  1690. ],
  1691. [
  1692. "inboundmessage.h",
  1693. "OTF-12/include/otf/InboundMessage.h"
  1694. ],
  1695. [
  1696. "ducommandgetconst",
  1697. "SI/du/include/si/du/CommandGetConStateExec.h"
  1698. ],
  1699. [
  1700. "ducommandgetconstate.cpp",
  1701. "SI/masteragent/src/DUCommandGetConState.cpp"
  1702. ],
  1703. [
  1704. "ssloptions.h",
  1705. "ACF_SSL-12-0-1/include/acf/ssl/SSLOptions.h"
  1706. ],
  1707. [
  1708. "ducommandgetcons",
  1709. "SI/masteragent/src/DUCommandGetConState.h"
  1710. ],
  1711. [
  1712. "ducommandgetconstate.h",
  1713. "SI/masteragent/src/DUCommandGetConState.h"
  1714. ],
  1715. [
  1716. "ducommandgetcon",
  1717. "SI/du/src/CommandGetConStateExec.cpp"
  1718. ],
  1719. [
  1720. "client.cpp",
  1721. "srp_client_server_implementation_with_openssl/client.cpp"
  1722. ],
  1723. [
  1724. "ssl_proce",
  1725. "srp_client_server_implementation_with_openssl/ssl_process.h"
  1726. ],
  1727. [
  1728. "server.cpp",
  1729. "srp_client_server_implementation_with_openssl/server.cpp"
  1730. ],
  1731. [
  1732. "s_server.c",
  1733. "openssl101j/apps/s_server.c"
  1734. ],
  1735. [
  1736. "sslenginei",
  1737. "ACF_SSL-12-0-1/src/SSLEngineInit.cpp"
  1738. ],
  1739. [
  1740. "020_chec",
  1741. "SI/test/regression/MAG/OPERATION/020_CheckConCAflag.play"
  1742. ],
  1743. [
  1744. "commandgetconstate",
  1745. "SI/du/src/CommandGetConStateExec.cpp"
  1746. ],
  1747. [
  1748. "ssloptions.cpp",
  1749. "ACF_SSL-12-0-1/src/SSLOptions.cpp"
  1750. ],
  1751. [
  1752. "cmdconnector",
  1753. "SI/masteragent/magadm/CmdConnector.cpp"
  1754. ],
  1755. [
  1756. "ssltrafficeven",
  1757. "SI/connector/src/SSLTrafficEventHandler.cpp"
  1758. ],
  1759. [
  1760. "connectioncheckcon",
  1761. "SI/connector/src/ConnectionCheckContext.cpp"
  1762. ],
  1763. [
  1764. "commandgetconstateexec.h",
  1765. "SI/du/include/si/du/CommandGetConStateExec.h"
  1766. ],
  1767. [
  1768. "commandgetconstateexec.cpp",
  1769. "SI/du/src/CommandGetConStateExec.cpp"
  1770. ],
  1771. [
  1772. "connectioncheck",
  1773. "SI/connector/include/si/cxn/ConnectionCheckContext.h"
  1774. ],
  1775. [
  1776. "localcone",
  1777. "SI/connector/src/LocalConnector.cpp"
  1778. ],
  1779. [
  1780. "commandgetconstateexec",
  1781. "SI/du/include/si/du/CommandGetConStateExec.h"
  1782. ],
  1783. [
  1784. "localconnector.cpp",
  1785. "SI/connector/src/LocalConnector.cpp"
  1786. ],
  1787. [
  1788. "localconnectionhan",
  1789. "SI/connector/src/LocalConnectionHandler.cpp"
  1790. ],
  1791. [
  1792. "localconne",
  1793. "SI/connector/src/LocalConnector.cpp"
  1794. ],
  1795. [
  1796. "configconnector.cpp",
  1797. "SI/du/src/config/ConfigConnector.cpp"
  1798. ],
  1799. [
  1800. "servicecontext.h",
  1801. "OTF-12/src/otf/OTF_BE/backendContext/ServiceContext.h"
  1802. ],
  1803. [
  1804. "serviceconte",
  1805. "OTF-12/src/otf/OTF_BE/backendContext/ServiceContext.cpp"
  1806. ],
  1807. [
  1808. "backru",
  1809. "SI/ccn/src/core/BackRoutingKeyStore.cpp"
  1810. ],
  1811. [
  1812. "srvhthsession.h",
  1813. "SI/server/include/si/srv/SrvHTHSession.hpp"
  1814. ],
  1815. [
  1816. "srvhthsessio",
  1817. "SI/server/src/SrvHTHSession.cpp"
  1818. ],
  1819. [
  1820. "userconvers",
  1821. "SI/server/conversationsrv/src/UserConversationData.cpp"
  1822. ],
  1823. [
  1824. "srvhthsession.cpp",
  1825. "SI/server/src/SrvHTHSession.cpp"
  1826. ],
  1827. [
  1828. "backrouting",
  1829. "SI/ccn/src/core/BackRoutingKeyStore.cpp"
  1830. ],
  1831. [
  1832. "configconnector",
  1833. "SI/du/src/config/ConfigConnector.cpp"
  1834. ],
  1835. [
  1836. "sei_ducommanddump",
  1837. "SI/dusi/src/SEI_DUCommandDumpConfigurationExec.cpp"
  1838. ],
  1839. [
  1840. "getconstateexec",
  1841. "SI/du/src/CommandGetConStateExec.cpp"
  1842. ],
  1843. [
  1844. "transactioncontext.h",
  1845. "OTF-12/include/otf/TransactionContext.h"
  1846. ],
  1847. [
  1848. "transactionconte",
  1849. "OTF-12/include/otf/api/TransactionContextInterface.h"
  1850. ],
  1851. [
  1852. "inboundedifac",
  1853. "br_12-0/include/otf/InboundEdifactMessage.h"
  1854. ],
  1855. [
  1856. "cmg_messageinfo",
  1857. "CMG-12/transport/include/CMG_MessageInfo.h"
  1858. ],
  1859. [
  1860. "inboundedifactmessageit",
  1861. "OTF-13/src/otf/api/interfacesInclude/otf/api/InboundEdifactMessageInterface.h"
  1862. ],
  1863. [
  1864. "inboundedi",
  1865. "OTF-13/include/otf/InboundEdifactMessage.h"
  1866. ],
  1867. [
  1868. "appsequence.cpp",
  1869. "OTF-13/src/otf/backend/core/AppSequence.cpp"
  1870. ],
  1871. [
  1872. "servicemanager.cpp",
  1873. "OTF-13/src/otf/backend/service/ServiceManager.cpp"
  1874. ],
  1875. [
  1876. "servicecontext.cpp",
  1877. "OTF-13/src/otf/backend/backendContext/ServiceContext.cpp"
  1878. ],
  1879. [
  1880. "dllhandelr.h",
  1881. "OTF-13/src/otf/backend/library/DllHandler.h"
  1882. ],
  1883. [
  1884. "dllhandelr.cpp",
  1885. "OTF-13/src/otf/backend/library/DllHandler.cpp"
  1886. ],
  1887. [
  1888. "transactioncontextinter",
  1889. "br_12-0/include/otf/api/TransactionContextInterface.h"
  1890. ],
  1891. [
  1892. "transactioncontextimpl.h",
  1893. "OTF-13/src/otf/backend/backendContext/TransactionContextImpl.h"
  1894. ],
  1895. [
  1896. "transactioncontextimpl",
  1897. "OTF-13/src/otf/backend/backendContext/TransactionContextImpl.cpp"
  1898. ],
  1899. [
  1900. "resources.h",
  1901. "OTF-13/include/otf/Resources.h"
  1902. ],
  1903. [
  1904. "resources.cpp",
  1905. "OTF-13/src/otf/api/Resources.cpp"
  1906. ],
  1907. [
  1908. "cmg_messageinfo.h",
  1909. "CMG-12/transport/include/CMG_MessageInfo.h"
  1910. ],
  1911. [
  1912. "cmg_messa",
  1913. "CMG-12/transport/include/CMG_Message.h"
  1914. ],
  1915. [
  1916. "dllcontext.h",
  1917. "OTF-13/src/otf/backend/backendContext/DllContext.h"
  1918. ],
  1919. [
  1920. "appseque",
  1921. "OTF-13/src/otf/backend/core/AppSequence.cpp"
  1922. ],
  1923. [
  1924. "servicepolicy.h",
  1925. "OTF-13/src/otf/backend/servicePolicy/ServicePolicy.h"
  1926. ],
  1927. [
  1928. "senderimpl.h",
  1929. "OTF-13/src/otf/backend/reply/SenderImpl.h"
  1930. ],
  1931. [
  1932. "sender.h",
  1933. "OTF-13/include/otf/Sender.h"
  1934. ],
  1935. [
  1936. "senderimpl",
  1937. "OTF-13/src/otf/backend/reply/SenderImpl.cpp"
  1938. ],
  1939. [
  1940. "sender.cpp",
  1941. "OTF-13/src/otf/api/Sender.cpp"
  1942. ],
  1943. [
  1944. "converter.cpp",
  1945. "OTF-13/src/otf/common/src/Converter.cpp"
  1946. ],
  1947. [
  1948. "inboundedifactmessageimp",
  1949. "OTF-13/src/otf/backend/message/InboundEdifactMessageImpl.cpp"
  1950. ],
  1951. [
  1952. "servicedef.h",
  1953. "OTF-13/src/otf/backend/service/ServiceDef.h"
  1954. ],
  1955. [
  1956. "inboundmessageim",
  1957. "OTF-13/src/otf/backend/message/InboundMessageImpl.h"
  1958. ],
  1959. [
  1960. "inboundmessageimpl.h",
  1961. "OTF-13/src/otf/backend/message/InboundMessageImpl.h"
  1962. ],
  1963. [
  1964. "payloadinter",
  1965. "OTF-13/src/otf/api/interfacesInclude/otf/api/PayloadInterface.h"
  1966. ],
  1967. [
  1968. "payloadimpl.h",
  1969. "OTF-13/src/otf/backend/message/PayloadImpl.h"
  1970. ],
  1971. [
  1972. "payloadutils.h",
  1973. "OTF-13/include/otf/PayloadUtils.h"
  1974. ],
  1975. [
  1976. "payload.h",
  1977. "OTF-13/include/otf/Payload.h"
  1978. ],
  1979. [
  1980. "inboundmessageinterface.h",
  1981. "OTF-13/src/otf/api/interfacesInclude/otf/api/InboundMessageInterface.h"
  1982. ],
  1983. [
  1984. "inboundedifactmessageinterface",
  1985. "OTF-13/src/otf/api/interfacesInclude/otf/api/InboundEdifactMessageInterface.h"
  1986. ],
  1987. [
  1988. "inboundme",
  1989. "OTF-13/include/otf/InboundMessage.h"
  1990. ],
  1991. [
  1992. "inboundedic",
  1993. "OTF-13/src/otf/api/InboundEdifactMessage.cpp"
  1994. ],
  1995. [
  1996. "server.go",
  1997. "mip/origin/pkg/oauth/server/server.go"
  1998. ],
  1999. [
  2000. "admincomm",
  2001. "SI/masteragent/magadm/AdminCommand.h"
  2002. ],
  2003. [
  2004. "localconnectionha",
  2005. "SI/connector/src/LocalConnectionHandler.cpp"
  2006. ]
  2007. ],
  2008. "width": 0.0
  2009. },
  2010. "select_project":
  2011. {
  2012. "height": 500.0,
  2013. "last_filter": "",
  2014. "selected_items":
  2015. [
  2016. ],
  2017. "width": 380.0
  2018. },
  2019. "select_symbol":
  2020. {
  2021. "height": 252.0,
  2022. "last_filter": "",
  2023. "selected_items":
  2024. [
  2025. [
  2026. "saveConvD",
  2027. "saveConvData"
  2028. ],
  2029. [
  2030. "Table_t",
  2031. "Table_t"
  2032. ],
  2033. [
  2034. "TableID_t",
  2035. "TableID_t"
  2036. ],
  2037. [
  2038. "ConfigEvent",
  2039. "ConfigEvent"
  2040. ],
  2041. [
  2042. "LogicalRoute",
  2043. "_si_router_LogicalRoute_h"
  2044. ],
  2045. [
  2046. "LogicalRou",
  2047. "LogicalRoute"
  2048. ],
  2049. [
  2050. "objectMap",
  2051. "_si_common_ObjectMap_h"
  2052. ],
  2053. [
  2054. "ConfigEventPu",
  2055. "_ConfigEventPublisherInterface_H_"
  2056. ],
  2057. [
  2058. "ObjectMap",
  2059. "_si_common_ObjectMap_h"
  2060. ],
  2061. [
  2062. "ConnectionHandler",
  2063. "ConnectionHandler"
  2064. ],
  2065. [
  2066. "ConnectorBase",
  2067. "ConnectorBaseInterface"
  2068. ],
  2069. [
  2070. "ConfigEvent_",
  2071. "_si_common_ConfigEvent_h"
  2072. ],
  2073. [
  2074. "StateEventDef",
  2075. "_si_common_StateEventDef_h"
  2076. ],
  2077. [
  2078. "DUStateRep",
  2079. "DUStateRepository"
  2080. ],
  2081. [
  2082. "DesiredState",
  2083. "getDesiredDUState"
  2084. ],
  2085. [
  2086. "addCcn",
  2087. "addCcn"
  2088. ],
  2089. [
  2090. "StateEvent",
  2091. "_si_common_StateEventDef_h"
  2092. ],
  2093. [
  2094. "Desired",
  2095. "getDesiredDUState"
  2096. ],
  2097. [
  2098. "DesiredState_",
  2099. "SIDesiredState_t"
  2100. ],
  2101. [
  2102. "ConfigEvent_h",
  2103. "_si_common_ConfigEvent_h"
  2104. ],
  2105. [
  2106. "SEI_Error",
  2107. "_SEI_Error_h"
  2108. ],
  2109. [
  2110. "kSEIErr_",
  2111. "kSEIErrOffset_SystemState"
  2112. ],
  2113. [
  2114. "ConfigEventSubscriberInterface",
  2115. "ConfigEventSubscriberInterfacePtr"
  2116. ],
  2117. [
  2118. "hex",
  2119. "HexDump"
  2120. ],
  2121. [
  2122. "GetConItem",
  2123. "GetConItem"
  2124. ],
  2125. [
  2126. "ConfigConne",
  2127. "_si_du_ConfigConnector_h"
  2128. ],
  2129. [
  2130. "ObjectRepo",
  2131. "ObjectRepository"
  2132. ],
  2133. [
  2134. "TableCcnSt",
  2135. "_si_model_TableCcnState_h"
  2136. ],
  2137. [
  2138. "TableCcn",
  2139. "_si_model_TableCCN_h"
  2140. ],
  2141. [
  2142. "Reposi",
  2143. "RepositoryBase"
  2144. ],
  2145. [
  2146. "OZAPTF",
  2147. "kColDCXAuthorizationAppliRef"
  2148. ],
  2149. [
  2150. "ToFindK",
  2151. "ModelMapperToFindKey"
  2152. ],
  2153. [
  2154. "ModelMapper",
  2155. "ModelMapperBase"
  2156. ],
  2157. [
  2158. "QuerySele",
  2159. "QuerySelect"
  2160. ],
  2161. [
  2162. "CmdCcn",
  2163. "CmdAddRmvCcn"
  2164. ],
  2165. [
  2166. "ToFind",
  2167. "ModelMapperToFindKey"
  2168. ],
  2169. [
  2170. "DeleteModel",
  2171. "DeleteModelMapper"
  2172. ],
  2173. [
  2174. "getConfigRow",
  2175. "getConfigRow"
  2176. ],
  2177. [
  2178. "CmdConnector",
  2179. "_si_magadm_CmdConnector_h"
  2180. ],
  2181. [
  2182. "REGISTER_COMMON_TABLES",
  2183. "REGISTER_COMMON_TABLES"
  2184. ],
  2185. [
  2186. "DataSchema",
  2187. "DataSchema"
  2188. ],
  2189. [
  2190. "DataSchem",
  2191. "DataSchema"
  2192. ],
  2193. [
  2194. "DataSche",
  2195. "_si_mag_DataSchema_h"
  2196. ],
  2197. [
  2198. "CcnConnector",
  2199. "_si_model_TableCcnConnector_h"
  2200. ],
  2201. [
  2202. "CcnConnection",
  2203. "_si_model_TableCcnConnection_h"
  2204. ],
  2205. [
  2206. "SEI_SystemStateRepos",
  2207. "~SEI_SystemStateRepository"
  2208. ],
  2209. [
  2210. "SEI_SystemState",
  2211. "SEI_SystemStateRepository"
  2212. ],
  2213. [
  2214. "TableCcnCon",
  2215. "_si_model_TableCcnConnection_h"
  2216. ],
  2217. [
  2218. "tableccnconn",
  2219. "_si_model_TableCcnConnection_h"
  2220. ],
  2221. [
  2222. "TableConnecto",
  2223. "_si_model_TableConnector_h"
  2224. ],
  2225. [
  2226. "TableDef_",
  2227. "_si_model_TableDef_h"
  2228. ],
  2229. [
  2230. "CcnState",
  2231. "kColCcnStateCcnRef"
  2232. ],
  2233. [
  2234. "Tableccnconn",
  2235. "_si_model_TableCcnConnection_h"
  2236. ],
  2237. [
  2238. "TableCcnState",
  2239. "_si_model_TableCcnState_h"
  2240. ],
  2241. [
  2242. "resolve",
  2243. "resolveDynamicColors"
  2244. ],
  2245. [
  2246. "TableDUNode",
  2247. "_si_model_TableDUNode_h"
  2248. ],
  2249. [
  2250. "TableDesc",
  2251. "TableDescDUList"
  2252. ],
  2253. [
  2254. "setFromModel",
  2255. "setFromModelMapperToFindKey"
  2256. ],
  2257. [
  2258. "CmdPublish",
  2259. "CmdPublishBase"
  2260. ],
  2261. [
  2262. "fillConfi",
  2263. "fillConfig"
  2264. ],
  2265. [
  2266. "handleMuxSrvConn",
  2267. "handleMuxSrvConnection"
  2268. ],
  2269. [
  2270. "canBestar",
  2271. "conCanBeStarted"
  2272. ],
  2273. [
  2274. "ConfigConnector",
  2275. "ConfigConnector"
  2276. ],
  2277. [
  2278. "InternalDCXPeakTokenInfo_t",
  2279. "InternalDCXPeakTokenInfo_t"
  2280. ],
  2281. [
  2282. "GraphTraversal",
  2283. "GraphTraversal"
  2284. ],
  2285. [
  2286. "GraphVisi",
  2287. "GraphVisitorDFS"
  2288. ],
  2289. [
  2290. "Selective",
  2291. "SelectiveDependencyVisitor"
  2292. ],
  2293. [
  2294. "ConfigEventProces",
  2295. "ConfigEventProcessor"
  2296. ],
  2297. [
  2298. "",
  2299. "DEFINE_FULLPUB"
  2300. ]
  2301. ],
  2302. "width": 728.0
  2303. },
  2304. "selected_group": 0,
  2305. "settings":
  2306. {
  2307. },
  2308. "show_minimap": false,
  2309. "show_open_files": true,
  2310. "show_tabs": false,
  2311. "side_bar_visible": true,
  2312. "side_bar_width": 198.0,
  2313. "status_bar_visible": true,
  2314. "template_settings":
  2315. {
  2316. }
  2317. }