Lines Matching defs:index
199 printf(" -k Key index for RSA signatures verification\n");
594 fprintf(stdout, " check (undefined key index)\n");
763 /* CSK index option */
805 int index;
824 for (index = 0; index < (CSK_ARR_SZ + 1); index++) {
826 mbedtls_pk_context *pk_ctx = (index == CSK_ARR_SZ) ?
828 &opts.sec_opts->csk_pk[index];
829 char *fname = (index == CSK_ARR_SZ) ?
831 opts.sec_opts->csk_key_file[index];
832 uint8_t *out_der_key = (index == CSK_ARR_SZ) ?
834 sec_ext.csk_keys[index];
842 if (opts.sec_opts->csk_index == index) {
844 "CSK file with index %d cannot be %s\n",
845 index, CSK_ARR_EMPTY_FILE);
847 } else if (index == CSK_ARR_SZ) {
923 for (index = 0; index < AES_KEY_BYTE_LEN; index++) {
925 opts.sec_opts->aes_key + index) != 1) {
928 index);