@@ -124,7 +124,7 @@ typedef struct otCryptoKey
124124 *
125125 * Stores the context object for platform APIs.
126126 *
127- * If `OPENTHREAD_CONFIG_PLATFORM_ALLOCS_CRYPTO_CONTEXTS ` is enabled, platform allocates and populates this.
127+ * If `OPENTHREAD_CONFIG_CRYPTO_PLATFORM_ALLOCS_CONTEXT ` is enabled, platform allocates and populates this.
128128 * Otherwise it is input.
129129 */
130130typedef struct otCryptoContext
@@ -328,7 +328,7 @@ void otPlatCryptoFree(void *aPtr);
328328 * @retval OT_ERROR_FAILED Failed to initialize HMAC operation.
329329 * @retval OT_ERROR_INVALID_ARGS @p aContext was NULL
330330 *
331- * @note If `OPENTHREAD_CONFIG_PLATFORM_ALLOCS_CRYPTO_CONTEXTS ` is enabled, @p aContext is output and platform MUST
331+ * @note If `OPENTHREAD_CONFIG_CRYPTO_PLATFORM_ALLOCS_CONTEXT ` is enabled, @p aContext is output and platform MUST
332332 * populate it. Otherwise @p aContext is input.
333333 *
334334 * @note The platform driver shall point the context to the correct object such as psa_mac_operation_t or
@@ -395,7 +395,7 @@ otError otPlatCryptoHmacSha256Finish(otCryptoContext *aContext, uint8_t *aBuf, s
395395 * @retval OT_ERROR_INVALID_ARGS @p aContext was NULL
396396 * @retval OT_ERROR_NO_BUFS Cannot allocate the context.
397397 *
398- * @note If `OPENTHREAD_CONFIG_PLATFORM_ALLOCS_CRYPTO_CONTEXTS ` is enabled, @p aContext is output and platform MUST
398+ * @note If `OPENTHREAD_CONFIG_CRYPTO_PLATFORM_ALLOCS_CONTEXT ` is enabled, @p aContext is output and platform MUST
399399 * populate it. Otherwise @p aContext is input.
400400 *
401401 * @note The platform driver shall point the context to the correct object such as psa_key_id
@@ -448,7 +448,7 @@ otError otPlatCryptoAesFree(otCryptoContext *aContext);
448448 * @retval OT_ERROR_FAILED Failed to Initialise AES operation.
449449 * @retval OT_ERROR_INVALID_ARGS @p aContext was NULL
450450 *
451- * @note If `OPENTHREAD_CONFIG_PLATFORM_ALLOCS_CRYPTO_CONTEXTS ` is enabled, @p aContext is output and platform MUST
451+ * @note If `OPENTHREAD_CONFIG_CRYPTO_PLATFORM_ALLOCS_CONTEXT ` is enabled, @p aContext is output and platform MUST
452452 * populate it. Otherwise @p aContext is input.
453453 *
454454 * @note The platform driver shall point the context to the correct object such as psa_key_derivation_operation_t
@@ -511,7 +511,7 @@ otError otPlatCryptoHkdfDeinit(otCryptoContext *aContext);
511511 * @retval OT_ERROR_FAILED Failed to initialise SHA-256 operation.
512512 * @retval OT_ERROR_INVALID_ARGS @p aContext was NULL
513513 *
514- * @note If `OPENTHREAD_CONFIG_PLATFORM_ALLOCS_CRYPTO_CONTEXTS ` is enabled, @p aContext is output and platform MUST
514+ * @note If `OPENTHREAD_CONFIG_CRYPTO_PLATFORM_ALLOCS_CONTEXT ` is enabled, @p aContext is output and platform MUST
515515 * populate it. Otherwise @p aContext is input.
516516 *
517517 * @note The platform driver shall point the context to the correct object such as psa_hash_operation_t
0 commit comments