| /openbsd-src/lib/libcrypto/dh/ |
| H A D | dh.h | 76 /* If this flag is set the DH method is FIPS compliant and can be used 117 DH *d2i_DHparams_bio(BIO *bp, DH **a); 118 int i2d_DHparams_bio(BIO *bp, DH *a); 119 DH *d2i_DHparams_fp(FILE *fp, DH **a); 120 int i2d_DHparams_fp(FILE *fp, DH *a); 122 DH *DHparams_dup(DH *); 128 int DH_set_method(DH *d [all...] |
| H A D | dh_asn1.c | 78 DH_free((DH *)*pval); in dh_cb() 97 .offset = offsetof(DH, p), 104 .offset = offsetof(DH, g), 111 .offset = offsetof(DH, length), 123 .size = sizeof(DH), 128 DH * 129 d2i_DHparams(DH **a, const unsigned char **in, long len) in d2i_DHparams() 131 return (DH *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, in d2i_DHparams() 137 i2d_DHparams(const DH *a, unsigned char **out) in i2d_DHparams() 143 DH * [all …]
|
| H A D | dh_lib.c | 89 DH_set_method(DH *dh, const DH_METHOD *meth) in DH_set_method() 107 DH * 114 DH * 117 DH *dh; in DH_new_method() 143 DH_free(DH *dh) in DH_free() 166 DH_up_ref(DH *dh) 182 DH_set_ex_data(DH *dh, int idx, void *arg) 189 DH_get_ex_data(DH *dh, int idx) 196 DH_size(const DH *dh) 203 DH_bits(const DH *d in DH_size() [all...] |
| H A D | dh_local.h | 67 int (*generate_key)(DH *dh); 68 int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh); 69 int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a, 71 int (*init)(DH *dh); 72 int (*finish)(DH *dh); 76 int (*generate_params)(DH *dh, int prime_len, int generator,
|
| H A D | dh_key.c | 69 generate_key(DH *dh) in generate_key() 136 compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in compute_key() 192 dh_bn_mod_exp(const DH *dh, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, in dh_bn_mod_exp() 199 dh_init(DH *dh) in dh_init() 206 dh_finish(DH *dh) in dh_finish() 213 DH_generate_key(DH *dh) in DH_generate_key() 220 DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key()
|
| H A D | dh_gen.c | 68 static int dh_builtin_genparams(DH *ret, int prime_len, int generator, 72 DH_generate_parameters_ex(DH *ret, int prime_len, int generator, BN_GENCB *cb) in DH_generate_parameters_ex() 107 dh_builtin_genparams(DH *ret, int prime_len, int generator, BN_GENCB *cb) in dh_builtin_genparams() 180 DH * 185 DH *ret = NULL; in DH_generate_parameters()
|
| H A D | dh_check.c | 75 DH_check_params(const DH *dh, int *flags) 113 DH_check(const DH *dh, int *flags) in DH_check_params() 185 DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *flags) in DH_check()
|
| H A D | dh_ameth.c | 88 DH *dh = NULL; in dh_pub_decode() 136 const DH *dh = pkey->pkey.dh; in dh_pub_encode() 186 * PKCS#8 DH is defined in PKCS#11 of all places. It is similar to DH in 201 DH *dh = NULL; in dh_priv_decode() 251 const DH *dh = pkey->pkey.dh; in dh_priv_encode() 305 DH *dh = NULL; in dh_param_decode() 331 do_dh_print(BIO *bp, const DH *x, int indent, ASN1_PCTX *ctx, int ptype) in do_dh_print() 348 ktype = "PKCS#3 DH Private-Key"; in do_dh_print() 350 ktype = "PKCS#3 DH Publi in do_dh_print() [all...] |
| H A D | dh_pmeth.c | 75 /* DH pkey context structure */ 178 DH *dh; in pkey_dh_ctrl_str() 206 DH *dh = NULL; in pkey_dh_paramgen()
|
| /openbsd-src/usr.bin/ssh/ |
| H A D | dh.h | 37 DH *choose_dh(int, int, int); 38 DH *dh_new_group_asc(const char *, const char *); 39 DH *dh_new_group(BIGNUM *, BIGNUM *); 40 DH *dh_new_group1(void); 41 DH *dh_new_group14(void); 42 DH *dh_new_group16(void); 43 DH *dh_new_group18(void); 44 DH *dh_new_group_fallback(int); 46 int dh_gen_key(DH *, int); 47 int dh_pub_is_valid(const DH *, const BIGNUM *);
|
| H A D | dh.c | 151 DH * 229 dh_pub_is_valid(const DH *dh, const BIGNUM *dh_pub) in dh_pub_is_valid() 240 logit("invalid public DH value: negative"); in dh_pub_is_valid() 244 logit("invalid public DH value: <= 1"); in dh_pub_is_valid() 255 logit("invalid public DH value: >= p-1"); in dh_pub_is_valid() 269 logit("invalid public DH value (%d/%d)", in dh_pub_is_valid() 277 dh_gen_key(DH *dh, int need) in dh_gen_key() 305 DH * 308 DH *dh; in dh_new_group_asc() 330 DH * [all...] |
| /openbsd-src/lib/libssl/ |
| H A D | ssl_kex.c | 31 ssl_kex_generate_dhe(DH *dh, DH *dh_params) in ssl_kex_generate_dhe() 59 ssl_kex_generate_dhe_params_auto(DH *dh, size_t key_bits) in ssl_kex_generate_dhe_params_auto() 103 ssl_kex_params_dhe(DH *dh, CBB *cbb) in ssl_kex_params_dhe() 135 ssl_kex_public_dhe(DH *dh, CBB *cbb) in ssl_kex_public_dhe() 158 ssl_kex_peer_params_dhe(DH *dh, CBS *cbs, int *decode_error, in ssl_kex_peer_params_dhe() 202 ssl_kex_peer_public_dhe(DH *dh, CBS *cbs, int *decode_error, in ssl_kex_peer_public_dhe() 240 ssl_kex_derive_dhe(DH *dh, DH *dh_peer, in ssl_kex_derive_dhe()
|
| H A D | ssl_local.h | 199 #define SSL_kDHE 0x00000008L /* tmp DH key no DH cert */ 320 DH *dhe_params; 321 DH *(*dhe_params_cb)(SSL *ssl, int is_export, int keysize); 1235 int ssl_ctx_security_dh(const SSL_CTX *ctx, DH *dh); 1236 int ssl_security_dh(const SSL *ssl, DH *dh); 1341 int ssl_kex_generate_dhe(DH *dh, DH *dh_params); 1342 int ssl_kex_generate_dhe_params_auto(DH *dh, size_t key_len); 1343 int ssl_kex_params_dhe(DH *d [all...] |
| H A D | tls_key_share.c | 34 DH *dhe; 35 DH *dhe_peer; 121 tls_key_share_set_dh_params(struct tls_key_share *ks, DH *dh_params) in tls_key_share_set_dh_params()
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFReader.cpp | 27 const dos_header *DH = COFFObj.getDOSHeader(); in readExecutableHeaders() local 29 if (!DH) in readExecutableHeaders() 33 Obj.DosHeader = *DH; in readExecutableHeaders() 34 if (DH->AddressOfNewExeHeader > sizeof(*DH)) in readExecutableHeaders() 35 Obj.DosStub = ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(&DH[1]), in readExecutableHeaders() 36 DH->AddressOfNewExeHeader - sizeof(*DH)); in readExecutableHeaders()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/File-Temp/t/ |
| H A D | rmtree.t | 37 opendir(my $DH, $dir) or die "opendir failed; $!"; 38 my @contents = grep $_ !~ /^\.+/, readdir($DH); 39 closedir($DH);
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | COFF.cpp | 62 const auto *DH = in createLinkGraphFromCOFFObject() local 64 if (DH->Magic[0] == 'M' && DH->Magic[1] == 'Z') { in createLinkGraphFromCOFFObject() 66 CurPtr = DH->AddressOfNewExeHeader; in createLinkGraphFromCOFFObject()
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | COFFEmitter.cpp | 402 object::dos_header DH; in writeCOFF() local 403 memset(&DH, 0, sizeof(DH)); in writeCOFF() 406 DH.Magic[0] = 'M'; in writeCOFF() 407 DH.Magic[1] = 'Z'; in writeCOFF() 411 DH.AddressOfRelocationTable = sizeof(DH); in writeCOFF() 413 DH.AddressOfNewExeHeader = DOSStubSize; in writeCOFF() 416 OS.write(reinterpret_cast<char *>(&DH), sizeof(DH)); in writeCOFF() 419 OS.write_zeros(DOSStubSize - sizeof(DH)); in writeCOFF()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/CPAN/t/ |
| H A D | 03pkgs.t | 21 opendir DH, "lib/CPAN" or die; 22 @m = ("CPAN", map { "CPAN::$_" } grep { s/\.pm$// } readdir DH);
|
| /openbsd-src/gnu/usr.bin/perl/t/op/ |
| H A D | chdir.t | 73 *DH = $dh; 78 ok(chdir DH, "fchdir back bareword"); 81 eval { chdir(DH); };
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Unicode-Collate/t/ |
| H A D | loc_om.t | 52 ok($objOm->eq("Dh", "DH")); 68 ok($objOm->lt("Dh", "DH")); 84 ok($objOm->gt("Dh", "DH"));
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/ |
| H A D | COFFDumper.cpp | 120 void printDOSHeader(const dos_header *DH); 689 if (const dos_header *DH = Obj->getDOSHeader()) in printFileHeaders() local 690 printDOSHeader(DH); in printFileHeaders() 693 void COFFDumper::printDOSHeader(const dos_header *DH) { in printDOSHeader() argument 695 W.printString("Magic", StringRef(DH->Magic, sizeof(DH->Magic))); in printDOSHeader() 696 W.printNumber("UsedBytesInTheLastPage", DH->UsedBytesInTheLastPage); in printDOSHeader() 697 W.printNumber("FileSizeInPages", DH->FileSizeInPages); in printDOSHeader() 698 W.printNumber("NumberOfRelocationItems", DH->NumberOfRelocationItems); in printDOSHeader() 699 W.printNumber("HeaderSizeInParagraphs", DH->HeaderSizeInParagraphs); in printDOSHeader() 700 W.printNumber("MinimumExtraParagraphs", DH->MinimumExtraParagraphs); in printDOSHeader() [all …]
|
| /openbsd-src/lib/libcrypto/pem/ |
| H A D | pem_all.c | 640 DH * 641 PEM_read_DHparams(FILE *fp, DH **x, pem_password_cb *cb, void *u) in PEM_read_DHparams() 649 PEM_write_DHparams(FILE *fp, const DH *x) in PEM_write_DHparams() 656 DH * 657 PEM_read_bio_DHparams(BIO *bp, DH **x, pem_password_cb *cb, void *u) in PEM_read_bio_DHparams() 665 PEM_write_bio_DHparams(BIO *bp, const DH *x) in PEM_write_bio_DHparams()
|
| /openbsd-src/regress/lib/libssl/ssl/ |
| H A D | ssltest.c | 185 static DH *get_dh1024(void); 186 static DH *get_dh1024dsa(void); 429 DH *dh; in main() 1434 static DH * 1453 DH *dh; in get_dh1024() 1476 static DH * 1505 DH *dh; in get_dh1024dsa()
|
| /openbsd-src/regress/lib/libcrypto/x509/bettertls/certificates/ |
| H A D | 596.crt | 20 DH/p66W5ZQJhbdzRvwE0PR/NB+OG5Kgj0AkB0YgyrNjcEYvUzRTVBWhxKBgI7bOw
|