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/ |
D | huks_adapter.c | 110 int32_t res = ConstructParamSet(¶mSet, digestParam, CAL_ARRAY_SIZE(digestParam)); in Sha256() 185 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in ComputeHmac() 207 res = ConstructParamSet(¶mSet, hmacParam, CAL_ARRAY_SIZE(hmacParam)); in ComputeHmac() 231 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in ComputeHkdf() 255 res = ConstructParamSet(¶mSet, hkdfParam, CAL_ARRAY_SIZE(hkdfParam)); in ComputeHkdf() 278 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckAesGcmEncryptParam() 331 res = ConstructParamSet(¶mSet, encryptParam, CAL_ARRAY_SIZE(encryptParam)); in AesGcmEncrypt() 355 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckAesGcmDecryptParam() 408 res = ConstructParamSet(¶mSet, 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/ |
D | huks_adapter.c | 108 int32_t res = ConstructParamSet(¶mSet, digestParam, CAL_ARRAY_SIZE(digestParam)); in Sha256() 183 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in ComputeHmac() 205 res = ConstructParamSet(¶mSet, hmacParam, CAL_ARRAY_SIZE(hmacParam)); in ComputeHmac() 229 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in ComputeHkdf() 253 res = ConstructParamSet(¶mSet, hkdfParam, CAL_ARRAY_SIZE(hkdfParam)); in ComputeHkdf() 276 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckAesGcmEncryptParam() 329 res = ConstructParamSet(¶mSet, encryptParam, CAL_ARRAY_SIZE(encryptParam)); in AesGcmEncrypt() 353 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckAesGcmDecryptParam() 406 res = ConstructParamSet(¶mSet, 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/ |
D | huks_adapter.c | 128 int32_t res = ConstructParamSet(¶mSet, digestParam, CAL_ARRAY_SIZE(digestParam)); in Sha256() 203 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in ComputeHmac() 225 res = ConstructParamSet(¶mSet, hmacParam, CAL_ARRAY_SIZE(hmacParam)); in ComputeHmac() 249 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in ComputeHkdf() 273 res = ConstructParamSet(¶mSet, hkdfParam, CAL_ARRAY_SIZE(hkdfParam)); in ComputeHkdf() 296 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckAesGcmEncryptParam() 349 res = ConstructParamSet(¶mSet, encryptParam, CAL_ARRAY_SIZE(encryptParam)); in AesGcmEncrypt() 373 int32_t res = BaseCheckParams(inParams, paramTags, CAL_ARRAY_SIZE(inParams)); in CheckAesGcmDecryptParam() 426 res = ConstructParamSet(¶mSet, 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/ |
D | huks_adapter.h | 26 #define CAL_ARRAY_SIZE(arr) ((sizeof(arr)) / (sizeof((arr)[0]))) macro
|