Home
last modified time | relevance | path

Searched refs:DH (Results 1 – 25 of 166) sorted by relevance

1234567

/external/boringssl/src/include/openssl/
Ddh.h78 OPENSSL_EXPORT DH *DH_new(void);
82 OPENSSL_EXPORT void DH_free(DH *dh);
85 OPENSSL_EXPORT int DH_up_ref(DH *dh);
93 OPENSSL_EXPORT void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key,
98 OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p,
109 OPENSSL_EXPORT DH *DH_get_1024_160(const ENGINE *engine);
110 OPENSSL_EXPORT DH *DH_get_2048_224(const ENGINE *engine);
111 OPENSSL_EXPORT DH *DH_get_2048_256(const ENGINE *engine);
132 OPENSSL_EXPORT int DH_generate_parameters_ex(DH *dh, int prime_bits,
140 OPENSSL_EXPORT int DH_generate_key(DH *dh);
[all …]
/external/boringssl/src/crypto/dh/
Ddh.c75 DH *DH_new(void) { in DH_new()
76 DH *dh = OPENSSL_malloc(sizeof(DH)); in DH_new()
78 OPENSSL_PUT_ERROR(DH, ERR_R_MALLOC_FAILURE); in DH_new()
82 OPENSSL_memset(dh, 0, sizeof(DH)); in DH_new()
92 void DH_free(DH *dh) { in DH_free()
117 void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key, in DH_get0_key()
127 void DH_get0_pqg(const DH *dh, const BIGNUM **out_p, const BIGNUM **out_q, in DH_get0_pqg()
140 int DH_generate_parameters_ex(DH *dh, int prime_bits, int generator, BN_GENCB *cb) { in DH_generate_parameters_ex()
198 OPENSSL_PUT_ERROR(DH, DH_R_BAD_GENERATOR); in DH_generate_parameters_ex()
246 OPENSSL_PUT_ERROR(DH, ERR_R_BN_LIB); in DH_generate_parameters_ex()
[all …]
Ddh_asn1.c80 OPENSSL_PUT_ERROR(DH, ERR_R_PASSED_NULL_PARAMETER); in marshal_integer()
86 DH *DH_parse_parameters(CBS *cbs) { in DH_parse_parameters()
87 DH *ret = DH_new(); in DH_parse_parameters()
115 OPENSSL_PUT_ERROR(DH, DH_R_DECODE_ERROR); in DH_parse_parameters()
120 int DH_marshal_parameters(CBB *cbb, const DH *dh) { in DH_marshal_parameters()
128 OPENSSL_PUT_ERROR(DH, DH_R_ENCODE_ERROR); in DH_marshal_parameters()
134 DH *d2i_DHparams(DH **out, const uint8_t **inp, long len) { in d2i_DHparams()
140 DH *ret = DH_parse_parameters(&cbs); in d2i_DHparams()
152 int i2d_DHparams(const DH *in, uint8_t **outp) { in i2d_DHparams()
Dparams.c190 static DH *get_standard_parameters(const struct standard_parameters *params, in get_standard_parameters()
192 DH *dh = DH_new(); in get_standard_parameters()
208 DH *DH_get_1024_160(const ENGINE *engine) { in DH_get_1024_160()
212 DH *DH_get_2048_224(const ENGINE *engine) { in DH_get_2048_224()
216 DH *DH_get_2048_256(const ENGINE *engine) { in DH_get_2048_256()
Ddh_test.cc115 bssl::UniquePtr<DH> a(DH_new()); in RunBasicTests()
143 bssl::UniquePtr<DH> b(DH_new()); in RunBasicTests()
406 DH *(*get_param)(const ENGINE *engine);
437 bssl::UniquePtr<DH> dhA(td->get_param(nullptr)); in RunRFC5114Tests()
438 bssl::UniquePtr<DH> dhB(td->get_param(nullptr)); in RunRFC5114Tests()
513 bssl::UniquePtr<DH> dh(DH_get_2048_224(nullptr)); in TestBadY()
560 bssl::UniquePtr<DH> dh(DH_parse_parameters(&cbs)); in TestASN1()
Dcheck.c62 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret) { in DH_check_pub_key()
113 int DH_check(const DH *dh, int *ret) { in DH_check()
/external/openssh/
Ddh.h35 DH *choose_dh(int, int, int);
36 DH *dh_new_group_asc(const char *, const char *);
37 DH *dh_new_group(BIGNUM *, BIGNUM *);
38 DH *dh_new_group1(void);
39 DH *dh_new_group14(void);
40 DH *dh_new_group_fallback(int);
42 int dh_gen_key(DH *, int);
43 int dh_pub_is_valid(DH *, BIGNUM *);
Ddh.c145 DH *
216 dh_pub_is_valid(DH *dh, BIGNUM *dh_pub) in dh_pub_is_valid()
258 dh_gen_key(DH *dh, int need) in dh_gen_key()
280 DH *
283 DH *dh; in dh_new_group_asc()
300 DH *
303 DH *dh; in dh_new_group()
313 DH *
327 DH *
350 DH *
Dssh-keygen.041 group exchange (DH-GEX). See the MODULI GENERATION section for details.
96 When screening DH-GEX candidates ( using the -T command). This
148 Generate candidate primes for DH-GEX. These primes must be
178 performing DH candidate screening using the -T option.
181 Start screening at the specified line number while performing DH
186 performing DH candidate screening using the -T option. This will
207 generating candidate moduli for DH-GEX.
307 DH-GEX.
318 Test DH group exchange candidate primes (generated using the -G
355 Specify desired generator when testing candidate moduli for DH-
[all …]
/external/boringssl/src/crypto/err/
Ddh.errordata1 DH,100,BAD_GENERATOR
2 DH,104,DECODE_ERROR
3 DH,105,ENCODE_ERROR
4 DH,101,INVALID_PUBKEY
5 DH,102,MODULUS_TOO_LARGE
6 DH,103,NO_PRIVATE_VALUE
/external/boringssl/src/crypto/pem/
Dpem_pkey.c191 DH *PEM_read_bio_DHparams(BIO *bp, DH **x, pem_password_cb *cb, void *u) in PEM_read_bio_DHparams()
197 DH *ret = NULL; in PEM_read_bio_DHparams()
213 DH *PEM_read_DHparams(FILE *fp, DH **x, pem_password_cb *cb, void *u) in PEM_read_DHparams()
216 DH *ret; in PEM_read_DHparams()
/external/libcxx/test/std/experimental/memory/memory.resource.aliases/
Dheader_unordered_set_synop.pass.cpp43 using DH = std::hash<V>; in main() typedef
48 using StdSet = std::unordered_set<V, DH, DP, pmr::polymorphic_allocator<V>>; in main()
67 using StdSet = std::unordered_multiset<V, DH, DP, pmr::polymorphic_allocator<V>>; in main()
Dheader_unordered_map_synop.pass.cpp44 using DH = std::hash<K>; in main() typedef
50 using StdMap = std::unordered_map<K, V, DH, DP, pmr::polymorphic_allocator<P>>; in main()
69 using StdMap = std::unordered_multimap<K, V, DH, DP, pmr::polymorphic_allocator<P>>; in main()
/external/llvm/tools/yaml2obj/
Dyaml2coff.cpp355 object::dos_header DH; in writeCOFF() local
356 memset(&DH, 0, sizeof(DH)); in writeCOFF()
359 DH.Magic[0] = 'M'; in writeCOFF()
360 DH.Magic[1] = 'Z'; in writeCOFF()
364 DH.AddressOfRelocationTable = sizeof(DH); in writeCOFF()
366 DH.AddressOfNewExeHeader = DOSStubSize; in writeCOFF()
369 OS.write(reinterpret_cast<char *>(&DH), sizeof(DH)); in writeCOFF()
372 OS << num_zeros(DOSStubSize - sizeof(DH)); in writeCOFF()
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/
Ddnssec.py19 DH = 2 variable
33 'DH' : DH,
/external/boringssl/src/decrepit/dh/
Ddh_decrepit.c70 DH *DH_generate_parameters(int prime_len, int generator, in DH_generate_parameters()
76 DH *ret = DH_new(); in DH_generate_parameters()
/external/boringssl/src/ssl/
Dssl_ecdh.c225 DH_free((DH *)ctx->data); in ssl_dhe_cleanup()
229 DH *dh = (DH *)ctx->data; in ssl_dhe_offer()
243 DH *dh = (DH *)ctx->data; in ssl_dhe_finish()
414 void SSL_ECDH_CTX_init_for_dhe(SSL_ECDH_CTX *ctx, DH *params) { in SSL_ECDH_CTX_init_for_dhe()
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp89 void printDOSHeader(const dos_header *DH);
584 if (const dos_header *DH = Obj->getDOSHeader()) in printFileHeaders() local
585 printDOSHeader(DH); in printFileHeaders()
588 void COFFDumper::printDOSHeader(const dos_header *DH) { in printDOSHeader() argument
590 W.printString("Magic", StringRef(DH->Magic, sizeof(DH->Magic))); in printDOSHeader()
591 W.printNumber("UsedBytesInTheLastPage", DH->UsedBytesInTheLastPage); in printDOSHeader()
592 W.printNumber("FileSizeInPages", DH->FileSizeInPages); in printDOSHeader()
593 W.printNumber("NumberOfRelocationItems", DH->NumberOfRelocationItems); in printDOSHeader()
594 W.printNumber("HeaderSizeInParagraphs", DH->HeaderSizeInParagraphs); in printDOSHeader()
595 W.printNumber("MinimumExtraParagraphs", DH->MinimumExtraParagraphs); in printDOSHeader()
[all …]
/external/wycheproof/doc/
Ddh.md47 The DH parameters must be carefully chosen to avoid security issues. A panel at
58 TODO(bleichen): So far not test for weak DH parameters has been implemented.
62 DH implementations are sometimes misconfigured. Adrian et al. [WeakDh] analyzed
118 and 1.0.1 before 1.0.1k accepts client authentication with a Diffie-Hellman (DH) certificate
121 recognizes a Certification Authority with DH support.
124 1.0.2f does not ensure that prime numbers are appropriate for Diffie-Hellman (DH) key exchange,
125 which makes it easier for remote attackers to discover a private DH exponent by making multiple
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp78 X86::DH, X86::BH, X86::AX, X86::CX, X86::DX, X86::BX, in initLLVMToSEHAndCVRegMapping()
295 case X86::DH: case X86::DL: case X86::DX: case X86::EDX: case X86::RDX: in getX86SubSuperRegisterOrZero()
296 return X86::DH; in getX86SubSuperRegisterOrZero()
307 case X86::DH: case X86::DL: case X86::DX: case X86::EDX: case X86::RDX: in getX86SubSuperRegisterOrZero()
344 case X86::DH: case X86::DL: case X86::DX: case X86::EDX: case X86::RDX: in getX86SubSuperRegisterOrZero()
380 case X86::DH: case X86::DL: case X86::DX: case X86::EDX: case X86::RDX: in getX86SubSuperRegisterOrZero()
416 case X86::DH: case X86::DL: case X86::DX: case X86::EDX: case X86::RDX: in getX86SubSuperRegisterOrZero()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyAgreementSpi.java264 public static class DH class in KeyAgreementSpi
267 public DH() in DH() method in KeyAgreementSpi.DH
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DSourceMgr.h76 void setDiagHandler(DiagHandlerTy DH, void *Ctx = 0) {
77 DiagHandler = DH;
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86RegisterInfo.td68 def DH : Register<"dh">;
75 def DX : RegisterWithSubRegs<"dx", [DL,DH]>;
283 // FIXME: Allow AH, CH, DH, BH to be used as general-purpose registers in
289 (add AL, CL, DL, AH, CH, DH, BL, BH, SIL, DIL, BPL, SPL,
291 let AltOrders = [(sub GR8, AH, BH, CH, DH)];
338 def GR8_ABCD_H : RegisterClass<"X86", [i8], 8, (add AH, CH, DH, BH)>;
368 (add AL, CL, DL, AH, CH, DH, BL, BH)> {
369 let AltOrders = [(sub GR8_NOREX, AH, BH, CH, DH)];
/external/icu/icu4c/source/data/coll/
Dom.txt8 "&Z<ch<<<Ch<<<CH<dh<<<Dh<<<DH<kh<<<Kh<<<KH<ny<<<Ny<<<NY<ph<<<Ph<<<PH<"
/external/swiftshader/third_party/LLVM/utils/
DNewNightlyTest.pl303 opendir DH, $WebDir;
304 my @Result = reverse sort grep !/$DATE/, grep /[-0-9]+$Suffix/, readdir DH;
305 closedir DH;

1234567