Home
last modified time | relevance | path

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

12345678910>>...14

/external/boringssl/src/include/openssl/
Ddh.h77 OPENSSL_EXPORT DH *DH_new(void);
81 OPENSSL_EXPORT void DH_free(DH *dh);
84 OPENSSL_EXPORT int DH_up_ref(DH *dh);
92 OPENSSL_EXPORT void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key,
98 OPENSSL_EXPORT int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
102 OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p,
109 OPENSSL_EXPORT int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
133 OPENSSL_EXPORT int DH_generate_parameters_ex(DH *dh, int prime_bits,
141 OPENSSL_EXPORT int DH_generate_key(DH *dh);
148 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 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key) { in DH_set0_key()
141 void DH_get0_pqg(const DH *dh, const BIGNUM **out_p, const BIGNUM **out_q, in DH_get0_pqg()
154 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) { in DH_set0_pqg()
178 int DH_generate_parameters_ex(DH *dh, int prime_bits, int generator, BN_GENCB *cb) { 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()
Ddh_test.cc113 bssl::UniquePtr<DH> a(DH_new()); in RunBasicTests()
141 bssl::UniquePtr<DH> b(DH_new()); in RunBasicTests()
288 bssl::UniquePtr<DH> dh(DH_new()); in TestBadY()
342 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 *out_flags) { in DH_check_pub_key()
113 int DH_check(const DH *dh, int *out_flags) { 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_group16(void);
41 DH *dh_new_group18(void);
42 DH *dh_new_group_fallback(int);
44 int dh_gen_key(DH *, int);
45 int dh_pub_is_valid(DH *, BIGNUM *);
Ddh.c145 DH *
215 dh_pub_is_valid(DH *dh, BIGNUM *dh_pub) in dh_pub_is_valid()
260 dh_gen_key(DH *dh, int need) in dh_gen_key()
288 DH *
291 DH *dh; in dh_new_group_asc()
308 DH *
311 DH *dh; in dh_new_group()
322 DH *
337 DH *
357 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.c186 DH *PEM_read_bio_DHparams(BIO *bp, DH **x, pem_password_cb *cb, void *u) in PEM_read_bio_DHparams()
192 DH *ret = NULL; in PEM_read_bio_DHparams()
208 DH *PEM_read_DHparams(FILE *fp, DH **x, pem_password_cb *cb, void *u) in PEM_read_DHparams()
215 DH *ret = PEM_read_bio_DHparams(b, x, cb, u); in PEM_read_DHparams()
/external/curl/docs/
DCIPHERS.md32 `DH-DSS-DES-CBC3-SHA`
33 `DH-RSA-DES-CBC3-SHA`
56 `DH-DSS-AES128-SHA`
57 `DH-DSS-AES256-SHA`
58 `DH-RSA-AES128-SHA`
59 `DH-RSA-AES256-SHA`
70 `DH-DSS-SEED-SHA`
71 `DH-RSA-SEED-SHA`
108 `DH-RSA-AES128-SHA256`
109 `DH-RSA-AES256-SHA256`
[all …]
/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/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/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2coff.cpp416 object::dos_header DH; in writeCOFF() local
417 memset(&DH, 0, sizeof(DH)); in writeCOFF()
420 DH.Magic[0] = 'M'; in writeCOFF()
421 DH.Magic[1] = 'Z'; in writeCOFF()
425 DH.AddressOfRelocationTable = sizeof(DH); in writeCOFF()
427 DH.AddressOfNewExeHeader = DOSStubSize; in writeCOFF()
430 OS.write(reinterpret_cast<char *>(&DH), sizeof(DH)); in writeCOFF()
433 OS << num_zeros(DOSStubSize - sizeof(DH)); in writeCOFF()
/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/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/python/cpython2/Lib/test/
Dffdh3072.pem1 DH Parameters: (3072 bit)
31 -----BEGIN DH PARAMETERS-----
41 -----END DH PARAMETERS-----
/external/python/cpython3/Lib/test/
Dffdh3072.pem1 DH Parameters: (3072 bit)
31 -----BEGIN DH PARAMETERS-----
41 -----END DH PARAMETERS-----
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DCOFFDumper.cpp107 void printDOSHeader(const dos_header *DH);
653 if (const dos_header *DH = Obj->getDOSHeader()) in printFileHeaders() local
654 printDOSHeader(DH); in printFileHeaders()
657 void COFFDumper::printDOSHeader(const dos_header *DH) { in printDOSHeader() argument
659 W.printString("Magic", StringRef(DH->Magic, sizeof(DH->Magic))); in printDOSHeader()
660 W.printNumber("UsedBytesInTheLastPage", DH->UsedBytesInTheLastPage); in printDOSHeader()
661 W.printNumber("FileSizeInPages", DH->FileSizeInPages); in printDOSHeader()
662 W.printNumber("NumberOfRelocationItems", DH->NumberOfRelocationItems); in printDOSHeader()
663 W.printNumber("HeaderSizeInParagraphs", DH->HeaderSizeInParagraphs); in printDOSHeader()
664 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/swiftshader/third_party/LLVM/include/llvm/Support/
DSourceMgr.h76 void setDiagHandler(DiagHandlerTy DH, void *Ctx = 0) {
77 DiagHandler = DH;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyAgreementSpi.java352 public static class DH class in KeyAgreementSpi
355 public DH() in DH() method in KeyAgreementSpi.DH
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyAgreementSpi.java357 public static class DH class in KeyAgreementSpi
360 public DH() in DH() method in KeyAgreementSpi.DH
/external/python/cpython2/Misc/NEWS.d/next/Tests/
D2018-08-14-10-47-44.bpo-34399.D_jd1G.rst1 Update all RSA keys and DH params to use at least 2048 bits.

12345678910>>...14