Skip to content

Commit 8289f11

Browse files
authored
Merge pull request #12854 from devran01/add_psa_hash_func
Implement psa_hash_*() functions
2 parents 61c5c74 + 90ceefc commit 8289f11

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

components/TARGET_PSA/services/crypto/COMPONENT_SPE/psa_crypto_partition.c

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -160,25 +160,6 @@ psa_status_t psa_cipher_decrypt(psa_key_handle_t handle,
160160
return PSA_ERROR_NOT_SUPPORTED;
161161
}
162162

163-
psa_status_t psa_hash_compute(psa_algorithm_t alg,
164-
const uint8_t *input,
165-
size_t input_length,
166-
uint8_t *hash,
167-
size_t hash_size,
168-
size_t *hash_length)
169-
{
170-
return PSA_ERROR_NOT_SUPPORTED;
171-
}
172-
173-
psa_status_t psa_hash_compare(psa_algorithm_t alg,
174-
const uint8_t *input,
175-
size_t input_length,
176-
const uint8_t *hash,
177-
const size_t hash_length)
178-
{
179-
return PSA_ERROR_NOT_SUPPORTED;
180-
}
181-
182163
psa_status_t psa_mac_compute(psa_key_handle_t handle,
183164
psa_algorithm_t alg,
184165
const uint8_t *input,

0 commit comments

Comments
 (0)