Home
last modified time | relevance | path

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

/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dhuks_adapter.c110 int32_t res = ConstructParamSet(&paramSet, digestParam, CAL_ARRAY_SIZE(digestParam)); in Sha256()
185 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in ComputeHmac()
207 res = ConstructParamSet(&paramSet, hmacParam, CAL_ARRAY_SIZE(hmacParam)); in ComputeHmac()
231 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in ComputeHkdf()
255 res = ConstructParamSet(&paramSet, hkdfParam, CAL_ARRAY_SIZE(hkdfParam)); in ComputeHkdf()
278 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckAesGcmEncryptParam()
331 res = ConstructParamSet(&paramSet, encryptParam, CAL_ARRAY_SIZE(encryptParam)); in AesGcmEncrypt()
355 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckAesGcmDecryptParam()
408 res = ConstructParamSet(&paramSet, decryptParam, CAL_ARRAY_SIZE(decryptParam)); in AesGcmDecrypt()
471 int32_t res = ConstructParamSet(initParamSet, agreeParamInit, CAL_ARRAY_SIZE(agreeParamInit)); in ConstructInitParamsP256()
[all …]
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/
Dhuks_adapter.c108 int32_t res = ConstructParamSet(&paramSet, digestParam, CAL_ARRAY_SIZE(digestParam)); in Sha256()
183 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in ComputeHmac()
205 res = ConstructParamSet(&paramSet, hmacParam, CAL_ARRAY_SIZE(hmacParam)); in ComputeHmac()
229 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in ComputeHkdf()
253 res = ConstructParamSet(&paramSet, hkdfParam, CAL_ARRAY_SIZE(hkdfParam)); in ComputeHkdf()
276 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckAesGcmEncryptParam()
329 res = ConstructParamSet(&paramSet, encryptParam, CAL_ARRAY_SIZE(encryptParam)); in AesGcmEncrypt()
353 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckAesGcmDecryptParam()
406 res = ConstructParamSet(&paramSet, decryptParam, CAL_ARRAY_SIZE(decryptParam)); in AesGcmDecrypt()
484 int32_t res = ConstructParamSet(paramSet, agreeParam, CAL_ARRAY_SIZE(agreeParam)); in ConstructAgreeWithStorageParams()
[all …]
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/
Dhuks_adapter.c128 int32_t res = ConstructParamSet(&paramSet, digestParam, CAL_ARRAY_SIZE(digestParam)); in Sha256()
203 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in ComputeHmac()
225 res = ConstructParamSet(&paramSet, hmacParam, CAL_ARRAY_SIZE(hmacParam)); in ComputeHmac()
249 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in ComputeHkdf()
273 res = ConstructParamSet(&paramSet, hkdfParam, CAL_ARRAY_SIZE(hkdfParam)); in ComputeHkdf()
296 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckAesGcmEncryptParam()
349 res = ConstructParamSet(&paramSet, encryptParam, CAL_ARRAY_SIZE(encryptParam)); in AesGcmEncrypt()
373 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckAesGcmDecryptParam()
426 res = ConstructParamSet(&paramSet, decryptParam, CAL_ARRAY_SIZE(decryptParam)); in AesGcmDecrypt()
449 return BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckImportSymmetricKeyParam()
[all …]
/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/
Dhuks_adapter.h26 #define CAL_ARRAY_SIZE(arr) ((sizeof(arr)) / (sizeof((arr)[0]))) macro