Home
last modified time | relevance | path

Searched refs:PSA_ALG_SHA_256 (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/subsys/jwt/
Djwt_psa.c29 psa_set_key_algorithm(&attr, PSA_ALG_ECDSA(PSA_ALG_SHA_256)); in jwt_sign_impl()
30 alg = PSA_ALG_ECDSA(PSA_ALG_SHA_256); in jwt_sign_impl()
33 psa_set_key_algorithm(&attr, PSA_ALG_RSA_PKCS1V15_SIGN(PSA_ALG_SHA_256)); in jwt_sign_impl()
34 alg = PSA_ALG_RSA_PKCS1V15_SIGN(PSA_ALG_SHA_256); in jwt_sign_impl()
/Zephyr-latest/modules/openthread/platform/
Dcrypto_psa.c58 return PSA_ALG_HMAC(PSA_ALG_SHA_256); in toPsaAlgorithm()
60 return PSA_ALG_DETERMINISTIC_ECDSA(PSA_ALG_SHA_256); in toPsaAlgorithm()
257 status = psa_mac_sign_setup(operation, aKey->mKeyRef, PSA_ALG_HMAC(PSA_ALG_SHA_256)); in otPlatCryptoHmacSha256Start()
378 return psaToOtError(psa_hash_setup(operation, PSA_ALG_SHA_256)); in otPlatCryptoSha256Start()
432 psa_set_key_algorithm(&attributes, PSA_ALG_DETERMINISTIC_ECDSA(PSA_ALG_SHA_256)); in otPlatCryptoEcdsaGenerateKey()
465 psa_set_key_algorithm(&attributes, PSA_ALG_DETERMINISTIC_ECDSA(PSA_ALG_SHA_256)); in otPlatCryptoEcdsaSign()
474 status = psa_sign_hash(key_id, PSA_ALG_DETERMINISTIC_ECDSA(PSA_ALG_SHA_256), aHash->m8, in otPlatCryptoEcdsaSign()
498 psa_set_key_algorithm(&attributes, PSA_ALG_DETERMINISTIC_ECDSA(PSA_ALG_SHA_256)); in otPlatCryptoEcdsaVerify()
513 status = psa_verify_hash(key_id, PSA_ALG_DETERMINISTIC_ECDSA(PSA_ALG_SHA_256), aHash->m8, in otPlatCryptoEcdsaVerify()
534 status = psa_sign_hash(aKeyRef, PSA_ALG_DETERMINISTIC_ECDSA(PSA_ALG_SHA_256), aHash->m8, in otPlatCryptoEcdsaSignUsingKeyRef()
[all …]
/Zephyr-latest/subsys/secure_storage/src/its/transform/
Daead_get.c33 BUILD_ASSERT(SHA256_OUTPUT_SIZE == PSA_HASH_LENGTH(PSA_ALG_SHA_256));
44 return psa_hash_compute(PSA_ALG_SHA_256, data, data_len, key, in hash_data_into_key()
48 const psa_status_t ret = psa_hash_compute(PSA_ALG_SHA_256, data, data_len, hash_output, in hash_data_into_key()
/Zephyr-latest/tests/arch/arm/arm_thread_swap_tz/src/
Dmain.c30 psa_status_t status = psa_hash_compute(PSA_ALG_SHA_256, dummy_string, sizeof(dummy_string), in do_hash()
70 psa_status_t status = psa_hash_compare(PSA_ALG_SHA_256, dummy_string, sizeof(dummy_string), in work_func()
/Zephyr-latest/subsys/net/lib/tls_credentials/
Dtls_credentials_digest_raw.c33 status = psa_hash_compute(PSA_ALG_SHA_256, credential->buf, credential->len, in credential_digest_raw()
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/
Dpsa_crypto.c118 psa_algorithm_t alg = PSA_ALG_ECDSA(PSA_ALG_SHA_256); in crp_imp_key_secp256r1()
230 psa_algorithm_t alg = PSA_ALG_ECDSA(PSA_ALG_SHA_256); in crp_gen_key_secp256r1()
545 psa_algorithm_t alg = PSA_ALG_SHA_256; in crp_hash_payload()
623 PSA_ALG_ECDSA(PSA_ALG_SHA_256), in crp_sign_hash()
687 PSA_ALG_ECDSA(PSA_ALG_SHA_256), in crp_verify_sign()
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub_integrity.c29 ret = psa_hash_setup(ctx, PSA_ALG_SHA_256); in updatehub_integrity_init()
/Zephyr-latest/subsys/storage/flash_map/
Dflash_map_integrity.c55 rc = psa_hash_setup(&hash_ctx, PSA_ALG_SHA_256); in flash_area_check_int_sha256()
/Zephyr-latest/samples/tfm_integration/tfm_secure_partition/dummy_partition/
Ddummy_partition.c48 status = psa_hash_compute(PSA_ALG_SHA_256, secrets[secret_index].secret, in tfm_dp_secret_digest()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
Dfs_mgmt_hash_checksum_sha256.c107 return psa_hash_setup(ctx, PSA_ALG_SHA_256); in hash_setup()
/Zephyr-latest/subsys/bluetooth/mesh/
Dcrypto_psa.c41 BUILD_ASSERT(PSA_MAC_LENGTH(PSA_KEY_TYPE_HMAC, 256, PSA_ALG_HMAC(PSA_ALG_SHA_256)) == 32,
182 psa_algorithm_t alg = PSA_ALG_HMAC(PSA_ALG_SHA_256); in bt_mesh_sha256_hmac_raw_key()
193 psa_set_key_algorithm(&attributes, PSA_ALG_HMAC(PSA_ALG_SHA_256)); in bt_mesh_sha256_hmac_raw_key()
/Zephyr-latest/subsys/net/ip/
Dtcp.c2319 psa_hash_compute(PSA_ALG_SHA_256, (const unsigned char *)&buf, sizeof(buf), in tcpv6_init_isn()
2355 psa_hash_compute(PSA_ALG_SHA_256, (const unsigned char *)&buf, sizeof(buf), in tcpv4_init_isn()