Home
last modified time | relevance | path

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

/modules/openthread/platform/
A 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()
345 if (!checkContext(aContext, sizeof(psa_hash_operation_t))) { in otPlatCryptoSha256Init()
359 if (!checkContext(aContext, sizeof(psa_hash_operation_t))) { in otPlatCryptoSha256Deinit()
[all …]

Completed in 7 milliseconds