Lines Matching defs:driver

1254     psa_se_drv_table_entry_t *driver;
1298 * from memory. If the key is opaque, we require the driver to
1318 driver = psa_get_se_driver_entry(slot->attr.lifetime);
1319 if (driver != NULL) {
1322 * key inside the secure element, and update the driver's
1343 status = psa_destroy_se_key(driver,
1364 if (driver != NULL) {
1365 status = psa_save_se_persistent_data(driver);
1671 * \param[out] p_drv On any return, the driver for the key, if any.
1741 * \param[out] p_drv On any return, the driver for the key, if any.
1802 * key inside the secure element, and update the driver's
1813 * secure element driver updates its persistent state, but we do not yet
1814 * save the driver's persistent state, so that if the power fails,
1862 * \param[in] driver The secure element driver for the key,
1881 psa_se_drv_table_entry_t *driver,
1886 (void) driver;
1896 if (driver != NULL) {
1927 if (driver != NULL &&
1929 status = psa_save_se_persistent_data(driver);
1968 * \param[in] driver The secure element driver for the key,
1972 psa_se_drv_table_entry_t *driver)
1974 (void) driver;
2047 psa_se_drv_table_entry_t *driver = NULL;
2068 &slot, &driver);
2119 status = psa_finish_key_creation(slot, driver, key);
2123 psa_fail_key_creation(slot, driver);
2135 psa_se_drv_table_entry_t *driver = NULL;
2141 * and the driver HAL doesn't currently support it. */
2150 &slot, &driver);
2155 status = psa_finish_key_creation(slot, driver, &key);
2159 psa_fail_key_creation(slot, driver);
2177 psa_se_drv_table_entry_t *driver = NULL;
2211 &target_slot, &driver);
2229 * - For transparent keys it is a blind copy without any driver invocation,
2262 status = psa_finish_key_creation(target_slot, driver, target_key);
2265 psa_fail_key_creation(target_slot, driver);
4276 * so we only set it (in the driver wrapper) after resources have been
4286 /* Try doing the operation through a driver before using software fallback. */
5915 /* We are passing prf_output_length as mac_size because the driver
6431 psa_se_drv_table_entry_t *driver = NULL;
6454 &slot, &driver);
6456 if (driver != NULL) {
6467 status = psa_finish_key_creation(slot, driver, key);
6470 psa_fail_key_creation(slot, driver);
7174 * mac_size as the driver function sets mac_output_length = mac_size
7501 * Calls the driver wrapper which will hand off key agreement task
7502 * to the driver's implementation if a driver is present.
7503 * Fallback specified in the driver wrapper is built-in raw key agreement
7922 psa_se_drv_table_entry_t *driver = NULL;
7950 &slot, &driver);
7995 status = psa_finish_key_creation(slot, driver, key);
7998 psa_fail_key_creation(slot, driver);
8605 /* Auxiliary function to convert core computation stage to single driver step. */
8639 with the driver context which will be setup by the driver. */
8652 /* Clear driver context */