Searched refs:x25519_key (Results 1 – 6 of 6) sorted by relevance
/aosp_15_r20/external/tink/cc/internal/ |
H A D | ec_util_test.cc | 227 util::StatusOr<std::unique_ptr<X25519Key>> x25519_key = NewX25519Key(); in TEST() local 228 ASSERT_THAT(x25519_key, IsOk()); in TEST() 229 EcKey ec_key = EcKeyFromX25519Key(x25519_key->get()); in TEST() 236 absl::MakeSpan((*x25519_key)->private_key, X25519KeyPrivKeySize()), in TEST() 240 absl::MakeSpan((*x25519_key)->public_value, X25519KeyPubKeySize()), in TEST() 246 util::StatusOr<std::unique_ptr<X25519Key>> x25519_key = NewX25519Key(); in TEST() local 247 ASSERT_THAT(x25519_key, IsOk()); in TEST() 250 absl::MakeSpan((*x25519_key)->private_key, X25519KeyPrivKeySize()); in TEST() 255 absl::MakeSpan((*x25519_key)->private_key, X25519KeyPrivKeySize()), in TEST() 259 absl::MakeSpan((*x25519_key)->public_value, X25519KeyPubKeySize()), in TEST()
|
H A D | ec_util.cc | 432 EcKey EcKeyFromX25519Key(const X25519Key *x25519_key) { in EcKeyFromX25519Key() argument 437 std::string(reinterpret_cast<const char *>(x25519_key->public_value), in EcKeyFromX25519Key() 439 ec_key.priv = util::SecretData(std::begin(x25519_key->private_key), in EcKeyFromX25519Key() 440 std::end(x25519_key->private_key)); in EcKeyFromX25519Key() 488 auto x25519_key = absl::make_unique<X25519Key>(); in X25519KeyFromEcKey() local 499 std::begin(x25519_key->public_value)); in X25519KeyFromEcKey() 501 std::begin(x25519_key->private_key)); in X25519KeyFromEcKey() 502 return std::move(x25519_key); in X25519KeyFromEcKey()
|
H A D | ec_util.h | 83 EcKey EcKeyFromX25519Key(const X25519Key *x25519_key);
|
/aosp_15_r20/external/tink/cc/subtle/ |
H A D | subtle_util_boringssl.h | 161 static inline EcKey EcKeyFromX25519Key(const X25519Key *x25519_key) { in EcKeyFromX25519Key() argument 162 return internal::EcKeyFromX25519Key(x25519_key); in EcKeyFromX25519Key()
|
/aosp_15_r20/system/keymint/common/src/crypto/ |
H A D | traits.rs | 379 Key::X25519(x25519_key) => self.x25519_public_key(x25519_key), in subject_public_key()
|
/aosp_15_r20/hardware/interfaces/security/keymint/aidl/vts/functional/ |
H A D | KeyMintTest.cpp | 532 string x25519_key = hex2str("680fc05dcd2f0431fd27f0af69df26f5e2b70943361dd293387e4c848dff2d42"); variable 4463 KeyFormat::RAW, x25519_key)); in TEST_P() 4507 KeyFormat::RAW, x25519_key)); in TEST_P() 4524 KeyFormat::PKCS8, x25519_key)); in TEST_P()
|