Searched refs:aKeyRef (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/modules/openthread/platform/ |
D | crypto_psa.c | 128 otError otPlatCryptoImportKey(otCryptoKeyRef *aKeyRef, otCryptoKeyType aKeyType, in otPlatCryptoImportKey() argument 143 if (aKeyRef == NULL || aKey == NULL || !checkKeyUsage(aKeyUsage)) { in otPlatCryptoImportKey() 181 psa_set_key_id(&attributes, *aKeyRef); in otPlatCryptoImportKey() 188 status = psa_import_key(&attributes, aKey, aKeyLen, aKeyRef); in otPlatCryptoImportKey() 194 otError otPlatCryptoExportKey(otCryptoKeyRef aKeyRef, uint8_t *aBuffer, size_t aBufferLen, in otPlatCryptoExportKey() argument 201 return psaToOtError(psa_export_key(aKeyRef, aBuffer, aBufferLen, aKeyLen)); in otPlatCryptoExportKey() 204 otError otPlatCryptoDestroyKey(otCryptoKeyRef aKeyRef) in otPlatCryptoDestroyKey() argument 206 return psaToOtError(psa_destroy_key(aKeyRef)); in otPlatCryptoDestroyKey() 209 bool otPlatCryptoHasKey(otCryptoKeyRef aKeyRef) in otPlatCryptoHasKey() argument 214 status = psa_get_key_attributes(aKeyRef, &attributes); in otPlatCryptoHasKey() [all …]
|