/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/signature/ |
H A D | EcdsaSignKeyManager.java | 26 import com.google.crypto.tink.proto.EcdsaKeyFormat; 121 public KeyTypeManager.KeyFactory<EcdsaKeyFormat, EcdsaPrivateKey> keyFactory() { in keyFactory() 122 return new KeyTypeManager.KeyFactory<EcdsaKeyFormat, EcdsaPrivateKey>(EcdsaKeyFormat.class) { in keyFactory() 124 public void validateKeyFormat(EcdsaKeyFormat format) throws GeneralSecurityException { in keyFactory() 129 public EcdsaKeyFormat parseKeyFormat(ByteString byteString) in keyFactory() 131 return EcdsaKeyFormat.parseFrom(byteString, ExtensionRegistryLite.getEmptyRegistry()); in keyFactory() 135 public EcdsaPrivateKey createKey(EcdsaKeyFormat format) throws GeneralSecurityException { in keyFactory() 161 public Map<String, KeyFactory.KeyFormat<EcdsaKeyFormat>> keyFormats() in keyFactory() 163 Map<String, KeyFactory.KeyFormat<EcdsaKeyFormat>> result = new HashMap<>(); in keyFactory() 318 EcdsaKeyFormat format = EcdsaKeyFormat.newBuilder().setParams(params).build(); [all …]
|
H A D | SignatureKeyTemplates.java | 19 import com.google.crypto.tink.proto.EcdsaKeyFormat; 240 EcdsaKeyFormat format = EcdsaKeyFormat.newBuilder().setParams(params).build(); in createEcdsaKeyTemplate()
|
H A D | EcdsaProtoSerialization.java | 263 com.google.crypto.tink.proto.EcdsaKeyFormat.newBuilder() in serializeParameters() 307 com.google.crypto.tink.proto.EcdsaKeyFormat format; in parseParameters() 310 com.google.crypto.tink.proto.EcdsaKeyFormat.parseFrom( in parseParameters()
|
/aosp_15_r20/external/tink/cc/signature/ |
H A D | ecdsa_sign_key_manager_test.cc | 49 using ::google::crypto::tink::EcdsaKeyFormat; 73 EXPECT_THAT(EcdsaSignKeyManager().ValidateKeyFormat(EcdsaKeyFormat()), in TEST() 77 EcdsaKeyFormat CreateValidKeyFormat() { in CreateValidKeyFormat() 78 EcdsaKeyFormat key_format; in CreateValidKeyFormat() 87 EcdsaKeyFormat format = CreateValidKeyFormat(); in TEST() 92 EcdsaKeyFormat format = CreateValidKeyFormat(); in TEST() 99 EcdsaKeyFormat format = CreateValidKeyFormat(); in TEST() 109 EcdsaKeyFormat format = CreateValidKeyFormat(); in TEST() 119 EcdsaKeyFormat format = CreateValidKeyFormat(); in TEST() 129 EcdsaKeyFormat format = CreateValidKeyFormat(); in TEST() [all …]
|
H A D | signature_key_templates_test.cc | 47 using google::crypto::tink::EcdsaKeyFormat; 66 EcdsaKeyFormat key_format; in TEST() 92 EcdsaKeyFormat key_format; in TEST() 119 EcdsaKeyFormat key_format; in TEST() 144 EcdsaKeyFormat key_format; in TEST() 169 EcdsaKeyFormat key_format; in TEST() 194 EcdsaKeyFormat key_format; in TEST() 224 EcdsaKeyFormat key_format; in TEST() 250 EcdsaKeyFormat key_format; in TEST() 276 EcdsaKeyFormat key_format; in TEST()
|
H A D | ecdsa_sign_key_manager.h | 38 google::crypto::tink::EcdsaKeyFormat, 64 const google::crypto::tink::EcdsaKeyFormat& key_format) const override; 67 const google::crypto::tink::EcdsaKeyFormat& key_format) const override; 70 const google::crypto::tink::EcdsaKeyFormat& key_format,
|
H A D | ecdsa_sign_key_manager.cc | 47 using google::crypto::tink::EcdsaKeyFormat; 52 const EcdsaKeyFormat& ecdsa_key_format) const { in CreateKey() 73 const EcdsaKeyFormat& ecdsa_key_format, InputStream* input_stream) const { in DeriveKey() 165 const EcdsaKeyFormat& key_format) const { in ValidateKeyFormat()
|
H A D | signature_key_templates.cc | 39 using google::crypto::tink::EcdsaKeyFormat; 59 EcdsaKeyFormat key_format; in NewEcdsaKeyTemplate()
|
H A D | ecdsa_verify_key_manager_test.cc | 43 using ::google::crypto::tink::EcdsaKeyFormat; 70 EcdsaKeyFormat key_format; in CreateValidPrivateKey()
|
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/signature/ |
H A D | SignatureKeyTemplatesTest.java | 24 import com.google.crypto.tink.proto.EcdsaKeyFormat; 55 EcdsaKeyFormat format = in ecdsaP256() 56 EcdsaKeyFormat.parseFrom(template.getValue(), ExtensionRegistryLite.getEmptyRegistry()); in ecdsaP256() 69 EcdsaKeyFormat format = in ecdsaP256Ieee() 70 EcdsaKeyFormat.parseFrom(template.getValue(), ExtensionRegistryLite.getEmptyRegistry()); in ecdsaP256Ieee() 83 EcdsaKeyFormat format = in ecdsaP256IeeeWithoutPrefix() 84 EcdsaKeyFormat.parseFrom(template.getValue(), ExtensionRegistryLite.getEmptyRegistry()); in ecdsaP256IeeeWithoutPrefix() 97 EcdsaKeyFormat format = in ecdsaP384() 98 EcdsaKeyFormat.parseFrom(template.getValue(), ExtensionRegistryLite.getEmptyRegistry()); in ecdsaP384() 111 EcdsaKeyFormat format = in ecdsaP384Ieee() [all …]
|
H A D | EcdsaSignKeyManagerTest.java | 28 import com.google.crypto.tink.proto.EcdsaKeyFormat; 53 private final KeyTypeManager.KeyFactory<EcdsaKeyFormat, EcdsaPrivateKey> factory = 61 private static EcdsaKeyFormat createKeyFormat( in createKeyFormat() 63 return EcdsaKeyFormat.newBuilder() in createKeyFormat() 85 () -> factory.validateKeyFormat(EcdsaKeyFormat.getDefaultInstance())); in validateKeyFormat_empty() 204 EcdsaKeyFormat format = in createCorruptedPublicKeyPrimitive_throws() 282 EcdsaKeyFormat format = in createKey_nistP256_differentValues() 294 EcdsaKeyFormat format = in createKey_nistP384_differentValues() 306 EcdsaKeyFormat format = in createKey_nistP521_differentValues()
|
H A D | EcdsaProtoSerializationTest.java | 80 com.google.crypto.tink.proto.EcdsaKeyFormat.newBuilder() in serializeParseParameters_ieee_p256_sha256_no_prefix_equal() 90 com.google.crypto.tink.proto.EcdsaKeyFormat.parser(), serialized, serialization); in serializeParseParameters_ieee_p256_sha256_no_prefix_equal() 109 com.google.crypto.tink.proto.EcdsaKeyFormat.newBuilder() in serializeParseParameters_der_p384_sha512_legacy_equal() 119 com.google.crypto.tink.proto.EcdsaKeyFormat.parser(), serialized, serialization); in serializeParseParameters_der_p384_sha512_legacy_equal() 138 com.google.crypto.tink.proto.EcdsaKeyFormat.newBuilder() in serializeParseParameters_ieee_p512_sha384_tink_equal() 148 com.google.crypto.tink.proto.EcdsaKeyFormat.parser(), serialized, serialization); in serializeParseParameters_ieee_p512_sha384_tink_equal() 167 com.google.crypto.tink.proto.EcdsaKeyFormat.newBuilder() in serializeParseParameters_der_p256_shaP256_crunchy_equal() 177 com.google.crypto.tink.proto.EcdsaKeyFormat.parser(), serialized, serialization); in serializeParseParameters_der_p256_shaP256_crunchy_equal() 501 com.google.crypto.tink.proto.EcdsaKeyFormat.newBuilder() 512 com.google.crypto.tink.proto.EcdsaKeyFormat.newBuilder() [all …]
|
H A D | EcdsaVerifyKeyManagerTest.java | 24 import com.google.crypto.tink.proto.EcdsaKeyFormat; 58 private final KeyTypeManager.KeyFactory<EcdsaKeyFormat, EcdsaPrivateKey> factory = 65 EcdsaKeyFormat.newBuilder() in createKey()
|
/aosp_15_r20/external/tink/go/proto/ecdsa_go_proto/ |
H A D | ecdsa.pb.go | 316 type EcdsaKeyFormat struct { struct 326 func (x *EcdsaKeyFormat) Reset() { argument 327 *x = EcdsaKeyFormat{} 335 func (x *EcdsaKeyFormat) String() string { argument 339 func (*EcdsaKeyFormat) ProtoMessage() {} argument 341 func (x *EcdsaKeyFormat) ProtoReflect() protoreflect.Message { argument 354 func (*EcdsaKeyFormat) Descriptor() ([]byte, []int) { argument 358 func (x *EcdsaKeyFormat) GetParams() *EcdsaParams { argument 365 func (x *EcdsaKeyFormat) GetVersion() uint32 { argument 449 (*EcdsaKeyFormat)(nil), // 4: google.crypto.tink.EcdsaKeyFormat [all …]
|
/aosp_15_r20/external/tink/cc/core/ |
H A D | private_key_manager_impl_test.cc | 42 using ::google::crypto::tink::EcdsaKeyFormat; 63 : public PrivateKeyTypeManager<EcdsaPrivateKey, EcdsaKeyFormat, 89 (const EcdsaKeyFormat& key), (const, override)); 94 const EcdsaKeyFormat& key_format) const override { in CreateKey() 151 EcdsaKeyFormat key_format; in TEST() 207 EcdsaKeyFormat key_format; in TEST()
|
/aosp_15_r20/external/tink/cc/internal/ |
H A D | registry_impl_test.cc | 87 using ::google::crypto::tink::EcdsaKeyFormat; 1297 : public PrivateKeyTypeManager<EcdsaPrivateKey, EcdsaKeyFormat, 1331 const EcdsaKeyFormat& key) const override { in ValidateKeyFormat() 1338 const EcdsaKeyFormat& key_format) const override { in CreateKey() 1667 EcdsaKeyFormat key_format; in TEST_F() 1794 : public PrivateKeyTypeManager<EcdsaPrivateKey, EcdsaKeyFormat, 1816 const EcdsaKeyFormat& key_format) const override { in ValidateKeyFormat() 1821 const EcdsaKeyFormat& key_format) const override { in CreateKey() 1835 const EcdsaKeyFormat& key_format, in DeriveKey() 1892 .RegisterKeyTypeManager<EcdsaPrivateKey, EcdsaKeyFormat, List<>>( in TEST_F() [all …]
|
H A D | key_type_info_store_test.cc | 49 using ::google::crypto::tink::EcdsaKeyFormat; 397 EcdsaKeyFormat format; in TEST()
|
/aosp_15_r20/external/tink/go/signature/ |
H A D | ecdsa_signer_key_manager.go | 72 keyFormat := new(ecdsapb.EcdsaKeyFormat) 148 func (km *ecdsaSignerKeyManager) validateKeyFormat(format *ecdsapb.EcdsaKeyFormat) error {
|
H A D | signature_key_templates.go | 156 format := &ecdsapb.EcdsaKeyFormat{Params: params}
|
/aosp_15_r20/external/tink/testing/cross_language/util/ |
H A D | key_util.py | 134 KeyProto.add_key_type(ecdsa_pb2.EcdsaPrivateKey, ecdsa_pb2.EcdsaKeyFormat) 135 KeyProto.add_key_type(ecdsa_pb2.EcdsaPublicKey, ecdsa_pb2.EcdsaKeyFormat)
|
/aosp_15_r20/external/tink/python/tink/signature/ |
H A D | _signature_key_manager_test.py | 56 key_format = ecdsa_pb2.EcdsaKeyFormat(params=params)
|
H A D | _signature_key_templates.py | 51 key_format = ecdsa_pb2.EcdsaKeyFormat(params=params)
|
/aosp_15_r20/external/tink/python/tink/proto/ |
H A D | ecdsa.proto | 80 message EcdsaKeyFormat { message
|
/aosp_15_r20/external/tink/proto/ |
H A D | ecdsa.proto | 80 message EcdsaKeyFormat { message
|
/aosp_15_r20/external/tink/java_src/proto/ |
H A D | ecdsa.proto | 80 message EcdsaKeyFormat { message
|