Searched refs:outEcPoint (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/ |
H A D | huks_adapter_diff_impl.c | 34 int32_t HashToPointX25519(const Uint8Buff *hash, Uint8Buff *outEcPoint) in HashToPointX25519() argument 37 struct HksBlob pointBlob = { outEcPoint->length, outEcPoint->val }; in HashToPointX25519()
|
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/common/ |
H A D | mbedtls_ec_adapter.c | 487 int32_t MbedtlsHashToPoint(const Uint8Buff *hash, Uint8Buff *outEcPoint) in MbedtlsHashToPoint() argument 492 CHECK_PTR_RETURN_HAL_ERROR_CODE(outEcPoint, "outEcPoint"); in MbedtlsHashToPoint() 493 CHECK_PTR_RETURN_HAL_ERROR_CODE(outEcPoint->val, "outEcPoint->val"); in MbedtlsHashToPoint() 494 CHECK_LEN_EQUAL_RETURN(outEcPoint->length, EC_LEN, "outEcPoint->length"); in MbedtlsHashToPoint() 501 .dataSize = outEcPoint->length, in MbedtlsHashToPoint() 502 .data = outEcPoint->val in MbedtlsHashToPoint() 514 int32_t MbedtlsHashToPoint25519(const Uint8Buff *hash, Uint8Buff *outEcPoint) in MbedtlsHashToPoint25519() argument 516 if (!IsValidUint8Buff(hash) || !IsValidUint8Buff(outEcPoint)) { in MbedtlsHashToPoint25519() 519 if (hash->length != BYTE_LENGTH_CURVE_25519 || outEcPoint->length != BYTE_LENGTH_CURVE_25519) { in MbedtlsHashToPoint25519() 528 …int status = Elligator(outEcPoint->val, BYTE_LENGTH_CURVE_25519, hashTmp, BYTE_LENGTH_CURVE_25519); in MbedtlsHashToPoint25519()
|
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/ |
H A D | huks_adapter_diff_impl.c | 34 int32_t HashToPointX25519(const Uint8Buff *hash, Uint8Buff *outEcPoint) in HashToPointX25519() argument 36 int32_t res = MbedtlsHashToPoint25519(hash, outEcPoint); in HashToPointX25519()
|
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/inc/ |
H A D | mbedtls_ec_adapter.h | 30 int32_t MbedtlsHashToPoint(const Uint8Buff *hash, Uint8Buff *outEcPoint); 31 int32_t MbedtlsHashToPoint25519(const Uint8Buff *hash, Uint8Buff *outEcPoint);
|
H A D | huks_adapter_diff_impl.h | 27 int32_t HashToPointX25519(const Uint8Buff *hash, Uint8Buff *outEcPoint);
|
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/ |
H A D | huks_adapter_diff_impl.c | 61 int32_t HashToPointX25519(const Uint8Buff *hash, Uint8Buff *outEcPoint) in HashToPointX25519() argument 63 int32_t res = MbedtlsHashToPoint25519(hash, outEcPoint); in HashToPointX25519()
|
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/ |
H A D | alg_defs.h | 113 typedef int32_t (*HashToPointFunc)(const Uint8Buff *hash, Algorithm algo, Uint8Buff *outEcPoint);
|
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/ |
H A D | huks_adapter.c | 1138 static int32_t HashToPoint(const Uint8Buff *hash, Algorithm algo, Uint8Buff *outEcPoint) in HashToPoint() argument 1143 CHECK_PTR_RETURN_HAL_ERROR_CODE(outEcPoint, "outEcPoint"); in HashToPoint() 1144 CHECK_PTR_RETURN_HAL_ERROR_CODE(outEcPoint->val, "outEcPoint->val"); in HashToPoint() 1152 return MbedtlsHashToPoint(hash, outEcPoint); in HashToPoint() 1155 CHECK_LEN_EQUAL_RETURN(outEcPoint->length, SHA256_LEN, "outEcPoint->length"); in HashToPoint() 1156 return HashToPointX25519(hash, outEcPoint); in HashToPoint()
|