Lines Matching refs:dispatch
80 …er, the goal is to make more code call PSA drivers where available. How dispatch is done is second…
195 …s before it calls `psa_crypto_init()`). A possible workaround may be to dispatch to the internal f…
246 …S_MD_SHA256` and `md` will dispatch to the legacy code, pass a new constant `MBEDTLS_MD_SHA256_USE…
293 …his would only save at best a very small amount of code size in the PSA dispatch code. This may be…
295 … PSA. However, this can simplify both the implementation and the use of dispatch code thanks to so…
352 ### Dual-dispatch for block cipher primitives
366 …ule, or a subset of the existing Cipher API, extended with the ability to dispatch to a PSA driver.
372 …ater (such as NIST-KW, CMAC, PKCS5 and PKCS12), we can just extend dual-dispatch support to other …
501 #### Support for PSA dispatch in hash operations
503 …orms some hash operation or context management needs to know whether to dispatch via PSA or legacy.
510 * Otherwise dispatch to the legacy module based on the type as currently done. (Skip this is `MBEDT…
511 * If no dispatch is possible, return `MBEDTLS_ERR_MD_FEATURE_UNAVAILABLE`.
575 is needed for PSA dispatch (see next section). Note: CCM and GCM currently
597 #### Block cipher dual dispatch
599 Support for dual dispatch in the new internal module `block_cipher` is extremely similar to that in…
612 Each function in the module needs to know whether to dispatch via PSA or legacy. All functions cons…