Home
last modified time | relevance | path

Searched refs:psa_hash_operation_t (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
Dfs_mgmt_hash_checksum_sha256.c18 typedef psa_hash_operation_t hash_ctx_t;
104 static int hash_setup(psa_hash_operation_t *ctx) in hash_setup()
109 static int hash_update(psa_hash_operation_t *ctx, const uint8_t *input, size_t ilen) in hash_update()
113 static int hash_finish(psa_hash_operation_t *ctx, uint8_t *output) in hash_finish()
119 static void hash_teardown(psa_hash_operation_t *ctx) in hash_teardown()
/Zephyr-latest/modules/openthread/platform/
Dcrypto_psa.c343 psa_hash_operation_t *operation; in otPlatCryptoSha256Init()
345 if (!checkContext(aContext, sizeof(psa_hash_operation_t))) { in otPlatCryptoSha256Init()
357 psa_hash_operation_t *operation; in otPlatCryptoSha256Deinit()
359 if (!checkContext(aContext, sizeof(psa_hash_operation_t))) { in otPlatCryptoSha256Deinit()
370 psa_hash_operation_t *operation; in otPlatCryptoSha256Start()
372 if (!checkContext(aContext, sizeof(psa_hash_operation_t))) { in otPlatCryptoSha256Start()
383 psa_hash_operation_t *operation; in otPlatCryptoSha256Update()
385 if (aBuf == NULL || !checkContext(aContext, sizeof(psa_hash_operation_t))) { in otPlatCryptoSha256Update()
396 psa_hash_operation_t *operation; in otPlatCryptoSha256Finish()
399 if (aHash == NULL || !checkContext(aContext, sizeof(psa_hash_operation_t))) { in otPlatCryptoSha256Finish()
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub_integrity.h24 typedef psa_hash_operation_t updatehub_crypto_context_t;
/Zephyr-latest/subsys/storage/flash_map/
Dflash_map_integrity.c36 psa_hash_operation_t hash_ctx; in flash_area_check_int_sha256()
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/
Dpsa_crypto.c544 psa_hash_operation_t hash_handle = psa_hash_operation_init(); in crp_hash_payload()