Lines Matching defs:slot
252 " parameter `psk` in a PSA-based key slot.\n" \
949 mbedtls_svc_key_id_t slot;
964 mbedtls_svc_key_id_t const slot = head->slot;
966 if (MBEDTLS_SVC_KEY_ID_GET_KEY_ID(slot) != 0) {
967 status = psa_destroy_key(slot);
1039 if (MBEDTLS_SVC_KEY_ID_GET_KEY_ID(cur->slot) != 0) {
1040 return mbedtls_ssl_set_hs_psk_opaque(ssl, cur->slot);
1133 unsigned slot;
1161 unsigned slot;
1177 for (slot = 0; slot < config_data->slots_used; slot++) {
1179 config_data->slots[slot].pk,
1184 if (slot == config_data->slots_used) {
1189 mbedtls_printf("Async %s callback: using key slot %u, delay=%u.\n",
1190 op_name, slot, config_data->slots[slot].delay);
1205 ctx->slot = slot;
1210 ctx->remaining_delay = config_data->slots[slot].delay;
1249 ssl_async_key_slot_t *key_slot = &config_data->slots[ctx->slot];
1255 mbedtls_printf("Async resume (slot %u): call %u more times.\n",
1256 ctx->slot, ctx->remaining_delay);
1276 "Async resume (slot %u): unknown operation type %ld. This shouldn't happen.\n",
1277 ctx->slot,
1293 mbedtls_printf("Async resume (slot %u): %s done, status=%d.\n",
1294 ctx->slot, op_name, ret);
1310 static psa_status_t psa_setup_psk_key_slot(mbedtls_svc_key_id_t *slot,
1323 status = psa_import_key(&key_attributes, psk, psk_len, slot);
1547 mbedtls_svc_key_id_t key_slot = MBEDTLS_SVC_KEY_ID_INIT; /* invalid key slot */
1548 mbedtls_svc_key_id_t key_slot2 = MBEDTLS_SVC_KEY_ID_INIT; /* invalid key slot */
1586 mbedtls_svc_key_id_t ecjpake_pw_slot = MBEDTLS_SVC_KEY_ID_INIT; /* ecjpake password key slot */
3216 status = psa_setup_psk_key_slot(&cur_psk->slot, alg,
4262 /* This is ok even if the slot hasn't been
4269 mbedtls_printf("Failed to destroy key slot %u - error was %d",