Searched refs:alg (Results 1 – 5 of 5) sorted by relevance
| /subsys/jwt/ |
| A D | jwt_psa.c | 24 psa_algorithm_t alg; in jwt_sign_impl() local 30 alg = PSA_ALG_ECDSA(PSA_ALG_SHA_256); in jwt_sign_impl() 34 alg = PSA_ALG_RSA_PKCS1V15_SIGN(PSA_ALG_SHA_256); in jwt_sign_impl() 43 status = psa_sign_message(key_id, alg, in jwt_sign_impl()
|
| /subsys/secure_storage/src/its/transform/ |
| A D | aead.c | 21 psa_algorithm_t alg; in psa_aead_crypt() local 23 size_t key_size, psa_algorithm_t alg, const uint8_t *nonce, in psa_aead_crypt() 28 secure_storage_its_transform_aead_get_scheme(&key_type, &alg); in psa_aead_crypt() 33 psa_set_key_algorithm(&key_attributes, alg); in psa_aead_crypt() 49 ret = aead_crypt(&key_attributes, key, sizeof(key), alg, nonce, in psa_aead_crypt()
|
| A D | aead_get.c | 23 void secure_storage_its_transform_aead_get_scheme(psa_key_type_t *key_type, psa_algorithm_t *alg) in secure_storage_its_transform_aead_get_scheme() argument 26 *alg = PSA_ALG; in secure_storage_its_transform_aead_get_scheme()
|
| /subsys/bluetooth/mesh/ |
| A D | crypto_psa.c | 87 psa_algorithm_t alg = PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_CCM, mic_size); in bt_mesh_ccm_encrypt() local 89 status = psa_aead_encrypt(key->key, alg, in bt_mesh_ccm_encrypt() 110 psa_algorithm_t alg = PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_CCM, mic_size); in bt_mesh_ccm_decrypt() local 112 status = psa_aead_decrypt(key->key, alg, in bt_mesh_ccm_decrypt() 130 psa_algorithm_t alg = PSA_ALG_CMAC; in bt_mesh_aes_cmac_mesh_key() local 133 status = psa_mac_sign_setup(&operation, key->key, alg); in bt_mesh_aes_cmac_mesh_key() 182 psa_algorithm_t alg = PSA_ALG_HMAC(PSA_ALG_SHA_256); in bt_mesh_sha256_hmac_raw_key() local 205 status = psa_mac_sign_setup(&operation, key_id, alg); in bt_mesh_sha256_hmac_raw_key()
|
| /subsys/secure_storage/include/internal/zephyr/secure_storage/its/transform/ |
| A D | aead_get.h | 23 void secure_storage_its_transform_aead_get_scheme(psa_key_type_t *key_type, psa_algorithm_t *alg);
|
Completed in 23 milliseconds