/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/ |
D | alg_defs.h | 71 bool isAlias; member 80 …ComputeHmacFunc)(const Uint8Buff *key, const Uint8Buff *message, Uint8Buff *outHmac, bool isAlias); 83 Uint8Buff *outHkdf, bool isAlias); 92 const GcmParam *encryptInfo, bool isAlias, Uint8Buff *outCipher); 94 const GcmParam *decryptInfo, bool isAlias, Uint8Buff *outPlain); 118 Uint8Buff *outSignature, bool isAlias); 121 const Uint8Buff *signature, bool isAlias);
|
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/ |
D | huks_adapter.c | 199 …t32_t ComputeHmac(const Uint8Buff *key, const Uint8Buff *message, Uint8Buff *outHmac, bool isAlias) in ComputeHmac() argument 222 .boolParam = isAlias in ComputeHmac() 245 Uint8Buff *outHkdf, bool isAlias) in ComputeHkdf() argument 270 { .tag = HKS_TAG_IS_KEY_ALIAS, .boolParam = isAlias } in ComputeHkdf() 312 const GcmParam *encryptInfo, bool isAlias, Uint8Buff *outCipher) in AesGcmEncrypt() argument 345 .boolParam = isAlias in AesGcmEncrypt() 389 const GcmParam *decryptInfo, bool isAlias, Uint8Buff *outPlain) in AesGcmDecrypt() argument 422 .boolParam = isAlias in AesGcmDecrypt() 747 Uint8Buff *outSignature, bool isAlias) in Sign() argument 753 (void)isAlias; in Sign() [all …]
|
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/ |
D | huks_adapter.c | 179 …t32_t ComputeHmac(const Uint8Buff *key, const Uint8Buff *message, Uint8Buff *outHmac, bool isAlias) in ComputeHmac() argument 202 .boolParam = isAlias in ComputeHmac() 225 Uint8Buff *outHkdf, bool isAlias) in ComputeHkdf() argument 250 { .tag = HKS_TAG_IS_KEY_ALIAS, .boolParam = isAlias } in ComputeHkdf() 292 const GcmParam *encryptInfo, bool isAlias, Uint8Buff *outCipher) in AesGcmEncrypt() argument 325 .boolParam = isAlias in AesGcmEncrypt() 369 const GcmParam *decryptInfo, bool isAlias, Uint8Buff *outPlain) in AesGcmDecrypt() argument 402 .boolParam = isAlias in AesGcmDecrypt() 480 .boolParam = pubKey->isAlias in ConstructAgreeWithStorageParams() 551 .boolParam = priKey->isAlias in AgreeSharedSecret() [all …]
|
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/ |
D | huks_adapter.c | 181 …t32_t ComputeHmac(const Uint8Buff *key, const Uint8Buff *message, Uint8Buff *outHmac, bool isAlias) in ComputeHmac() argument 204 .boolParam = isAlias in ComputeHmac() 227 Uint8Buff *outHkdf, bool isAlias) in ComputeHkdf() argument 252 { .tag = HKS_TAG_IS_KEY_ALIAS, .boolParam = isAlias } in ComputeHkdf() 294 const GcmParam *encryptInfo, bool isAlias, Uint8Buff *outCipher) in AesGcmEncrypt() argument 327 .boolParam = isAlias in AesGcmEncrypt() 371 const GcmParam *decryptInfo, bool isAlias, Uint8Buff *outPlain) in AesGcmDecrypt() argument 404 .boolParam = isAlias in AesGcmDecrypt() 593 .boolParam = pubKey->isAlias in ConstructAgreeWithStorageParams() 673 .boolParam = priKey->isAlias in AgreeSharedSecret() [all …]
|
/base/security/device_auth/services/mk_agree/src/ |
D | key_manager.c | 153 static int32_t KeyDerivation(const Uint8Buff *baseAlias, const Uint8Buff *salt, bool isAlias, in KeyDerivation() argument 157 int32_t res = GetLoaderInstance()->computeHkdf(baseAlias, salt, &keyInfo, returnKey, isAlias); in KeyDerivation()
|
/base/security/device_auth/services/authenticators/src/account_related/auth/pake_v2_auth_task/ |
D | pake_v2_auth_task_common.c | 112 .isAlias = true in GenerateEcdhSharedKey() 117 .isAlias = false in GenerateEcdhSharedKey()
|
/base/security/device_auth/services/creds_manager/src/account_related/ |
D | account_related_creds_manager.c | 153 .isAlias = true in GetSharedSecretForAccountInPake() 164 .isAlias = false in GetSharedSecretForAccountInPake()
|