Home
last modified time | relevance | path

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

/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/
Dhuks_adapter.h44 #define CHECK_LEN_LOWER_RETURN(len, min, paramTag) \ macro
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/
Dhuks_adapter.c305 CHECK_LEN_LOWER_RETURN(encryptInfo->nonceLen, HKS_AE_NONCE_LEN, "nonceLen"); in CheckAesGcmEncryptParam()
306 CHECK_LEN_LOWER_RETURN(outCipher->length, plain->length + HKS_AE_TAG_LEN, "outCipher"); in CheckAesGcmEncryptParam()
382 CHECK_LEN_LOWER_RETURN(decryptInfo->nonceLen, HKS_AE_NONCE_LEN, "nonceLen"); in CheckAesGcmDecryptParam()
383 CHECK_LEN_LOWER_RETURN(outPlain->length, cipher->length - HKS_AE_TAG_LEN, "outPlain"); in CheckAesGcmDecryptParam()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/
Dhuks_adapter.c285 CHECK_LEN_LOWER_RETURN(encryptInfo->nonceLen, HKS_AE_NONCE_LEN, "nonceLen"); in CheckAesGcmEncryptParam()
286 CHECK_LEN_LOWER_RETURN(outCipher->length, plain->length + HKS_AE_TAG_LEN, "outCipher"); in CheckAesGcmEncryptParam()
362 CHECK_LEN_LOWER_RETURN(decryptInfo->nonceLen, HKS_AE_NONCE_LEN, "nonceLen"); in CheckAesGcmDecryptParam()
363 CHECK_LEN_LOWER_RETURN(outPlain->length, cipher->length - HKS_AE_TAG_LEN, "outPlain"); in CheckAesGcmDecryptParam()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dhuks_adapter.c287 CHECK_LEN_LOWER_RETURN(encryptInfo->nonceLen, HKS_AE_NONCE_LEN, "nonceLen"); in CheckAesGcmEncryptParam()
288 CHECK_LEN_LOWER_RETURN(outCipher->length, plain->length + HKS_AE_TAG_LEN, "outCipher"); in CheckAesGcmEncryptParam()
364 CHECK_LEN_LOWER_RETURN(decryptInfo->nonceLen, HKS_AE_NONCE_LEN, "nonceLen"); in CheckAesGcmDecryptParam()
365 CHECK_LEN_LOWER_RETURN(outPlain->length, cipher->length - HKS_AE_TAG_LEN, "outPlain"); in CheckAesGcmDecryptParam()