Home
last modified time | relevance | path

Searched refs:key_ref (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_add_type/src/
Dmain.c34 struct bt_keys key_ref; in ZTEST() local
37 memset(&key_ref, 0x00, sizeof(struct bt_keys)); in ZTEST()
38 bt_keys_add_type(&key_ref, type); in ZTEST()
40 zassert_true(key_ref.keys == type, in ZTEST()
59 struct bt_keys key_ref; in ZTEST() local
62 memset(&key_ref, 0x00, sizeof(struct bt_keys)); in ZTEST()
63 bt_keys_add_type(&key_ref, type); in ZTEST()
65 zassert_true(key_ref.keys == expected_value, in ZTEST()
83 struct bt_keys key_ref; in ZTEST() local
86 memset(&key_ref, 0x00, sizeof(struct bt_keys)); in ZTEST()
[all …]
/Zephyr-latest/modules/openthread/platform/
Dcrypto_psa.c292 psa_key_id_t *key_ref; in otPlatCryptoAesInit() local
298 key_ref = aContext->mContext; in otPlatCryptoAesInit()
299 *key_ref = (psa_key_id_t)0; /* In TF-M 1.5.0 this can be replaced with PSA_KEY_ID_NULL */ in otPlatCryptoAesInit()
306 psa_key_id_t *key_ref; in otPlatCryptoAesSetKey() local
312 key_ref = aContext->mContext; in otPlatCryptoAesSetKey()
313 *key_ref = aKey->mKeyRef; in otPlatCryptoAesSetKey()
322 psa_key_id_t *key_ref; in otPlatCryptoAesEncrypt() local
329 key_ref = aContext->mContext; in otPlatCryptoAesEncrypt()
330 status = psa_cipher_encrypt(*key_ref, PSA_ALG_ECB_NO_PADDING, aInput, block_size, aOutput, in otPlatCryptoAesEncrypt()