9155 pkcs11: this statement may fall through

Review Request #888 - Created Feb. 20, 2018 and submitted

Information
Toomas Soome
illumos-gate
9155
2f96b60...
Reviewers
general
../common/metaAttrManager.c: In function 'get_master_attributes_by_template':
../common/metaAttrManager.c:138:10: error: this statement may fall through [-Werror=implicit-fallthrough=]
    found = B_TRUE;
    ~~~~~~^~~~~~~~
../common/metaAttrManager.c:139:3: note: here
   default:
   ^~~~~~~

/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:280:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   a2 = MP_DIGIT(a,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:281:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:282:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   a1 = MP_DIGIT(a,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:283:2: note: here
  case 1:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:288:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r2 = MP_DIGIT(b,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:289:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:290:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r1 = MP_DIGIT(b,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:291:2: note: here
  case 1:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c: In function 'ec_GFp_add_4':
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:363:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   a3 = MP_DIGIT(a,3);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:364:2: note: here
  case 3:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:365:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   a2 = MP_DIGIT(a,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:366:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:367:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   a1 = MP_DIGIT(a,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:368:2: note: here
  case 1:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:373:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r3 = MP_DIGIT(b,3);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:374:2: note: here
  case 3:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:375:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r2 = MP_DIGIT(b,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:376:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:377:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r1 = MP_DIGIT(b,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:378:2: note: here
  case 1:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c: In function 'ec_GFp_add_5':
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:457:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   a4 = MP_DIGIT(a,4);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:458:2: note: here
  case 4:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:459:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   a3 = MP_DIGIT(a,3);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:460:2: note: here
  case 3:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:461:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   a2 = MP_DIGIT(a,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:462:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:463:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   a1 = MP_DIGIT(a,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:464:2: note: here
  case 1:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:469:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r4 = MP_DIGIT(b,4);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:470:2: note: here
  case 4:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:471:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r3 = MP_DIGIT(b,3);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:472:2: note: here
  case 3:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:473:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r2 = MP_DIGIT(b,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:474:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:475:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r1 = MP_DIGIT(b,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:476:2: note: here
  case 1:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c: In function 'ec_GFp_add_6':
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:534:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   a5 = MP_DIGIT(a,5);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:535:2: note: here
  case 5:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:536:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   a4 = MP_DIGIT(a,4);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:537:2: note: here
  case 4:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:538:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   a3 = MP_DIGIT(a,3);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:539:2: note: here
  case 3:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:540:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   a2 = MP_DIGIT(a,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:541:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:542:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   a1 = MP_DIGIT(a,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:543:2: note: here
  case 1:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:548:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r5 = MP_DIGIT(b,5);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:549:2: note: here
  case 5:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:550:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r4 = MP_DIGIT(b,4);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:551:2: note: here
  case 4:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:552:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r3 = MP_DIGIT(b,3);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:553:2: note: here
  case 3:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:554:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r2 = MP_DIGIT(b,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:555:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:556:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r1 = MP_DIGIT(b,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:557:2: note: here
  case 1:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c: In function 'ec_GFp_sub_3':
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:625:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r2 = MP_DIGIT(a,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:626:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:627:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r1 = MP_DIGIT(a,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:628:2: note: here
  case 1:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:633:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   b2 = MP_DIGIT(b,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:634:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:635:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   b1 = MP_DIGIT(b,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:636:2: note: here
  case 1:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c: In function 'ec_GFp_sub_4':
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:709:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r3 = MP_DIGIT(a,3);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:710:2: note: here
  case 3:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:711:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r2 = MP_DIGIT(a,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:712:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:713:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r1 = MP_DIGIT(a,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:714:2: note: here
  case 1:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:719:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   b3 = MP_DIGIT(b,3);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:720:2: note: here
  case 3:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:721:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   b2 = MP_DIGIT(b,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:722:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:723:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   b1 = MP_DIGIT(b,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:724:2: note: here
  case 1:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c: In function 'ec_GFp_sub_5':
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:802:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r4 = MP_DIGIT(a,4);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:803:2: note: here
  case 4:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:804:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r3 = MP_DIGIT(a,3);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:805:2: note: here
  case 3:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:806:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r2 = MP_DIGIT(a,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:807:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:808:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r1 = MP_DIGIT(a,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:809:2: note: here
  case 1:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:814:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   b4 = MP_DIGIT(b,4);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:815:2: note: here
  case 4:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:816:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   b3 = MP_DIGIT(b,3);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:817:2: note: here
  case 3:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:818:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   b2 = MP_DIGIT(b,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:819:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:820:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   b1 = MP_DIGIT(b,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:821:2: note: here
  case 1:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c: In function 'ec_GFp_sub_6':
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:870:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r5 = MP_DIGIT(a,5);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:871:2: note: here
  case 5:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:872:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r4 = MP_DIGIT(a,4);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:873:2: note: here
  case 4:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:874:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r3 = MP_DIGIT(a,3);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:875:2: note: here
  case 3:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:876:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r2 = MP_DIGIT(a,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:877:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:878:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   r1 = MP_DIGIT(a,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:879:2: note: here
  case 1:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:884:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   b5 = MP_DIGIT(b,5);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:885:2: note: here
  case 5:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:886:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   b4 = MP_DIGIT(b,4);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:887:2: note: here
  case 4:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:888:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   b3 = MP_DIGIT(b,3);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:889:2: note: here
  case 3:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:890:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   b2 = MP_DIGIT(b,2);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:891:2: note: here
  case 2:
  ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:892:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   b1 = MP_DIGIT(b,1);
/code/illumos-gate/usr/src/common/crypto/ecc/ecl_gf.c:893:2: note: here
  case 1:
  ^~~~

/code/illumos-gate/usr/src/common/crypto/ecc/ecp_256.c:89:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a15 = MP_DIGIT(a,15);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_256.c:90:3: note: here
   case 15:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_256.c:91:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a14 = MP_DIGIT(a,14);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_256.c:92:3: note: here
   case 14:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_256.c:93:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a13 = MP_DIGIT(a,13);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_256.c:94:3: note: here
   case 13:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_256.c:95:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a12 = MP_DIGIT(a,12);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_256.c:96:3: note: here
   case 12:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_256.c:97:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a11 = MP_DIGIT(a,11);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_256.c:98:3: note: here
   case 11:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_256.c:99:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a10 = MP_DIGIT(a,10);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_256.c:100:3: note: here
   case 10:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_256.c:101:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a9 = MP_DIGIT(a,9);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_256.c:102:3: note: here
   case 9:
   ^~~~

/code/illumos-gate/usr/src/common/crypto/ecc/ecp_224.c: In function 'ec_GFp_nistp224_mod':
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_224.c:92:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a6b = MP_DIGIT(a, 13);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_224.c:93:3: note: here
   case 13:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_224.c:94:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a6a = MP_DIGIT(a, 12);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_224.c:95:3: note: here
   case 12:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_224.c:96:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a5b = MP_DIGIT(a, 11);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_224.c:97:3: note: here
   case 11:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_224.c:98:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a5a = MP_DIGIT(a, 10);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_224.c:99:3: note: here
   case 10:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_224.c:100:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a4b = MP_DIGIT(a, 9);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_224.c:101:3: note: here
   case 9:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_224.c:102:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a4a = MP_DIGIT(a, 8);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_224.c:103:3: note: here
   case 8:
   ^~~~

/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c: In function 'ec_GF2m_193_mul':
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:208:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a6 = MP_DIGIT(a, 6);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:209:3: note: here
   case 6:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:210:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a5 = MP_DIGIT(a, 5);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:211:3: note: here
   case 5:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:212:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a4 = MP_DIGIT(a, 4);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:214:3: note: here
   case 4:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:215:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a3 = MP_DIGIT(a, 3);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:216:3: note: here
   case 3:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:217:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a2 = MP_DIGIT(a, 2);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:218:3: note: here
   case 2:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:219:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a1 = MP_DIGIT(a, 1);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:220:3: note: here
   default:
   ^~~~~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:226:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b6 = MP_DIGIT(b, 6);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:227:3: note: here
   case 6:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:228:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b5 = MP_DIGIT(b, 5);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:229:3: note: here
   case 5:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:230:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b4 = MP_DIGIT(b, 4);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:232:3: note: here
   case 4:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:233:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b3 = MP_DIGIT(b, 3);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:234:3: note: here
   case 3:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:235:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b2 = MP_DIGIT(b, 2);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:236:3: note: here
   case 2:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:237:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b1 = MP_DIGIT(b, 1);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_193.c:238:3: note: here
   default:
   ^~~~~~~

/code/illumos-gate/usr/src/common/crypto/ecc/ecp_192.c:98:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a5b = MP_DIGIT(a, 11);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_192.c:99:3: note: here
   case 11:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_192.c:100:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a5a = MP_DIGIT(a, 10);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_192.c:101:3: note: here
   case 10:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_192.c:102:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a4b = MP_DIGIT(a, 9);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_192.c:103:3: note: here
   case 9:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_192.c:104:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a4a = MP_DIGIT(a, 8);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_192.c:105:3: note: here
   case 8:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_192.c:106:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a3b = MP_DIGIT(a, 7);
/code/illumos-gate/usr/src/common/crypto/ecc/ecp_192.c:107:3: note: here
   case 7:
   ^~~~

/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:199:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a5 = MP_DIGIT(a, 5);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:200:3: note: here
   case 5:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:201:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a4 = MP_DIGIT(a, 4);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:202:3: note: here
   case 4:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:203:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a3 = MP_DIGIT(a, 3);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:205:3: note: here
   case 3:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:206:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a2 = MP_DIGIT(a, 2);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:207:3: note: here
   case 2:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:208:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a1 = MP_DIGIT(a, 1);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:209:3: note: here
   default:
   ^~~~~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:215:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b5 = MP_DIGIT(b, 5);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:216:3: note: here
   case 5:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:217:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b4 = MP_DIGIT(b, 4);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:218:3: note: here
   case 4:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:219:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b3 = MP_DIGIT(b, 3);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:221:3: note: here
   case 3:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:222:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b2 = MP_DIGIT(b, 2);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:223:3: note: here
   case 2:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:224:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b1 = MP_DIGIT(b, 1);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_163.c:225:3: note: here
   default:
   ^~~~~~~

/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:227:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a7 = MP_DIGIT(a, 7);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:228:3: note: here
   case 7:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:229:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a6 = MP_DIGIT(a, 6);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:230:3: note: here
   case 6:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:231:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a5 = MP_DIGIT(a, 5);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:232:3: note: here
   case 5:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:233:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a4 = MP_DIGIT(a, 4);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:235:3: note: here
   case 4:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:236:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a3 = MP_DIGIT(a, 3);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:237:3: note: here
   case 3:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:238:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a2 = MP_DIGIT(a, 2);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:239:3: note: here
   case 2:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:240:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    a1 = MP_DIGIT(a, 1);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:241:3: note: here
   default:
   ^~~~~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:247:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b7 = MP_DIGIT(b, 7);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:248:3: note: here
   case 7:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:249:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b6 = MP_DIGIT(b, 6);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:250:3: note: here
   case 6:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:251:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b5 = MP_DIGIT(b, 5);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:252:3: note: here
   case 5:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:253:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b4 = MP_DIGIT(b, 4);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:255:3: note: here
   case 4:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:256:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b3 = MP_DIGIT(b, 3);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:257:3: note: here
   case 3:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:258:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b2 = MP_DIGIT(b, 2);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:259:3: note: here
   case 2:
   ^~~~
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:260:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    b1 = MP_DIGIT(b, 1);
/code/illumos-gate/usr/src/common/crypto/ecc/ec2_233.c:261:3: note: here
   default:
   ^~~~~~~

cc1: all warnings being treated as errors

  
Jason King
Sebastian Wiedenroth
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...