Searched refs:psa_hash_operation_t (Results 1 – 5 of 5) sorted by relevance
18 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()
343 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()
24 typedef psa_hash_operation_t updatehub_crypto_context_t;
36 psa_hash_operation_t hash_ctx; in flash_area_check_int_sha256()
544 psa_hash_operation_t hash_handle = psa_hash_operation_init(); in crp_hash_payload()