/external/rust/crates/openssl/src/ |
D | md_ctx.rs | 405 use crate::md::Md; 414 let md = Md::sha256(); in verify_fail() 436 let md = Md::sha256(); in verify_success() 458 let md = Md::sha256(); in verify_with_public_success() 485 ctx.digest_init(Md::sha224()).unwrap(); in verify_md_ctx_size() 486 assert_eq!(Md::sha224().size(), ctx.size()); in verify_md_ctx_size() 487 assert_eq!(Md::sha224().size(), 28); in verify_md_ctx_size() 490 ctx.digest_init(Md::sha256()).unwrap(); in verify_md_ctx_size() 491 assert_eq!(Md::sha256().size(), ctx.size()); in verify_md_ctx_size() 492 assert_eq!(Md::sha256().size(), 32); in verify_md_ctx_size() [all …]
|
D | md.rs | 25 impl Drop for Md { 34 impl ForeignType for Md { 40 Md(ptr) 49 impl Deref for Md { 60 impl DerefMut for Md { 74 pub struct Md(Inner); struct 76 unsafe impl Sync for Md {} implementation 77 unsafe impl Send for Md {} implementation 79 impl Md { impl 113 Ok(Md::from_ptr(ptr)) in fetch()
|
D | hmac.rs | 130 use crate::md::Md; 145 hmac(Md::sha256(), &key, data, &mut out).expect("Couldn't calculate sha256 hmac"); in hmac_sha256_test() 155 hmac(Md::sha256(), &key, data, &mut out).expect("Couldn't calculate sha256 hmac"); in hmac_sha256_output_too_short() 169 hmac(Md::sha256(), &key, data, &mut out).expect("Couldn't calculate sha256 hmac"); in hmac_sha256_test_big_buffer() 184 let mut hmac_ctx = HmacCtx::new(&key, Md::sha256()).unwrap(); in hmac_sha256_update_test() 200 let mut hmac_ctx = HmacCtx::new(&key, Md::sha256()).unwrap(); in hmac_sha256_update_chunks_test() 213 let mut hmac_ctx = HmacCtx::new(&key, Md::sha256()).unwrap(); in hmac_sha256_update_output_too_short()
|
D | pkey_ctx.rs | 608 use crate::md::Md; 646 ctx.set_rsa_oaep_md(Md::sha256()).unwrap(); in rsa_oaep() 647 ctx.set_rsa_mgf1_md(Md::sha256()).unwrap(); in rsa_oaep() 655 ctx.set_rsa_oaep_md(Md::sha256()).unwrap(); in rsa_oaep() 656 ctx.set_rsa_mgf1_md(Md::sha256()).unwrap(); in rsa_oaep() 696 ctx.set_hkdf_md(Md::sha256()).unwrap(); in hkdf() 719 ctx.set_hkdf_md(Md::sha256()).unwrap(); in hkdf_expand() 743 ctx.set_hkdf_md(Md::sha256()).unwrap(); in hkdf_extract()
|
/external/cronet/third_party/icu/source/data/locales/ |
D | en_CH.txt | 38 Md{"dd.MM"} 88 Md{"dd.MM"} 112 Md{"dd.MM"} 139 Md{"dd.MM"} 149 Md{"dd.MM"} 174 Md{"dd.MM"} 200 Md{"dd.MM"} 232 Md{"dd.MM"} 257 Md{"dd.MM"} 267 Md{"dd.MM"} [all …]
|
D | zh_Hans_SG.txt | 108 Md{"M-d"} 127 Md{ 178 Md{"M-d"} 197 Md{ 275 Md{"M/d"} 307 Md{"M-d"}
|
D | en_NZ.txt | 34 Md{"d/M"} 46 Md{ 93 Md{"d/M"} 105 Md{
|
D | nl_BE.txt | 34 Md{"d/M"} 44 Md{ 92 Md{"d/M"} 102 Md{
|
D | zh_Hans_MO.txt | 81 Md{"M-d"} 100 Md{ 153 Md{"d/M"} 172 Md{ 254 Md{"M-d"}
|
D | fr_CH.txt | 35 Md{"dd.MM."} 55 Md{ 117 Md{"dd.MM."} 155 Md{
|
D | en_AE.txt | 41 Md{"dd/MM"} 64 Md{ 135 Md{"dd/MM"} 155 Md{ 222 Md{"dd/MM"} 242 Md{
|
/external/icu/icu4c/source/data/locales/ |
D | en_CH.txt | 38 Md{"dd.MM"} 88 Md{"dd.MM"} 112 Md{"dd.MM"} 139 Md{"dd.MM"} 149 Md{"dd.MM"} 174 Md{"dd.MM"} 200 Md{"dd.MM"} 232 Md{"dd.MM"} 257 Md{"dd.MM"} 267 Md{"dd.MM"} [all …]
|
D | zh_Hans_SG.txt | 108 Md{"M-d"} 127 Md{ 178 Md{"M-d"} 197 Md{ 275 Md{"M/d"} 307 Md{"M-d"}
|
D | en_NZ.txt | 34 Md{"d/M"} 46 Md{ 93 Md{"d/M"} 105 Md{
|
D | nl_BE.txt | 34 Md{"d/M"} 44 Md{ 92 Md{"d/M"} 102 Md{
|
D | zh_Hans_MO.txt | 81 Md{"M-d"} 100 Md{ 153 Md{"d/M"} 172 Md{ 254 Md{"M-d"}
|
D | fr_CH.txt | 35 Md{"dd.MM."} 55 Md{ 117 Md{"dd.MM."} 155 Md{
|
/external/boringssl/src/rust/bssl-crypto/src/ |
D | digest.rs | 36 pub trait Md { trait 44 impl Md for Sha256 { 54 impl Md for Sha512 {
|
D | hmac.rs | 16 digest::{Md, Sha256, Sha512}, 145 fn hmac<const N: usize, M: Md>(key: &[u8], data: &[u8]) -> [u8; N] { in hmac() 174 struct Hmac<const N: usize, M: Md> { 179 impl<const N: usize, M: Md> Hmac<N, M> { 304 impl<const N: usize, M: Md> Drop for Hmac<N, M> {
|
/external/cronet/third_party/boringssl/src/rust/bssl-crypto/src/ |
D | digest.rs | 36 pub trait Md { interface 44 impl Md for Sha256 { 54 impl Md for Sha512 {
|
D | hmac.rs | 16 digest::{Md, Sha256, Sha512}, 145 fn hmac<const N: usize, M: Md>(key: &[u8], data: &[u8]) -> [u8; N] { in hmac() 174 struct Hmac<const N: usize, M: Md> { 179 impl<const N: usize, M: Md> Hmac<N, M> { 304 impl<const N: usize, M: Md> Drop for Hmac<N, M> {
|
/external/rust/beto-rust/nearby/crypto/crypto_provider_boringssl/src/ |
D | hkdf.rs | 21 use bssl_crypto::digest::Md; 25 pub struct Hkdf<M: Md>(bssl_crypto::hkdf::Hkdf<M>); 27 impl<M: Md> crypto_provider::hkdf::Hkdf for Hkdf<M> {
|
/external/rust/beto-rust/nearby/crypto/crypto_provider_openssl/src/ |
D | sha2.rs | 16 use openssl::md::{Md, MdRef}; 31 Md::sha256() in get_md() 56 Md::sha512() in get_md()
|
/external/rust/crates/openssl/patches/ |
D | 0005-hmac_ctx_wrappers.diff | 99 + /// `md.size()` for the `Md` instance passed in [new]. An output size of |EVP_MAX_MD_SIZE| will 130 use crate::md::Md; 148 - let hmac_result = hmac(Md::sha256(), &key, data, &mut out).expect("Couldn't calculate sha2… 151 + hmac(Md::sha256(), &key, data, &mut out).expect("Couldn't calculate sha256 hmac"); 161 + hmac(Md::sha256(), &key, data, &mut out).expect("Couldn't calculate sha256 hmac"); 177 + hmac(Md::sha256(), &key, data, &mut out).expect("Couldn't calculate sha256 hmac"); 192 - let hmac_result = hmac(Md::sha256(), &key, data, &mut out).expect("Couldn't calculate sha2… 195 + let mut hmac_ctx = HmacCtx::new(&key, Md::sha256()).unwrap(); 211 + let mut hmac_ctx = HmacCtx::new(&key, Md::sha256()).unwrap(); 224 + let mut hmac_ctx = HmacCtx::new(&key, Md::sha256()).unwrap();
|
/external/rust/beto-rust/nearby/scripts/openssl-patches/ |
D | 0003-Add-HmacCtx-wrapper-for-BoringSSL.patch | 119 use crate::md::Md; 137 - let hmac_result = hmac(Md::sha256(), &key, data, &mut out).expect("Couldn't calculate sha2… 140 + hmac(Md::sha256(), &key, data, &mut out).expect("Couldn't calculate sha256 hmac"); 157 + hmac(Md::sha256(), &key, data, &mut out).expect("Couldn't calculate sha256 hmac"); 172 - let hmac_result = hmac(Md::sha256(), &key, data, &mut out).expect("Couldn't calculate sha2… 175 + let mut hmac_ctx = HmacCtx::new(&key, Md::sha256()).unwrap();
|