Home
last modified time | relevance | path

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

1234567891011

/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/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/curl/docs/
DCIPHERS.md21 `DH-DSS-DES-CBC3-SHA`
22 `DH-RSA-DES-CBC3-SHA`
45 `DH-DSS-AES128-SHA`
46 `DH-DSS-AES256-SHA`
47 `DH-RSA-AES128-SHA`
48 `DH-RSA-AES256-SHA`
59 `DH-DSS-SEED-SHA`
60 `DH-RSA-SEED-SHA`
97 `DH-RSA-AES128-SHA256`
98 `DH-RSA-AES256-SHA256`
[all …]
/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/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/python/cpython3/Lib/test/
Ddh1024.pem1 -----BEGIN DH PARAMETERS-----
5 -----END DH PARAMETERS-----
/external/python/cpython2/Lib/test/
Ddh1024.pem1 -----BEGIN DH PARAMETERS-----
5 -----END DH PARAMETERS-----
/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/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/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;
/external/icu/icu4c/source/data/coll/
Dom.txt8 "&Z<ch<<<Ch<<<CH<dh<<<Dh<<<DH<kh<<<Kh<<<KH<ny<<<Ny<<<NY<ph<<<Ph<<<PH<"
Dsq.txt9 "&[before 1]E<dh<<<Dh<<<DH"
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSourceMgr.h84 void setDiagHandler(DiagHandlerTy DH, void *Ctx = nullptr) {
85 DiagHandler = DH;
/external/llvm/lib/Target/X86/
DX86RegisterInfo.td56 def DH : X86Reg<"dh", 6>;
79 def DX : X86Reg<"dx", 2, [DL,DH]>;
323 // FIXME: Allow AH, CH, DH, BH to be used as general-purpose registers in
329 (add AL, CL, DL, AH, CH, DH, BL, BH, SIL, DIL, BPL, SPL,
331 let AltOrders = [(sub GR8, AH, BH, CH, DH)];
370 def GR8_ABCD_H : RegisterClass<"X86", [i8], 8, (add AH, CH, DH, BH)>;
382 (add AL, CL, DL, AH, CH, DH, BL, BH)> {
383 let AltOrders = [(sub GR8_NOREX, AH, BH, CH, DH)];

1234567891011