Home
last modified time | relevance | path

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

123

/external/tink/java_src/src/test/java/com/google/crypto/tink/signature/
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()
/external/tink/java_src/src/main/java/com/google/crypto/tink/prf/
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()
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()
DHmacPrfProtoSerialization.java72 private static HashType toProtoHashType(HmacPrfParameters.HashType hashType) in toProtoHashType()
92 private static HmacPrfParameters.HashType toHashType(HashType hashType) in toHashType()
DHkdfPrfProtoSerialization.java72 private static HashType toProtoHashType(HkdfPrfParameters.HashType hashType) in toProtoHashType()
92 private static HkdfPrfParameters.HashType toHashType(HashType hashType) in toHashType()
/external/tink/java_src/src/main/java/com/google/crypto/tink/mac/
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()
/external/tink/java_src/src/main/java/com/google/crypto/tink/mac/internal/
DHmacTestUtil.java168 int keySizeBytes, int fullTagSizeBytes, Variant variant, HashType hashType) { in createHmacParameters()
186 HashType hashType) { in createHmacKey()
214 HashType hashType, in HmacTestVector()
/external/tink/java_src/src/main/java/com/google/crypto/tink/aead/
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()
DAesCtrHmacAeadProtoSerialization.java105 private static HashType toProtoHashType(AesCtrHmacAeadParameters.HashType hashType) in toProtoHashType()
125 private static AesCtrHmacAeadParameters.HashType toHashType(HashType hashType) in toHashType()
/external/tink/java_src/src/main/java/com/google/crypto/tink/subtle/prf/
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
/external/tink/java_src/src/main/java/com/google/crypto/tink/signature/
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()
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()
DSignatureKeyTemplates.java230 HashType hashType, in createEcdsaKeyTemplate()
300 HashType hashType, int modulusSize, BigInteger publicExponent, OutputPrefixType prefixType) { in createRsaSsaPkcs1KeyTemplate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
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
/external/swiftshader/third_party/llvm-16.0/llvm/lib/DebugInfo/CodeView/
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
/external/tink/java_src/src/main/java/com/google/crypto/tink/hybrid/
DHybridKeyTemplates.java145 HashType hashType, in createEciesAeadHkdfKeyTemplate()
168 HashType hashType, in createEciesAeadHkdfParams()
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()
/external/private-join-and-compute/java/com/google/privacy/private_join_and_compute/encryption/commutative/
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()
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()
/external/tink/java_src/src/main/java/com/google/crypto/tink/streamingaead/
DAesCtrHmacStreamingProtoSerialization.java80 private static HashType toProtoHashType(AesCtrHmacStreamingParameters.HashType hashType) in toProtoHashType()
94 private static AesCtrHmacStreamingParameters.HashType toHashType(HashType hashType) in toHashType()
DAesGcmHkdfStreamingProtoSerialization.java79 private static HashType toProtoHashType(AesGcmHkdfStreamingParameters.HashType hashType) in toProtoHashType()
93 private static AesGcmHkdfStreamingParameters.HashType toHashType(HashType hashType) in toHashType()
/external/tink/java_src/src/main/java/com/google/crypto/tink/jwt/
DJwtHmacProtoSerialization.java73 private static JwtHmacAlgorithm toProtoAlgorithm(JwtHmacParameters.Algorithm hashType) in toProtoAlgorithm()
87 private static JwtHmacParameters.Algorithm toAlgorithm(JwtHmacAlgorithm hashType) in toAlgorithm()
/external/tink/java_src/src/test/java/com/google/crypto/tink/prf/
DHmacPrfProtoSerializationTest.java92 public void serializeAndParseParameters(@FromDataPoints("hashTypes") HashType hashType) in serializeAndParseParameters()
122 public void serializeAndParseKey(@FromDataPoints("hashTypes") HashType hashType) in serializeAndParseKey()
DHkdfPrfProtoSerializationTest.java90 public void serializeAndParseParameters( in serializeAndParseParameters()
122 public void serializeAndParseKey( in serializeAndParseKey()
/external/tink/java_src/src/main/java/com/google/crypto/tink/testing/
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()

123