Home
last modified time | relevance | path

Searched refs:DigestType (Results 1 – 25 of 911) sorted by relevance

12345678910>>...37

/dports/security/erlang-jose/erlang-jose-1.11.1/test/property_test/
H A Djose_jwa_pkcs1_props.erl32 ?LET({DigestType, ModulusSize, PlainText},
33 ?SUCHTHAT({DigestType, ModulusSize, PlainText},
39 ?LET({DigestType, ModulusSize, PlainText},
85 ?LET({DigestType, ModulusSize},
86 ?SUCHTHAT({DigestType, ModulusSize},
104 ?LET({DigestType, ModulusSize},
105 ?SUCHTHAT({DigestType, ModulusSize},
111 ?LET({DigestType, ModulusSize, SaltSize},
137 do_hash(DigestType, PlainText) when is_atom(DigestType) ->
138 crypto:hash(DigestType, PlainText);
[all …]
/dports/security/elixir-jose/erlang-jose-1.11.1/test/property_test/
H A Djose_jwa_pkcs1_props.erl32 ?LET({DigestType, ModulusSize, PlainText},
33 ?SUCHTHAT({DigestType, ModulusSize, PlainText},
39 ?LET({DigestType, ModulusSize, PlainText},
85 ?LET({DigestType, ModulusSize},
86 ?SUCHTHAT({DigestType, ModulusSize},
104 ?LET({DigestType, ModulusSize},
105 ?SUCHTHAT({DigestType, ModulusSize},
111 ?LET({DigestType, ModulusSize, SaltSize},
137 do_hash(DigestType, PlainText) when is_atom(DigestType) ->
138 crypto:hash(DigestType, PlainText);
[all …]
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/trust-dns-proto-0.20.3/src/rr/dnssec/
H A Ddigest_type.rs40 pub enum DigestType { enum
54 impl DigestType { impl
59 1 => Ok(DigestType::SHA1), in from_u8()
60 2 => Ok(DigestType::SHA256), in from_u8()
139 impl From<Algorithm> for DigestType { implementation
153 impl From<DigestType> for u8 {
154 fn from(a: DigestType) -> u8 { in from()
156 DigestType::SHA1 => 1, in from()
157 DigestType::SHA256 => 2, in from()
159 DigestType::SHA384 => 4, in from()
[all …]
/dports/security/rustscan/RustScan-2.0.1/cargo-crates/trust-dns-proto-0.19.5/src/rr/dnssec/
H A Ddigest_type.rs40 pub enum DigestType { enum
54 impl DigestType { implementation
59 1 => Ok(DigestType::SHA1), in from_u8()
60 2 => Ok(DigestType::SHA256), in from_u8()
139 impl From<Algorithm> for DigestType { implementation
153 impl From<DigestType> for u8 {
154 fn from(a: DigestType) -> u8 { in from()
156 DigestType::SHA1 => 1, in from()
157 DigestType::SHA256 => 2, in from()
159 DigestType::SHA384 => 4, in from()
[all …]
/dports/net/proby/proby-1.0.2/cargo-crates/trust-dns-proto-0.18.0-alpha.2/src/rr/dnssec/
H A Ddigest_type.rs40 pub enum DigestType { enum
54 impl DigestType { implementation
59 1 => Ok(DigestType::SHA1), in from_u8()
60 2 => Ok(DigestType::SHA256), in from_u8()
139 impl From<Algorithm> for DigestType { implementation
153 impl From<DigestType> for u8 {
154 fn from(a: DigestType) -> u8 { in from()
156 DigestType::SHA1 => 1, in from()
157 DigestType::SHA256 => 2, in from()
159 DigestType::SHA384 => 4, in from()
[all …]
/dports/net/oha/oha-0.4.7/cargo-crates/trust-dns-proto-0.20.3/src/rr/dnssec/
H A Ddigest_type.rs40 pub enum DigestType { enum
54 impl DigestType { implementation
59 1 => Ok(DigestType::SHA1), in from_u8()
60 2 => Ok(DigestType::SHA256), in from_u8()
139 impl From<Algorithm> for DigestType { implementation
153 impl From<DigestType> for u8 {
154 fn from(a: DigestType) -> u8 { in from()
156 DigestType::SHA1 => 1, in from()
157 DigestType::SHA256 => 2, in from()
159 DigestType::SHA384 => 4, in from()
[all …]
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/security-framework-0.3.4/src/os/macos/
H A Ddigest_transform.rs18 pub struct DigestType(CFStringRef); struct
21 impl DigestType { implementation
22 pub fn hmac_md5() -> DigestType { in hmac_md5()
26 pub fn hmac_sha1() -> DigestType { in hmac_sha1()
30 pub fn hmac_sha2() -> DigestType { in hmac_sha2()
34 pub fn md2() -> DigestType { in md2()
38 pub fn md4() -> DigestType { in md4()
42 pub fn md5() -> DigestType { in md5()
46 pub fn sha1() -> DigestType { in sha1()
50 pub fn sha2() -> DigestType { in sha2()
[all …]
/dports/security/elixir-jose/erlang-jose-1.11.1/src/jwa/
H A Djose_jwa_pkcs5.erl124 resolve_hash(DigestType) when is_atom(DigestType) ->
126 crypto:hash(DigestType, Data)
128 resolve_hash({hmac, DigestType, Key}) when is_atom(DigestType) ->
130 jose_crypto_compat:mac(hmac, DigestType, Key, Data)
136 resolve_mac(DigestType) when is_atom(DigestType) ->
137 resolve_mac({hmac, DigestType});
138 resolve_mac({hmac, DigestType}) when is_atom(DigestType) ->
140 jose_crypto_compat:mac(hmac, DigestType, Key, Data)
/dports/security/erlang-jose/erlang-jose-1.11.1/src/jwa/
H A Djose_jwa_pkcs5.erl124 resolve_hash(DigestType) when is_atom(DigestType) ->
126 crypto:hash(DigestType, Data)
128 resolve_hash({hmac, DigestType, Key}) when is_atom(DigestType) ->
130 jose_crypto_compat:mac(hmac, DigestType, Key, Data)
136 resolve_mac(DigestType) when is_atom(DigestType) ->
137 resolve_mac({hmac, DigestType});
138 resolve_mac({hmac, DigestType}) when is_atom(DigestType) ->
140 jose_crypto_compat:mac(hmac, DigestType, Key, Data)
/dports/net/rabbitmq/rabbitmq-server-3.9.11/deps/jose/src/jwa/
H A Djose_jwa_pkcs5.erl124 resolve_hash(DigestType) when is_atom(DigestType) ->
126 crypto:hash(DigestType, Data)
128 resolve_hash({hmac, DigestType, Key}) when is_atom(DigestType) ->
130 jose_crypto_compat:mac(hmac, DigestType, Key, Data)
136 resolve_mac(DigestType) when is_atom(DigestType) ->
137 resolve_mac({hmac, DigestType});
138 resolve_mac({hmac, DigestType}) when is_atom(DigestType) ->
140 jose_crypto_compat:mac(hmac, DigestType, Key, Data)
/dports/security/rustscan/RustScan-2.0.1/cargo-crates/trust-dns-proto-0.19.5/src/rr/dnssec/rdata/
H A Dds.rs20 use crate::rr::dnssec::{Algorithm, DigestType};
73 digest_type: DigestType,
90 pub fn new(key_tag: u16, algorithm: Algorithm, digest_type: DigestType, digest: Vec<u8>) -> DS { in new() argument
139 pub fn digest_type(&self) -> DigestType { in digest_type() argument
193 let digest_type: DigestType = in read()
194 DigestType::from_u8(decoder.read_u8()?.unverified(/*DigestType is verified as safe*/))?; in read()
229 DigestType::SHA256, in test()
257 DigestType::SHA256, in test_covers()
259 .to_digest(&name, DigestType::SHA256) in test_covers()
/dports/net/proby/proby-1.0.2/cargo-crates/trust-dns-proto-0.18.0-alpha.2/src/rr/dnssec/rdata/
H A Dds.rs20 use crate::rr::dnssec::{Algorithm, DigestType};
73 digest_type: DigestType,
90 pub fn new(key_tag: u16, algorithm: Algorithm, digest_type: DigestType, digest: Vec<u8>) -> DS { in new() argument
139 pub fn digest_type(&self) -> DigestType { in digest_type() argument
193 let digest_type: DigestType = in read()
194 DigestType::from_u8(decoder.read_u8()?.unverified(/*DigestType is verified as safe*/))?; in read()
229 DigestType::SHA256, in test()
257 DigestType::SHA256, in test_covers()
259 .to_digest(&name, DigestType::SHA256) in test_covers()
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/trust-dns-proto-0.20.3/src/rr/dnssec/rdata/
H A Dds.rs22 use crate::rr::dnssec::{Algorithm, DigestType};
75 digest_type: DigestType,
92 pub fn new(key_tag: u16, algorithm: Algorithm, digest_type: DigestType, digest: Vec<u8>) -> DS { in new() argument
141 pub fn digest_type(&self) -> DigestType { in digest_type() argument
195 let digest_type: DigestType = in read()
196 DigestType::from_u8(decoder.read_u8()?.unverified(/*DigestType is verified as safe*/))?; in read()
287 DigestType::SHA256, in test()
315 DigestType::SHA256, in test_covers()
317 .to_digest(&name, DigestType::SHA256) in test_covers()
/dports/net/oha/oha-0.4.7/cargo-crates/trust-dns-proto-0.20.3/src/rr/dnssec/rdata/
H A Dds.rs22 use crate::rr::dnssec::{Algorithm, DigestType};
75 digest_type: DigestType,
92 pub fn new(key_tag: u16, algorithm: Algorithm, digest_type: DigestType, digest: Vec<u8>) -> DS { in new() argument
141 pub fn digest_type(&self) -> DigestType { in digest_type() argument
195 let digest_type: DigestType = in read()
196 DigestType::from_u8(decoder.read_u8()?.unverified(/*DigestType is verified as safe*/))?; in read()
287 DigestType::SHA256, in test()
315 DigestType::SHA256, in test_covers()
317 .to_digest(&name, DigestType::SHA256) in test_covers()
/dports/security/py-ctypescrypto/ctypescrypto-0.5/tests/
H A Dtestdigest.py8 d=digest.DigestType("md4")
14 d=digest.DigestType("md5")
20 d=digest.DigestType("sha1")
26 d=digest.DigestType("sha256")
32 d=digest.DigestType("sha384")
38 d=digest.DigestType("sha512")
45 d=digest.DigestType(oid)
51 d1=digest.DigestType("sha256")
52 d2=digest.DigestType(None)
70 md=digest.DigestType("sha1")
[all …]
/dports/multimedia/mswebrtc/mswebrtc-1.1.1/webrtc/webrtc/base/
H A Dsslidentity_unittest.cc110 typedef unsigned char DigestType[rtc::MessageDigest::kMaxSize]; typedef in SSLIdentityTest
112 void TestDigestHelper(DigestType digest, in TestDigestHelper()
116 DigestType digest1; in TestDigestHelper()
122 sizeof(DigestType), &digest_len); in TestDigestHelper()
129 sizeof(DigestType), &digest_len); in TestDigestHelper()
138 DigestType digest[4]; in TestDigestForGeneratedCert()
140 ASSERT_TRUE(expected_len <= sizeof(DigestType)); in TestDigestForGeneratedCert()
163 DigestType digest; in TestDigestForFixedCert()
166 ASSERT_TRUE(expected_len <= sizeof(DigestType)); in TestDigestForFixedCert()
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/CryptoPkg/Library/BaseCryptLib/Pk/
H A DCryptRsaExt.c306 INT32 DigestType; in RsaPkcs1Sign() local
333 DigestType = NID_md5; in RsaPkcs1Sign()
337 DigestType = NID_sha1; in RsaPkcs1Sign()
341 DigestType = NID_sha256; in RsaPkcs1Sign()
345 DigestType = NID_sha384; in RsaPkcs1Sign()
349 DigestType = NID_sha512; in RsaPkcs1Sign()
357 DigestType, in RsaPkcs1Sign()
H A DCryptRsaBasic.c275 INT32 DigestType; in RsaPkcs1Verify() local
295 DigestType = NID_md5; in RsaPkcs1Verify()
299 DigestType = NID_sha1; in RsaPkcs1Verify()
303 DigestType = NID_sha256; in RsaPkcs1Verify()
307 DigestType = NID_sha384; in RsaPkcs1Verify()
311 DigestType = NID_sha512; in RsaPkcs1Verify()
320 DigestType, in RsaPkcs1Verify()
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/CryptoPkg/Library/BaseCryptLib/Pk/
H A DCryptRsaExt.c306 INT32 DigestType; in RsaPkcs1Sign() local
333 DigestType = NID_md5; in RsaPkcs1Sign()
337 DigestType = NID_sha1; in RsaPkcs1Sign()
341 DigestType = NID_sha256; in RsaPkcs1Sign()
345 DigestType = NID_sha384; in RsaPkcs1Sign()
349 DigestType = NID_sha512; in RsaPkcs1Sign()
357 DigestType, in RsaPkcs1Sign()
H A DCryptRsaBasic.c275 INT32 DigestType; in RsaPkcs1Verify() local
295 DigestType = NID_md5; in RsaPkcs1Verify()
299 DigestType = NID_sha1; in RsaPkcs1Verify()
303 DigestType = NID_sha256; in RsaPkcs1Verify()
307 DigestType = NID_sha384; in RsaPkcs1Verify()
311 DigestType = NID_sha512; in RsaPkcs1Verify()
320 DigestType, in RsaPkcs1Verify()
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/CryptoPkg/Library/BaseCryptLib/Pk/
H A DCryptRsaExt.c306 INT32 DigestType; in RsaPkcs1Sign() local
333 DigestType = NID_md5; in RsaPkcs1Sign()
337 DigestType = NID_sha1; in RsaPkcs1Sign()
341 DigestType = NID_sha256; in RsaPkcs1Sign()
345 DigestType = NID_sha384; in RsaPkcs1Sign()
349 DigestType = NID_sha512; in RsaPkcs1Sign()
357 DigestType, in RsaPkcs1Sign()
H A DCryptRsaBasic.c275 INT32 DigestType; in RsaPkcs1Verify() local
295 DigestType = NID_md5; in RsaPkcs1Verify()
299 DigestType = NID_sha1; in RsaPkcs1Verify()
303 DigestType = NID_sha256; in RsaPkcs1Verify()
307 DigestType = NID_sha384; in RsaPkcs1Verify()
311 DigestType = NID_sha512; in RsaPkcs1Verify()
320 DigestType, in RsaPkcs1Verify()
/dports/sysutils/edk2/edk2-edk2-stable202102/CryptoPkg/Library/BaseCryptLib/Pk/
H A DCryptRsaExt.c306 INT32 DigestType; in RsaPkcs1Sign() local
333 DigestType = NID_md5; in RsaPkcs1Sign()
337 DigestType = NID_sha1; in RsaPkcs1Sign()
341 DigestType = NID_sha256; in RsaPkcs1Sign()
345 DigestType = NID_sha384; in RsaPkcs1Sign()
349 DigestType = NID_sha512; in RsaPkcs1Sign()
357 DigestType, in RsaPkcs1Sign()
H A DCryptRsaBasic.c275 INT32 DigestType;
295 DigestType = NID_md5;
299 DigestType = NID_sha1;
303 DigestType = NID_sha256;
307 DigestType = NID_sha384;
311 DigestType = NID_sha512;
320 DigestType,
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/CryptoPkg/Library/BaseCryptLib/Pk/
H A DCryptRsaExt.c306 INT32 DigestType; in RsaPkcs1Sign() local
333 DigestType = NID_md5; in RsaPkcs1Sign()
337 DigestType = NID_sha1; in RsaPkcs1Sign()
341 DigestType = NID_sha256; in RsaPkcs1Sign()
345 DigestType = NID_sha384; in RsaPkcs1Sign()
349 DigestType = NID_sha512; in RsaPkcs1Sign()
357 DigestType, in RsaPkcs1Sign()

12345678910>>...37