Searched refs:drv_context (Results 1 – 5 of 5) sorted by relevance
/third_party/mbedtls/include/psa/ |
D | crypto_se_driver.h | 136 typedef psa_status_t (*psa_drv_se_init_t)(psa_drv_se_context_t *drv_context, 185 typedef psa_status_t (*psa_drv_se_mac_setup_t)(psa_drv_se_context_t *drv_context, 271 typedef psa_status_t (*psa_drv_se_mac_generate_t)(psa_drv_se_context_t *drv_context, 300 typedef psa_status_t (*psa_drv_se_mac_verify_t)(psa_drv_se_context_t *drv_context, 391 typedef psa_status_t (*psa_drv_se_cipher_setup_t)(psa_drv_se_context_t *drv_context, 491 typedef psa_status_t (*psa_drv_se_cipher_ecb_t)(psa_drv_se_context_t *drv_context, 559 typedef psa_status_t (*psa_drv_se_asymmetric_sign_t)(psa_drv_se_context_t *drv_context, 585 typedef psa_status_t (*psa_drv_se_asymmetric_verify_t)(psa_drv_se_context_t *drv_context, 623 typedef psa_status_t (*psa_drv_se_asymmetric_encrypt_t)(psa_drv_se_context_t *drv_context, 663 typedef psa_status_t (*psa_drv_se_asymmetric_decrypt_t)(psa_drv_se_context_t *drv_context, [all …]
|
/third_party/mbedtls/library/ |
D | psa_crypto_driver_wrappers.c | 273 psa_drv_se_context_t *drv_context; in psa_driver_wrapper_sign_hash() local 275 if( psa_get_se_driver( attributes->core.lifetime, &drv, &drv_context ) ) in psa_driver_wrapper_sign_hash() 284 drv_context, *( (psa_key_slot_number_t *)key_buffer ), in psa_driver_wrapper_sign_hash() 357 psa_drv_se_context_t *drv_context; in psa_driver_wrapper_verify_hash() local 359 if( psa_get_se_driver( attributes->core.lifetime, &drv, &drv_context ) ) in psa_driver_wrapper_verify_hash() 368 drv_context, *( (psa_key_slot_number_t *)key_buffer ), in psa_driver_wrapper_verify_hash() 758 psa_drv_se_context_t *drv_context; in psa_driver_wrapper_generate_key() local 760 if( psa_get_se_driver( attributes->core.lifetime, &drv, &drv_context ) ) in psa_driver_wrapper_generate_key() 770 drv_context, in psa_driver_wrapper_generate_key() 836 psa_drv_se_context_t *drv_context; in psa_driver_wrapper_import_key() local [all …]
|
D | psa_crypto_slot_management.c | 243 psa_drv_se_context_t *drv_context; in psa_load_persistent_key_into_slot() local 244 if (psa_get_se_driver(slot->attr.lifetime, &drv, &drv_context)) { in psa_load_persistent_key_into_slot()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_se_driver_hal_mocks.function | 114 static psa_status_t mock_init(psa_drv_se_context_t *drv_context, 118 (void) drv_context; 126 static psa_status_t mock_generate(psa_drv_se_context_t *drv_context, 133 (void) drv_context; 145 static psa_status_t mock_import(psa_drv_se_context_t *drv_context, 152 (void) drv_context; 243 psa_status_t mock_allocate(psa_drv_se_context_t *drv_context, 249 (void) drv_context;
|
/third_party/mbedtls/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers.c.jinja | 280 psa_drv_se_context_t *drv_context; 282 if( psa_get_se_driver( attributes->core.lifetime, &drv, &drv_context ) ) 291 drv_context, *( (psa_key_slot_number_t *)key_buffer ), 364 psa_drv_se_context_t *drv_context; 366 if( psa_get_se_driver( attributes->core.lifetime, &drv, &drv_context ) ) 375 drv_context, *( (psa_key_slot_number_t *)key_buffer ), 785 psa_drv_se_context_t *drv_context; 787 if( psa_get_se_driver( attributes->core.lifetime, &drv, &drv_context ) ) 797 drv_context, 872 psa_drv_se_context_t *drv_context; [all …]
|