Searched refs:outPriKey (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/ |
H A D | huks_adapter.c | 1580 static int32_t GetKeyPair(struct HksParamSet *outParamSet, Uint8Buff *outPriKey, Uint8Buff *outPubK… in GetKeyPair() argument 1608 …if (memcpy_s(outPriKey->val, outPriKey->length, priKeyParam->blob.data, priKeyParam->blob.size) !=… in GetKeyPair() 1612 outPriKey->length = priKeyParam->blob.size; in GetKeyPair() 1643 static int32_t GenerateKeyPair(Algorithm algo, Uint8Buff *outPriKey, Uint8Buff *outPubKey) in GenerateKeyPair() argument 1645 CHECK_PTR_RETURN_HAL_ERROR_CODE(outPriKey, "outPriKey"); in GenerateKeyPair() 1646 CHECK_PTR_RETURN_HAL_ERROR_CODE(outPriKey->val, "outPriKey->key"); in GenerateKeyPair() 1647 CHECK_LEN_ZERO_RETURN_ERROR_CODE(outPriKey->length, "outPriKey->keyLen"); in GenerateKeyPair() 1652 if (outPriKey->length != outPubKey->length) { in GenerateKeyPair() 1656 uint32_t keyLen = outPriKey->length; in GenerateKeyPair() 1667 2 * (sizeof(struct HksParam)) + outPriKey->length + outPubKey->length; in GenerateKeyPair() [all …]
|
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/ |
H A D | alg_defs.h | 127 typedef int32_t (*GenerateKeyPairFunc)(Algorithm algo, Uint8Buff *outPriKey, Uint8Buff *outPubKey);
|