Home
last modified time | relevance | path

Searched defs:hashType (Results 1 – 25 of 85) sorted by relevance

1234

/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/signature/
H A DEcdsaVerifyKeyManagerTest.java62 HashType hashType, EllipticCurveType curveType, EcdsaSignatureEncoding encoding) in createKey()
145 HashType hashType; field in EcdsaVerifyKeyManagerTest.RfcTestVector
154 HashType hashType, in RfcTestVector()
228 public HashType hashType; field in EcdsaVerifyKeyManagerTest.HashAndCurveType
231 public HashAndCurveType(HashType hashType, EllipticCurveType curveType) { in HashAndCurveType()
245 HashType hashType = hashAndCurves[i].hashType; in testGetPrimitiveWithJCE() local
286 HashType hashType = hashAndCurves[i].hashType; in testGetPrimitiveWithUnsupportedKey() local
318 HashType hashType, in createVerifier()
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/mac/
H A DHmacParameters.java85 private HashType hashType = null; field in HmacParameters.Builder
109 public Builder setHashType(HashType hashType) { in setHashType()
114 private static void validateTagSizeBytes(int tagSizeBytes, HashType hashType) in validateTagSizeBytes()
192 private final HashType hashType; field in HmacParameters
194 private HmacParameters(int keySizeBytes, int tagSizeBytes, Variant variant, HashType hashType) { in HmacParameters()
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/aead/
H A DAesCtrHmacAeadParameters.java80 private HashType hashType = null; field in AesCtrHmacAeadParameters.Builder
141 public Builder setHashType(HashType hashType) { in setHashType()
146 private static void validateTagSizeBytes(int tagSizeBytes, HashType hashType) in validateTagSizeBytes()
226 private final HashType hashType; field in AesCtrHmacAeadParameters
234 HashType hashType) { in AesCtrHmacAeadParameters()
H A DAesCtrHmacAeadProtoSerialization.java105 private static HashType toProtoHashType(AesCtrHmacAeadParameters.HashType hashType) in toProtoHashType()
125 private static AesCtrHmacAeadParameters.HashType toHashType(HashType hashType) in toHashType()
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/prf/
H A DHmacPrfParameters.java61 @Nullable private HashType hashType = null; field in HmacPrfParameters.Builder
77 public Builder setHashType(HashType hashType) { in setHashType()
94 private final HashType hashType; field in HmacPrfParameters
96 private HmacPrfParameters(int keySizeBytes, HashType hashType) { in HmacPrfParameters()
H A DHkdfPrfParameters.java62 @Nullable private HashType hashType = null; field in HkdfPrfParameters.Builder
79 public Builder setHashType(HashType hashType) { in setHashType()
106 private final HashType hashType; field in HkdfPrfParameters
109 private HkdfPrfParameters(int keySizeBytes, HashType hashType, Bytes salt) { in HkdfPrfParameters()
H A DHmacPrfProtoSerialization.java72 private static HashType toProtoHashType(HmacPrfParameters.HashType hashType) in toProtoHashType()
92 private static HmacPrfParameters.HashType toHashType(HashType hashType) in toHashType()
H A DHkdfPrfProtoSerialization.java72 private static HashType toProtoHashType(HkdfPrfParameters.HashType hashType) in toProtoHashType()
92 private static HkdfPrfParameters.HashType toHashType(HashType hashType) in toHashType()
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/signature/
H A DRsaSsaPkcs1Parameters.java88 @Nullable private HashType hashType = null; field in RsaSsaPkcs1Parameters.Builder
112 public Builder setHashType(HashType hashType) { in setHashType()
170 private final HashType hashType; field in RsaSsaPkcs1Parameters
173 int modulusSizeBits, BigInteger publicExponent, Variant variant, HashType hashType) { in RsaSsaPkcs1Parameters()
H A DEcdsaParameters.java144 private HashType hashType = null; field in EcdsaParameters.Builder
162 public Builder setHashType(HashType hashType) { in setHashType()
208 private final HashType hashType; field in EcdsaParameters
214 HashType hashType, in EcdsaParameters()
H A DSignatureKeyTemplates.java230 HashType hashType, in createEcdsaKeyTemplate()
300 HashType hashType, int modulusSize, BigInteger publicExponent, OutputPrefixType prefixType) { in createRsaSsaPkcs1KeyTemplate()
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/testing/
H A DTestUtil.java395 EllipticCurveType curve, HashType hashType, EcdsaSignatureEncoding encoding) in generateEcdsaPubKey()
406 EllipticCurveType curve, HashType hashType, EcdsaSignatureEncoding encoding) in generateEcdsaPrivKey()
440 HashType hashType, in createEcdsaPubKey()
466 byte[] modulus, byte[] exponent, HashType hashType) throws Exception { in createRsaSsaPkcs1PubKey()
506 HashType hashType, in generateEciesAeadHkdfPrivKey()
561 HashType hashType, in createEciesAeadHkdfParams()
587 HashType hashType, in createEciesAeadHkdfPubKey()
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/hybrid/
H A DEciesParameters.java140 private HashType hashType = null; field in EciesParameters.Builder
155 public Builder setHashType(HashType hashType) { in setHashType()
234 private final HashType hashType; field in EciesParameters
242 HashType hashType, in EciesParameters()
H A DHybridKeyTemplates.java145 HashType hashType, in createEciesAeadHkdfKeyTemplate()
168 HashType hashType, in createEciesAeadHkdfParams()
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/mac/internal/
H A DHmacTestUtil.java168 int keySizeBytes, int fullTagSizeBytes, Variant variant, HashType hashType) { in createHmacParameters()
186 HashType hashType) { in createHmacKey()
214 HashType hashType, in HmacTestVector()
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/subtle/prf/
H A DHkdfStreamingPrf.java34 private static String getJavaxHmacName(HashType hashType) throws GeneralSecurityException { in getJavaxHmacName()
50 public HkdfStreamingPrf(final HashType hashType, final byte[] ikm, final byte[] salt) { in HkdfStreamingPrf()
56 private final HashType hashType; field in HkdfStreamingPrf
/aosp_15_r20/external/private-join-and-compute/java/com/google/privacy/private_join_and_compute/encryption/commutative/
H A DEcCommutativeCipherBase.java56 protected final HashType hashType; field in EcCommutativeCipherBase
59 protected EcCommutativeCipherBase(HashType hashType, ECPrivateKey key, SupportedCurve ecCurve) { in EcCommutativeCipherBase()
152 public static BigInteger randomOracle(byte[] bytes, BigInteger maxValue, HashType hashType) { in randomOracle()
H A DEcCommutativeCipher.java47 private EcCommutativeCipher(HashType hashType, ECPrivateKey key, SupportedCurve ecCurve) { in EcCommutativeCipher()
58 public static EcCommutativeCipher createWithNewKey(SupportedCurve curve, HashType hashType) { in createWithNewKey()
83 SupportedCurve curve, HashType hashType, byte[] keyBytes) { in createFromKey()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
H A DTypeHashing.cpp28 LocallyHashedType LocallyHashedType::hashType(ArrayRef<uint8_t> RecordData) { in hashType() function in LocallyHashedType
33 GloballyHashedType::hashType(ArrayRef<uint8_t> RecordData, in hashType() function in GloballyHashedType
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/DebugInfo/CodeView/
H A DTypeHashing.cpp28 LocallyHashedType LocallyHashedType::hashType(ArrayRef<uint8_t> RecordData) { in hashType() function in LocallyHashedType
33 GloballyHashedType::hashType(ArrayRef<uint8_t> RecordData, in hashType() function in GloballyHashedType
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/streamingaead/
H A DAesCtrHmacStreamingProtoSerialization.java80 private static HashType toProtoHashType(AesCtrHmacStreamingParameters.HashType hashType) in toProtoHashType()
94 private static AesCtrHmacStreamingParameters.HashType toHashType(HashType hashType) in toHashType()
H A DAesGcmHkdfStreamingProtoSerialization.java79 private static HashType toProtoHashType(AesGcmHkdfStreamingParameters.HashType hashType) in toProtoHashType()
93 private static AesGcmHkdfStreamingParameters.HashType toHashType(HashType hashType) in toHashType()
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/jwt/
H A DJwtHmacProtoSerialization.java73 private static JwtHmacAlgorithm toProtoAlgorithm(JwtHmacParameters.Algorithm hashType) in toProtoAlgorithm()
87 private static JwtHmacParameters.Algorithm toAlgorithm(JwtHmacAlgorithm hashType) in toAlgorithm()
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/prf/
H A DHmacPrfProtoSerializationTest.java92 public void serializeAndParseParameters(@FromDataPoints("hashTypes") HashType hashType) in serializeAndParseParameters()
122 public void serializeAndParseKey(@FromDataPoints("hashTypes") HashType hashType) in serializeAndParseKey()
H A DHkdfPrfProtoSerializationTest.java90 public void serializeAndParseParameters( in serializeAndParseParameters()
122 public void serializeAndParseKey( in serializeAndParseKey()

1234