/external/openssl/crypto/dh/ |
p1024.c | 1 /* crypto/dh/p1024.c */ 62 #include <openssl/dh.h> 85 DH *dh; local 87 dh=DH_new(); 88 dh->p=BN_bin2bn(data,sizeof(data),NULL); 89 dh->g=BN_new(); 90 BN_set_word(dh->g,2); 91 PEM_write_DHparams(stdout,dh);
|
p192.c | 1 /* crypto/dh/p192.c */ 62 #include <openssl/dh.h> 73 DH *dh; local 75 dh=DH_new(); 76 dh->p=BN_bin2bn(data,sizeof(data),NULL); 77 dh->g=BN_new(); 78 BN_set_word(dh->g,3); 79 PEM_write_DHparams(stdout,dh);
|
p512.c | 1 /* crypto/dh/p512.c */ 62 #include <openssl/dh.h> 78 DH *dh; local 80 dh=DH_new(); 81 dh->p=BN_bin2bn(data,sizeof(data),NULL); 82 dh->g=BN_new(); 83 BN_set_word(dh->g,2); 84 PEM_write_DHparams(stdout,dh);
|
dh_pmeth.c | 63 #include <openssl/dh.h> 67 /* DH pkey context structure */ 163 DH *dh = NULL; local 174 dh = DH_new(); 175 if (!dh) 177 ret = DH_generate_parameters_ex(dh, 180 EVP_PKEY_assign_DH(pkey, dh); 182 DH_free(dh); 188 DH *dh = NULL local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
AlgorithmParametersSpi.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.dh; 81 throw new InvalidParameterSpecException("unknown parameter spec passed to DH parameters object."); 115 throw new IOException("Not a valid DH Parameter encoding."); 119 throw new IOException("Not a valid DH Parameter encoding.");
|
KeyFactorySpi.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.dh;
|
AlgorithmParameterGeneratorSpi.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.dh; 38 throw new InvalidAlgorithmParameterException("DH parameter generator requires a DHGenParameterSpec for initialisation"); 66 params = AlgorithmParameters.getInstance("DH", BouncyCastleProvider.PROVIDER_NAME);
|
KeyAgreementSpi.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.dh;
|
KeyPairGeneratorSpi.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.dh; 36 super("DH");
|
BCDHPublicKey.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.dh; 75 throw new IllegalArgumentException("invalid info structure in DH public key"); 111 return "DH";
|
/external/chromium_org/third_party/icu/source/tools/genbrk/ |
genbrk.cpp | 99 DataHeader dh ={ variable 306 uprv_memcpy(dh.info.formatVersion, ((RBBIDataHeader *)outData)->fFormatVersion, sizeof(dh.info.formatVersion)); 313 pData = udata_create(outDir, NULL, outFileName, &(dh.info), copyright, &status);
|
/external/icu/icu4c/source/tools/genbrk/ |
genbrk.cpp | 99 DataHeader dh ={ variable 306 uprv_memcpy(dh.info.formatVersion, ((RBBIDataHeader *)outData)->fFormatVersion, sizeof(dh.info.formatVersion)); 313 pData = udata_create(outDir, NULL, outFileName, &(dh.info), copyright, &status);
|
/external/chromium_org/third_party/boringssl/src/crypto/dh/ |
dh.c | 57 #include <openssl/dh.h> 71 DH *DH_new(void) { return DH_new_method(NULL); } 73 DH *DH_new_method(const ENGINE *engine) { 74 DH *dh = (DH *)OPENSSL_malloc(sizeof(DH)); local 75 if (dh == NULL) { 76 OPENSSL_PUT_ERROR(DH, DH_new_method, ERR_R_MALLOC_FAILURE); 80 memset(dh, 0, sizeof(DH)) [all...] |
params.c | 53 #include <openssl/dh.h> 241 static DH *get_standard_parameters(const struct standard_parameters *params, 243 DH *dh; local 245 dh = DH_new_method(engine); 246 if (!dh) { 250 dh->p = BN_dup(¶ms->p); 251 dh->q = BN_dup(¶ms->q); 252 dh->g = BN_dup(¶ms->g); 253 if (!dh->p || !dh->q || !dh->g) [all...] |
/external/chromium_org/third_party/icu/source/tools/gencfu/ |
gencfu.cpp | 99 DataHeader dh ={ variable 257 uprv_memcpy(dh.info.formatVersion, 259 sizeof(dh.info.formatVersion)); 266 pData = udata_create(outDir, NULL, outFileName, &(dh.info), copyright, &status);
|
/external/icu/icu4c/source/tools/gencfu/ |
gencfu.cpp | 99 DataHeader dh ={ variable 257 uprv_memcpy(dh.info.formatVersion, 259 sizeof(dh.info.formatVersion)); 266 pData = udata_create(outDir, NULL, outFileName, &(dh.info), copyright, &status);
|
/external/openssl/apps/ |
gendh.c | 77 #include <openssl/dh.h> 92 DH *dh=NULL; local 200 BIO_printf(bio_err,"Generating DH parameters, %d bit long safe prime, generator %d\n",num,g); 203 if(((dh = DH_new()) == NULL) || !DH_generate_parameters_ex(dh, num, g, &cb)) 208 if (!PEM_write_bio_DHparams(out,dh)) 215 if (dh != NULL) DH_free(dh);
|
dh.c | 1 /* apps/dh.c */ 70 #include <openssl/dh.h> 91 DH *dh=NULL; local 176 BIO_printf(bio_err," -check check the DH parameters\n"); 177 BIO_printf(bio_err," -text print a text form of the DH parameters\n"); 230 dh=d2i_DHparams_bio(in,NULL); 232 dh=PEM_read_bio_DHparams(in,NULL,NULL,NULL); 238 if (dh == NULL) 240 BIO_printf(bio_err,"unable to load DH parameters\n") [all...] |
dhparam.c | 122 #include <openssl/dh.h> 139 * -dsaparam - read or generate DSA parameters, convert to DH 152 DH *dh=NULL; local 249 BIO_printf(bio_err," -dsaparam read or generate DSA parameters, convert to DH\n"); 251 BIO_printf(bio_err," -check check the DH parameters\n"); 252 BIO_printf(bio_err," -text print a text form of the DH parameters\n"); 288 /* DH parameters */ 319 dh = DSA_dup_DH(dsa); 321 if (dh == NULL [all...] |
/frameworks/base/core/java/android/text/style/ |
DrawableMarginSpan.java | 50 int dh = mDrawable.getIntrinsicHeight(); local 53 mDrawable.setBounds(ix, itop, ix+dw, itop+dh);
|
/system/core/libpixelflinger/codeflinger/ |
load_store.cpp | 259 int dh = d.format.c[component].h; local 261 int dbits = dh - dl; 375 int shift = sh-dh;
|
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_scale/generic/ |
vpx_scale.c | 492 int dh = (vscale - 1 + src->y_height * vratio) / vscale; local 496 (unsigned char *) dst->y_buffer, dst->y_stride, dw, dh, 500 for (i = 0; i < dh; i++) 503 if (dh < (int)dst->y_height) 504 for (i = dh - 1; i < (int)dst->y_height; i++) 505 vpx_memcpy(dst->y_buffer + i * dst->y_stride, dst->y_buffer + (dh - 2) * dst->y_stride, dst->y_width + 1); 508 (unsigned char *) dst->u_buffer, dst->uv_stride, dw / 2, dh / 2, 515 if (dh / 2 < (int)dst->uv_height) 516 for (i = dh / 2 - 1; i < (int)dst->y_height / 2; i++) 517 vpx_memcpy(dst->u_buffer + i * dst->uv_stride, dst->u_buffer + (dh / 2 - 2)*dst->uv_stride, dst->uv_width) [all...] |
/external/libpcap/ |
pcap-libdlpi.c | 105 dlpi_handle_t dh; local 114 retv = dlpi_open(p->opt.source, &dh, DLPI_RAW|DLPI_PASSIVE); 125 pd->dlpi_hd = dh;
|
/external/libvpx/libvpx/vpx_scale/generic/ |
vpx_scale.c | 492 int dh = (vscale - 1 + src->y_height * vratio) / vscale; local 496 (unsigned char *) dst->y_buffer, dst->y_stride, dw, dh, 500 for (i = 0; i < dh; i++) 503 if (dh < (int)dst->y_height) 504 for (i = dh - 1; i < (int)dst->y_height; i++) 505 vpx_memcpy(dst->y_buffer + i * dst->y_stride, dst->y_buffer + (dh - 2) * dst->y_stride, dst->y_width + 1); 508 (unsigned char *) dst->u_buffer, dst->uv_stride, dw / 2, dh / 2, 515 if (dh / 2 < (int)dst->uv_height) 516 for (i = dh / 2 - 1; i < (int)dst->y_height / 2; i++) 517 vpx_memcpy(dst->u_buffer + i * dst->uv_stride, dst->u_buffer + (dh / 2 - 2)*dst->uv_stride, dst->uv_width) [all...] |
/external/tcpdump/ |
print-dccp.c | 63 static inline u_int dccp_csum_coverage(const struct dccp_hdr* dh, u_int len) 67 if (DCCPH_CSCOV(dh) == 0) 69 cov = (dh->dccph_doff + DCCPH_CSCOV(dh) - 1) * sizeof(u_int32_t); 74 const struct dccp_hdr *dh, u_int len) 76 return nextproto4_cksum(ip, (const u_int8_t *)(void *)dh, 77 dccp_csum_coverage(dh, len), IPPROTO_DCCP); 81 static int dccp6_cksum(const struct ip6_hdr *ip6, const struct dccp_hdr *dh, u_int len) 83 return nextproto6_cksum(ip6, (const u_int8_t *)(void *)dh, 84 dccp_csum_coverage(dh, len), IPPROTO_DCCP) 117 const struct dccp_hdr *dh = (const struct dccp_hdr *)bp; local 170 const struct dccp_hdr *dh; local [all...] |