{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/1940","repository_url":"https://api.github.com/repos/ARMmbed/mbedtls","labels_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/1940/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/1940/comments","events_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/1940/events","html_url":"https://github.com/ARMmbed/mbedtls/issues/1940","id":350064714,"node_id":"MDU6SXNzdWUzNTAwNjQ3MTQ=","number":1940,"title":"all.sh fails for  64-bit ILP32, make, gcc","user":{"login":"RonEld","id":22030476,"node_id":"MDQ6VXNlcjIyMDMwNDc2","avatar_url":"https://avatars0.githubusercontent.com/u/22030476?v=4","gravatar_id":"","url":"https://api.github.com/users/RonEld","html_url":"https://github.com/RonEld","followers_url":"https://api.github.com/users/RonEld/followers","following_url":"https://api.github.com/users/RonEld/following{/other_user}","gists_url":"https://api.github.com/users/RonEld/gists{/gist_id}","starred_url":"https://api.github.com/users/RonEld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RonEld/subscriptions","organizations_url":"https://api.github.com/users/RonEld/orgs","repos_url":"https://api.github.com/users/RonEld/repos","events_url":"https://api.github.com/users/RonEld/events{/privacy}","received_events_url":"https://api.github.com/users/RonEld/received_events","type":"User","site_admin":false},"labels":[{"id":19280384,"node_id":"MDU6TGFiZWwxOTI4MDM4NA==","url":"https://api.github.com/repos/ARMmbed/mbedtls/labels/bug","name":"bug","color":"d93f0b","default":true},{"id":937148743,"node_id":"MDU6TGFiZWw5MzcxNDg3NDM=","url":"https://api.github.com/repos/ARMmbed/mbedtls/labels/component:%20Crypto","name":"component: Crypto","color":"F5F6CE","default":false},{"id":273990272,"node_id":"MDU6TGFiZWwyNzM5OTAyNzI=","url":"https://api.github.com/repos/ARMmbed/mbedtls/labels/mirrored","name":"mirrored","color":"ededed","default":false},{"id":434949040,"node_id":"MDU6TGFiZWw0MzQ5NDkwNDA=","url":"https://api.github.com/repos/ARMmbed/mbedtls/labels/tracking","name":"tracking","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-13T14:53:38Z","updated_at":"2018-08-13T15:54:54Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"\r\n### Description\r\n- Type: Bug\r\n- Priority: Major \r\n\r\n---------------------------------------------------------------\r\n## Bug\r\n\r\n**OS**  \r\nMbed linux\r\n\r\n**mbed TLS build:**  \r\nVersion: development\r\nOS version: Ubuntu 16.04\r\nConfiguration: please attach config.h file where possible  \r\nCompiler and options (if you used a pre-built binary, please indicate how you obtained it):  \r\nAdditional environment information:  \r\n\r\n**Expected behavior**   \r\nall.sh to succeed\r\n**Actual behavior**  \r\nall.sh fails when trying `64-bit ILP32, make, gcc`, in the rsa test.\r\nThe `ctr_drbg_seed function()` fails:\r\n~~~\r\n./test_suite_rsa \r\nRSA PKCS1 Verify v1.5 CAVS #1 ..................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #2 ..................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #3 ..................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #4 ..................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #5 ..................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #6 ..................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #7 ..................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #8 ..................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #9 ..................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #10 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #11 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #12 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #13 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #14 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #15 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #16 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #17 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #18 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #19 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #20 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #21 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #22 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #23 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #24 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #25 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #26 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #27 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #28 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #29 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #30 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #31 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #32 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #33 .................................... PASS\r\nRSA PKCS1 Verify v1.5 CAVS #34 .................................... PASS\r\nRSA PKCS1 Verify v1.5 padding too short ........................... PASS\r\nRSA PKCS1 Verify v1.5 reduced length encoding ..................... PASS\r\nRSA PKCS1 Verify v1.5 non-reduced length encoding #1 .............. PASS\r\nRSA PKCS1 Verify v1.5 non-reduced length encoding #2 .............. PASS\r\nRSA PKCS1 Verify v1.5 non-reduced length encoding #3 .............. PASS\r\nRSA PKCS1 Verify v1.5 non-reduced length encoding #4 .............. PASS\r\nRSA PKCS1 Verify v1.5 non-reduced length encoding #5 .............. PASS\r\nRSA PKCS1 Sign #1 (SHA512, 1536 bits RSA) ......................... PASS\r\nRSA PKCS1 Sign #1 Verify .......................................... PASS\r\nRSA PKCS1 Sign #2 (SHA256, 2048 bits RSA) ......................... PASS\r\nRSA PKCS1 Sign #2 Verify .......................................... PASS\r\nRSA PKCS1 Sign #2 Verify (Fail) ................................... PASS\r\nRSA PKCS1 Sign #3 (SHA224, 2048 bits RSA) ......................... PASS\r\nRSA PKCS1 Sign #3 Verify .......................................... PASS\r\nRSA PKCS1 Sign #4 (SHA384, 2048 bits RSA) ......................... PASS\r\nRSA PKCS1 Sign #4 Verify .......................................... PASS\r\nRSA PKCS1 Sign #5 (MD2, 2048 bits RSA) ............................ PASS\r\nRSA PKCS1 Sign #5 Verify .......................................... PASS\r\nRSA PKCS1 Sign #6 (MD4, 2048 bits RSA) ............................ PASS\r\nRSA PKCS1 Sign #6 Verify .......................................... PASS\r\nRSA PKCS1 Sign #7 (MD5, 2048 bits RSA) ............................ PASS\r\nRSA PKCS1 Sign #7 Verify .......................................... PASS\r\nRSA PKCS1 Sign #8 (RAW, 2048 bits RSA) ............................ PASS\r\nRSA PKCS1 Sign #8 Verify .......................................... PASS\r\nRSA PKCS1 Sign #8 Verify (Wrong raw hash) ......................... PASS\r\nRSA PKCS1 Sign #9 (Invalid Digest type) ........................... PASS\r\nRSA PKCS1 Sign #9 Verify (Invalid Digest type) .................... PASS\r\nRSA PKCS1 Sign #8 (Invalid padding type) .......................... PASS\r\nRSA PKCS1 Sign #8 Verify (Invalid padding type) ................... PASS\r\nRSA PKCS1 Encrypt #1 .............................................. PASS\r\nRSA PKCS1 Decrypt #1 (Verify) ..................................... PASS\r\nRSA PKCS1 Encrypt #2 (Data too large) ............................. PASS\r\nRSA PKCS1 Decrypt #2 (Data too small) ............................. PASS\r\nRSA PKCS1 Encrypt #3 (Invalid padding mode) ....................... PASS\r\nRSA PKCS1 Decrypt #3 (Invalid padding mode) ....................... PASS\r\nRSA PKCS1 Decrypt #4 (Output buffer too small) .................... PASS\r\nRSA Check empty private key ....................................... PASS\r\nRSA Check Private key #1 (Correct) ................................ PASS\r\nRSA Check Private key #2 (No P) ................................... PASS\r\nRSA Check Private key #3 (No Q) ................................... PASS\r\nRSA Check Private key #4 (No N) ................................... PASS\r\nRSA Check Private key #5 (No E) ................................... PASS\r\nRSA Check Private key #6 (No D) ................................... PASS\r\nRSA Check Private key #7 (No DP) .................................. PASS\r\nRSA Check Private key #8 (No DQ) .................................. PASS\r\nRSA Check Private key #9 (No QP) .................................. PASS\r\nRSA Check Private key #10 (Incorrect) ............................. PASS\r\nRSA Check Public key #1 (Correct) ................................. PASS\r\nRSA Check Public key #2 (Even N) .................................. PASS\r\nRSA Check Public key #3 (Even E) .................................. PASS\r\nRSA Check Public key #4 (N exactly 128 bits) ...................... PASS\r\nRSA Check Public key #5 (N smaller than 128 bits) ................. PASS\r\nRSA Check Public key #6 (N exactly 8192 bits) ..................... PASS\r\nRSA Check Public key #7 (N larger than 8192 bits) ................. PASS\r\nRSA Check Public key #8 (E exactly 2 bits) ........................ PASS\r\nRSA Check Public key #8 (E exactly 1 bits) ........................ PASS\r\nRSA Check Public key #8 (E exactly 64 bits) ....................... PASS\r\nRSA Check Public key #8 (E larger than 64 bits) ................... PASS\r\nRSA Check Public key #9 (E has size N-2) .......................... PASS\r\nRSA Check Public key #10 (E has size N) ........................... PASS\r\nRSA Check Public-Private key #1 (Correct) ......................... PASS\r\nRSA Check Public-Private key #2 (Public no N) ..................... PASS\r\nRSA Check Public-Private key #3 (Private no N) .................... PASS\r\nRSA Check Public-Private key #4 (N mismatch) ...................... PASS\r\nRSA Check Public-Private key #5 (E mismatch) ...................... PASS\r\nRSA Private (Correct) ............................................. PASS\r\nRSA Private (Data larger than N) .................................. PASS\r\nRSA Public (Correct) .............................................. PASS\r\nRSA Public (Data larger than N) ................................... PASS\r\nRSA Generate Key - 128bit key ..................................... FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 739, suites/test_suite_rsa.function\r\n\r\nRSA Generate Key (Number of bits too small) ....................... FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 739, suites/test_suite_rsa.function\r\n\r\nRSA Generate Key (Exponent too small) ............................. FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 739, suites/test_suite_rsa.function\r\n\r\nRSA Generate Key - 1024 bit key ................................... FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 739, suites/test_suite_rsa.function\r\n\r\nRSA Generate Key - 2048 bit key ................................... FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 739, suites/test_suite_rsa.function\r\n\r\nRSA Generate Key - 1025 bit key ................................... FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 739, suites/test_suite_rsa.function\r\n\r\nRSA Validate Params, toy example .................................. FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1158, suites/test_suite_rsa.function\r\n\r\nRSA Validate Params, toy example, N missing ....................... FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1158, suites/test_suite_rsa.function\r\n\r\nRSA Validate Params, toy example, E missing ....................... FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1158, suites/test_suite_rsa.function\r\n\r\nRSA Validate Params, toy example, corrupted ....................... FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1158, suites/test_suite_rsa.function\r\n\r\nRSA Validate Params, toy example, non-primes, no PRNG ............. FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1158, suites/test_suite_rsa.function\r\n\r\nRSA Validate Params, toy example, non-primes, PRNG ................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1158, suites/test_suite_rsa.function\r\n\r\nRSA Validate Params ............................................... FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1158, suites/test_suite_rsa.function\r\n\r\nRSA Validate Params, N missing .................................... FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1158, suites/test_suite_rsa.function\r\n\r\nRSA Validate Params, bad N ........................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1158, suites/test_suite_rsa.function\r\n\r\nRSA Validate Params, non-prime, no PRNG ........................... FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1158, suites/test_suite_rsa.function\r\n\r\nRSA Validate Params, non-prime, PRNG .............................. FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1158, suites/test_suite_rsa.function\r\n\r\nRSA Deduce Private, toy example ................................... PASS\r\nRSA Deduce Private, toy example, corrupted ........................ PASS\r\nRSA Deduce Private ................................................ PASS\r\nRSA Deduce Private, corrupted ..................................... PASS\r\nRSA Deduce Primes, toy example .................................... PASS\r\nRSA Deduce Primes, toy example, corrupted ......................... PASS\r\nRSA Deduce Moduli ................................................. PASS\r\nRSA Deduce Moduli, corrupted ...................................... PASS\r\nRSA Import (N,P,Q,D,E) ............................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (N,P,Q,D,E), inconsistent .............................. FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (N,P,Q,D,E), successive ................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (N,P,Q,D,E), successive, inconsistent .................. FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (-,P,Q,D,E) ............................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (-,P,Q,D,E), successive ................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (N,-,-,D,E) ............................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (N,-,-,D,E), succesive ................................. FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (N,P,Q,-,E) ............................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (N,P,Q,-,E), successive ................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (-,P,Q,-,E) ............................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (-,P,Q,-,E), successive ................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (N,-,Q,-,E) ............................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (N,-,Q,-,E), successive ................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (N,-,-,-,E), complete public key ....................... FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (N,-,-,-,E), complete public key, successive ........... FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (N,-,-,-,E), complete public key, corrupted ............ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import (N,-,-,-,E), complete public key, successive, corrupted  FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 894, suites/test_suite_rsa.function\r\n\r\nRSA Import Raw (N,P,Q,D,E), complete private key .................. FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1361, suites/test_suite_rsa.function\r\n\r\nRSA Import Raw (N,P,Q,D,E), successive ............................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1361, suites/test_suite_rsa.function\r\n\r\nRSA Import Raw (-,P,Q,D,E) ........................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1361, suites/test_suite_rsa.function\r\n\r\nRSA Import Raw (-,P,Q,D,E), successive ............................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1361, suites/test_suite_rsa.function\r\n\r\nRSA Import Raw (N,-,-,D,E) ........................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1361, suites/test_suite_rsa.function\r\n\r\nRSA Import Raw (N,-,-,D,E), successive ............................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1361, suites/test_suite_rsa.function\r\n\r\nRSA Import Raw (N,P,Q,-,E) ........................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1361, suites/test_suite_rsa.function\r\n\r\nRSA Import Raw (N,P,Q,-,E), successive ............................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1361, suites/test_suite_rsa.function\r\n\r\nRSA Import Raw (-,P,Q,-,E) ........................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1361, suites/test_suite_rsa.function\r\n\r\nRSA Import Raw (-,P,Q,-,E), successive ............................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1361, suites/test_suite_rsa.function\r\n\r\nRSA Import Raw (N,-,Q,-,E) ........................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1361, suites/test_suite_rsa.function\r\n\r\nRSA Import Raw (N,-,Q,-,E), successive ............................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1361, suites/test_suite_rsa.function\r\n\r\nRSA Import Raw (N,-,-,-,E) ........................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1361, suites/test_suite_rsa.function\r\n\r\nRSA Import Raw (N,-,-,-,E), successive ............................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1361, suites/test_suite_rsa.function\r\n\r\nRSA Import Raw (-,-,-,-,-) ........................................ FAILED\r\n  mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen( pers ) ) == 0\r\n  at line 1361, suites/test_suite_rsa.function\r\n\r\nRSA Export (N,P,Q,D,E) ............................................ PASS\r\nRSA Export (N,P,Q,D,E), successive ................................ PASS\r\nRSA Export (N,-,-,D,E) ............................................ PASS\r\nRSA Export (N,-,-,D,E), succesive ................................. PASS\r\nRSA Export (N,P,Q,-,E) ............................................ PASS\r\nRSA Export (N,P,Q,-,E), successive ................................ PASS\r\nRSA Export (N,-,-,-,E) ............................................ PASS\r\nRSA Export Raw (N,P,Q,D,E) ........................................ PASS\r\nRSA Export Raw (N,P,Q,D,E), successive ............................ PASS\r\nRSA Export Raw (N,-,-,D,E) ........................................ PASS\r\nRSA Export Raw (N,-,-,D,E), succesive ............................. PASS\r\nRSA Export Raw (N,P,Q,-,E) ........................................ PASS\r\nRSA Export Raw (N,P,Q,-,E), successive ............................ PASS\r\nRSA Export Raw (N,-,-,-,E) ........................................ PASS\r\nRSA PKCS1 Encrypt Bad RNG ......................................... PASS\r\nRSA Selftest ...................................................... PASS\r\n\r\n----------------------------------------------------------------------------\r\n~~~\r\n**Steps to reproduce**  \r\n\r\nrun `all.sh`\r\nor\r\n~~~\r\n> scripts/config.pl full\r\n> make CC=gcc CFLAGS='-Werror -Wall -Wextra -mx32'\r\n> make test\r\n~~~\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/comments/412567803","html_url":"https://github.com/ARMmbed/mbedtls/issues/1940#issuecomment-412567803","issue_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/1940","id":412567803,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjU2NzgwMw==","user":{"login":"ciarmcom","id":14747535,"node_id":"MDQ6VXNlcjE0NzQ3NTM1","avatar_url":"https://avatars0.githubusercontent.com/u/14747535?v=4","gravatar_id":"","url":"https://api.github.com/users/ciarmcom","html_url":"https://github.com/ciarmcom","followers_url":"https://api.github.com/users/ciarmcom/followers","following_url":"https://api.github.com/users/ciarmcom/following{/other_user}","gists_url":"https://api.github.com/users/ciarmcom/gists{/gist_id}","starred_url":"https://api.github.com/users/ciarmcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciarmcom/subscriptions","organizations_url":"https://api.github.com/users/ciarmcom/orgs","repos_url":"https://api.github.com/users/ciarmcom/repos","events_url":"https://api.github.com/users/ciarmcom/events{/privacy}","received_events_url":"https://api.github.com/users/ciarmcom/received_events","type":"User","site_admin":false},"created_at":"2018-08-13T15:54:54Z","updated_at":"2018-08-13T15:54:54Z","author_association":"MEMBER","body":"ARM Internal Ref: IOTSSL-2468"}}
{"actor":{"display_login":"ciarmcom"}}