Home
last modified time | relevance | path

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

/Zephyr-latest/modules/openthread/platform/
Dcrypto_psa.c107 static bool checkContext(otCryptoContext *aContext, size_t aMinSize) in checkContext() function
224 if (!checkContext(aContext, sizeof(psa_mac_operation_t))) { in otPlatCryptoHmacSha256Init()
238 if (!checkContext(aContext, sizeof(psa_mac_operation_t))) { in otPlatCryptoHmacSha256Deinit()
252 if (aKey == NULL || !checkContext(aContext, sizeof(psa_mac_operation_t))) { in otPlatCryptoHmacSha256Start()
267 if (aBuf == NULL || !checkContext(aContext, sizeof(psa_mac_operation_t))) { in otPlatCryptoHmacSha256Update()
281 if (aBuf == NULL || !checkContext(aContext, sizeof(psa_mac_operation_t))) { in otPlatCryptoHmacSha256Finish()
294 if (!checkContext(aContext, sizeof(psa_key_id_t))) { in otPlatCryptoAesInit()
308 if (aKey == NULL || !checkContext(aContext, sizeof(psa_key_id_t))) { in otPlatCryptoAesSetKey()
325 if (aInput == NULL || aOutput == NULL || !checkContext(aContext, sizeof(psa_key_id_t))) { in otPlatCryptoAesEncrypt()
345 if (!checkContext(aContext, sizeof(psa_hash_operation_t))) { in otPlatCryptoSha256Init()
[all …]