Searched refs:aKey (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/modules/openthread/platform/ |
D | settings.c | 220 otError otPlatSettingsGet(otInstance *aInstance, uint16_t aKey, int aIndex, in otPlatSettingsGet() argument 234 LOG_DBG("%s Entry aKey %u aIndex %d", __func__, aKey, aIndex); in otPlatSettingsGet() 236 ret = snprintk(path, sizeof(path), "%s/%x", OT_SETTINGS_ROOT_KEY, aKey); in otPlatSettingsGet() 242 aKey, aIndex, ret); in otPlatSettingsGet() 246 LOG_DBG("aKey %u aIndex %d not found", aKey, aIndex); in otPlatSettingsGet() 253 otError otPlatSettingsSet(otInstance *aInstance, uint16_t aKey, in otPlatSettingsSet() argument 261 LOG_DBG("%s Entry aKey %u", __func__, aKey); in otPlatSettingsSet() 263 (void)ot_setting_delete_subtree(aKey, -1, false); in otPlatSettingsSet() 265 ret = snprintk(path, sizeof(path), "%s/%x", OT_SETTINGS_ROOT_KEY, aKey); in otPlatSettingsSet() 270 LOG_ERR("Failed to store setting %d, ret %d", aKey, ret); in otPlatSettingsSet() [all …]
|
D | crypto_psa.c | 130 otCryptoKeyStorage aKeyPersistence, const uint8_t *aKey, in otPlatCryptoImportKey() argument 136 unsigned char *p = (unsigned char *)aKey; in otPlatCryptoImportKey() 143 if (aKeyRef == NULL || aKey == NULL || !checkKeyUsage(aKeyUsage)) { in otPlatCryptoImportKey() 169 aKey = p; in otPlatCryptoImportKey() 188 status = psa_import_key(&attributes, aKey, aKeyLen, aKeyRef); in otPlatCryptoImportKey() 247 otError otPlatCryptoHmacSha256Start(otCryptoContext *aContext, const otCryptoKey *aKey) in otPlatCryptoHmacSha256Start() argument 252 if (aKey == NULL || !checkContext(aContext, sizeof(psa_mac_operation_t))) { in otPlatCryptoHmacSha256Start() 257 status = psa_mac_sign_setup(operation, aKey->mKeyRef, PSA_ALG_HMAC(PSA_ALG_SHA_256)); in otPlatCryptoHmacSha256Start() 304 otError otPlatCryptoAesSetKey(otCryptoContext *aContext, const otCryptoKey *aKey) in otPlatCryptoAesSetKey() argument 308 if (aKey == NULL || !checkContext(aContext, sizeof(psa_key_id_t))) { in otPlatCryptoAesSetKey() [all …]
|