Home
last modified time | relevance | path

Searched refs:HashAlgorithm (Results 1 – 18 of 18) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/ct/
DDigitallySigned.java28 public enum HashAlgorithm { enum in DigitallySigned
37 private static HashAlgorithm[] values = values();
38 public static HashAlgorithm valueOf(int ord) { in valueOf()
63 private final HashAlgorithm hashAlgorithm;
67 public DigitallySigned(HashAlgorithm hashAlgorithm, in DigitallySigned()
79 HashAlgorithm.valueOf(hashAlgorithm), in DigitallySigned()
85 public HashAlgorithm getHashAlgorithm() { in getHashAlgorithm()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ct/
DDigitallySigned.java33 public enum HashAlgorithm { enum in DigitallySigned
42 private static HashAlgorithm[] values = values();
43 public static HashAlgorithm valueOf(int ord) { in valueOf()
71 private final HashAlgorithm hashAlgorithm;
75 public DigitallySigned(HashAlgorithm hashAlgorithm, in DigitallySigned()
87 HashAlgorithm.valueOf(hashAlgorithm), in DigitallySigned()
93 public HashAlgorithm getHashAlgorithm() { in getHashAlgorithm()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DPKWareExtraHeader.java259 public enum HashAlgorithm { enum in PKWareExtraHeader
271 private static final Map<Integer, HashAlgorithm> codeToEnum;
274 final Map<Integer, HashAlgorithm> cte = new HashMap<>();
275 for (final HashAlgorithm method : values()) {
284 HashAlgorithm(final int code) { in HashAlgorithm() method in PKWareExtraHeader.HashAlgorithm
304 public static HashAlgorithm getAlgorithmByCode(final int code) { in getAlgorithmByCode()
DX0016_CertificateIdForCentralDirectory.java52 private HashAlgorithm hashAlg;
66 public HashAlgorithm getHashAlgorithm() { in getHashAlgorithm()
73 this.hashAlg = HashAlgorithm.getAlgorithmByCode(ZipShort.getValue(data, offset + 2)); in parseFromCentralDirectoryData()
DX0015_CertificateIdForFile.java51 private HashAlgorithm hashAlg;
65 public HashAlgorithm getHashAlgorithm() { in getHashAlgorithm()
73 this.hashAlg = HashAlgorithm.getAlgorithmByCode(ZipShort.getValue(data, offset + 2)); in parseFromCentralDirectoryData()
DX0017_StrongEncryptionHeader.java256 private HashAlgorithm hashAlg;
283 public HashAlgorithm getHashAlgorithm() { in getHashAlgorithm()
310 this.hashAlg = HashAlgorithm.getAlgorithmByCode(ZipShort.getValue(data, offset + 12)); in parseCentralDirectoryFormat()
353 …this.hashAlg = HashAlgorithm.getAlgorithmByCode(ZipShort.getValue(data, offset + ivSize + 20 + erd… in parseFileFormat()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DPkWareExtraHeaderTest.java25 import org.apache.commons.compress.archivers.zip.PKWareExtraHeader.HashAlgorithm;
40 int code = HashAlgorithm.SHA256.getCode(); in testHashAlgorithm()
41 HashAlgorithm e = HashAlgorithm.valueOf(name); in testHashAlgorithm()
/external/libchrome/crypto/
Dsignature_creator.h29 enum HashAlgorithm { enum
40 HashAlgorithm hash_alg);
45 HashAlgorithm hash_alg,
Dhmac.h29 enum HashAlgorithm { enum
34 explicit HMAC(HashAlgorithm hash_alg);
88 HashAlgorithm hash_alg_;
Dhmac.cc21 HMAC::HMAC(HashAlgorithm hash_alg) : hash_alg_(hash_alg), initialized_(false) { in HMAC()
Dsignature_creator_unittest.cc103 key.get(), crypto::SignatureCreator::HashAlgorithm::SHA256, in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/
DCodeViewYAMLTypeHashing.cpp32 io.mapRequired("HashAlgorithm", DebugH.HashAlgorithm); in mapping()
57 cantFail(Reader.readInteger(DHS.HashAlgorithm)); in fromDebugH()
77 cantFail(Writer.writeInteger(DebugH.HashAlgorithm)); in toDebugH()
/external/conscrypt/common/src/test/java/org/conscrypt/ct/
DSerializationTest.java52 assertEquals(DigitallySigned.HashAlgorithm.SHA256, in test_decode_SignedCertificateTimestamp()
103 assertEquals(DigitallySigned.HashAlgorithm.SHA256, dst.getHashAlgorithm()); in test_decode_DigitallySigned()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/ct/
DSerializationTest.java56 assertEquals(DigitallySigned.HashAlgorithm.SHA256, in test_decode_SignedCertificateTimestamp()
107 assertEquals(DigitallySigned.HashAlgorithm.SHA256, dst.getHashAlgorithm()); in test_decode_DigitallySigned()
/external/scapy/scapy/layers/tls/crypto/
Dpkcs1.py24 from cryptography.hazmat.primitives.hashes import HashAlgorithm
96 @utils.register_interface(HashAlgorithm)
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ObjectYAML/
DCodeViewYAMLTypeHashing.h46 uint16_t HashAlgorithm; member
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/COFF/
Dglobal-type-hashes.ll276 ; YAML: HashAlgorithm: 1
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DCOFF.h758 support::ulittle16_t HashAlgorithm; member