Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 526) sorted by relevance

12345678910>>...22

/openssl/crypto/chacha/asm/
H A Dchacha-armv8.pl186 ror @d[2],@d[2],#32
187 ror @d[3],@d[3],#32
188 ror @d[4],@d[4],#32
189 ror @d[5],@d[5],#32
190 ror @d[6],@d[6],#32
191 ror @d[7],@d[7],#32
498 ror @d[2],@d[2],#32
499 ror @d[3],@d[3],#32
500 ror @d[4],@d[4],#32
501 ror @d[5],@d[5],#32
[all …]
/openssl/crypto/x509/
H A Dv3_genn.c130 result = ASN1_STRING_cmp(a->d.x400Address, b->d.x400Address); in GENERAL_NAME_cmp()
134 result = edipartyname_cmp(a->d.ediPartyName, b->d.ediPartyName); in GENERAL_NAME_cmp()
138 result = OTHERNAME_cmp(a->d.otherName, b->d.otherName); in GENERAL_NAME_cmp()
144 result = ASN1_STRING_cmp(a->d.ia5, b->d.ia5); in GENERAL_NAME_cmp()
148 result = X509_NAME_cmp(a->d.dirn, b->d.dirn); in GENERAL_NAME_cmp()
152 result = ASN1_OCTET_STRING_cmp(a->d.ip, b->d.ip); in GENERAL_NAME_cmp()
156 result = OBJ_cmp(a->d.rid, b->d.rid); in GENERAL_NAME_cmp()
203 a->d.ip = value; in GENERAL_NAME_set0_value()
230 return a->d.ia5; in GENERAL_NAME_get0_value()
236 return a->d.ip; in GENERAL_NAME_get0_value()
[all …]
H A Dv3_san.c192 tmp = ossl_ipaddr_to_asc(gen->d.ip->data, gen->d.ip->length); in STACK_OF()
286 tmp = ossl_ipaddr_to_asc(gen->d.ip->data, gen->d.ip->length); in GENERAL_NAME_print()
295 i2a_ASN1_OBJECT(out, gen->d.rid); in GENERAL_NAME_print()
454 gen->d.ia5 = email; in copy_email()
544 gen->d.rid = obj; in a2i_GENERAL_NAME()
553 if (gen->d.ip == NULL) { in a2i_GENERAL_NAME()
583 gen->d.ia5 = NULL; in a2i_GENERAL_NAME()
661 if (!gen->d.otherName->type_id) in do_othername()
666 OTHERNAME_free(gen->d.otherName); in do_othername()
667 gen->d.otherName = NULL; in do_othername()
[all …]
/openssl/crypto/dsa/
H A Ddsa_lib.c88 d->flags &= ~flags; in DSA_clear_flags()
98 d->flags |= flags; in DSA_set_flags()
103 return d->engine; in DSA_get0_engine()
130 return d->meth; in DSA_get_method()
259 d->libctx = libctx; in ossl_dsa_set0_libctx()
279 d->dirty_cnt++; in DSA_set0_pqg()
286 return d->params.p; in DSA_get0_p()
291 return d->params.q; in DSA_get0_q()
301 return d->pub_key; in DSA_get0_pub_key()
328 d->dirty_cnt++; in DSA_set0_key()
[all …]
/openssl/crypto/bn/
H A Dbn_mpi.c26 if (d == NULL) in BN_bn2mpi()
32 d[2] = (unsigned char)(l >> 8) & 0xff; in BN_bn2mpi()
33 d[3] = (unsigned char)(l) & 0xff; in BN_bn2mpi()
35 d[4] = 0; in BN_bn2mpi()
36 num = BN_bn2bin(a, &(d[4 + ext])); in BN_bn2mpi()
38 d[4] |= 0x80; in BN_bn2mpi()
48 if (n < 4 || (d[0] & 0x80) != 0) { in BN_mpi2bn()
52 len = ((long)d[0] << 24) | ((long)d[1] << 16) | ((int)d[2] << 8) | (int) in BN_mpi2bn()
53 d[3]; in BN_mpi2bn()
72 d += 4; in BN_mpi2bn()
[all …]
H A Dbn_exp.c692 RSAZ_1024_mod_exp_avx2(rr->d, a->d, p->d, m->d, mont->RR.d, in BN_mod_exp_mont_consttime()
702 RSAZ_512_mod_exp(rr->d, a->d, p->d, m->d, mont->n0[0], mont->RR.d); in BN_mod_exp_mont_consttime()
759 am.d = tmp.d + top; in BN_mod_exp_mont_consttime()
858 if (!(*mul_worker) (tmp.d, am.d, am.d, np, n0) && in BN_mod_exp_mont_consttime()
859 !(*mul_worker) (tmp.d, am.d, am.d, np, n0)) in BN_mod_exp_mont_consttime()
866 !(*mul_worker) (tmp.d, tmp.d, am.d, np, n0)) in BN_mod_exp_mont_consttime()
973 bn_mul_mont(tmp.d, am.d, am.d, np, n0, top); in BN_mod_exp_mont_consttime()
985 bn_mul_mont(tmp.d, tmp.d, tmp.d, np, n0, top); in BN_mod_exp_mont_consttime()
1000 bn_mul_mont(tmp.d, tmp.d, tmp.d, np, n0, top); in BN_mod_exp_mont_consttime()
1497 ret = ossl_rsaz_mod_exp_avx512_x2(rr1->d, a1->d, p1->d, m1->d, in BN_mod_exp_mont_consttime_x2()
[all …]
H A Dbn_word.c82 BN_ULONG l, d; in BN_div_word() local
84 l = a->d[i]; in BN_div_word()
85 d = bn_div_words(ret, l, w); in BN_div_word()
87 a->d[i] = d; in BN_div_word()
121 a->d[i] = l = (a->d[i] + w) & BN_MASK2; in BN_add_word()
128 a->d[i] = w; in BN_add_word()
160 a->d[0] = w - a->d[0]; in BN_sub_word()
166 if (a->d[i] >= w) { in BN_sub_word()
167 a->d[i] -= w; in BN_sub_word()
170 a->d[i] = (a->d[i] - w) & BN_MASK2; in BN_sub_word()
[all …]
/openssl/crypto/des/
H A Dset_key.c330 register DES_LONG c, d, t, s, t2; in DES_set_key_unchecked() local
343 c2l(in, d); in DES_set_key_unchecked()
349 PERM_OP(d, c, t, 4, 0x0f0f0f0fL); in DES_set_key_unchecked()
351 HPERM_OP(d, t, -2, 0xcccc0000L); in DES_set_key_unchecked()
355 d = (((d & 0x000000ffL) << 16L) | (d & 0x0000ff00L) | in DES_set_key_unchecked()
362 d = ((d >> 2L) | (d << 26L)); in DES_set_key_unchecked()
365 d = ((d >> 1L) | (d << 27L)); in DES_set_key_unchecked()
368 d &= 0x0fffffffL; in DES_set_key_unchecked()
378 t = des_skb[4][(d) & 0x3f] | in DES_set_key_unchecked()
379 des_skb[5][((d >> 7L) & 0x03) | ((d >> 8L) & 0x3c)] | in DES_set_key_unchecked()
[all …]
/openssl/test/
H A Dcc_dummy.c23 OSSL_CC_DUMMY *d = OPENSSL_zalloc(sizeof(*d)); in dummy_new() local
25 if (d == NULL) in dummy_new()
29 return (OSSL_CC_DATA *)d; in dummy_new()
44 OSSL_CC_DUMMY *d = (OSSL_CC_DUMMY *)cc; in dummy_set_input_params() local
55 d->max_dgram_len = value; in dummy_set_input_params()
56 dummy_update_diag(d); in dummy_set_input_params()
73 d->p_diag_max_dgram_len = p->data; in dummy_bind_diagnostic()
76 dummy_update_diag(d); in dummy_bind_diagnostic()
86 d->p_diag_max_dgram_len = NULL; in dummy_unbind_diagnostic()
93 if (d->p_diag_max_dgram_len != NULL) in dummy_update_diag()
[all …]
/openssl/crypto/bf/
H A Dbf_skey.c34 d = data; in BF_set_key()
37 ri = *(d++); in BF_set_key()
38 if (d >= end) in BF_set_key()
39 d = data; in BF_set_key()
42 ri |= *(d++); in BF_set_key()
43 if (d >= end) in BF_set_key()
44 d = data; in BF_set_key()
47 ri |= *(d++); in BF_set_key()
48 if (d >= end) in BF_set_key()
49 d = data; in BF_set_key()
[all …]
H A Dbf_ecb.c34 BF_LONG l, d[2]; in BF_ecb_encrypt() local
37 d[0] = l; in BF_ecb_encrypt()
39 d[1] = l; in BF_ecb_encrypt()
41 BF_encrypt(d, key); in BF_ecb_encrypt()
43 BF_decrypt(d, key); in BF_ecb_encrypt()
44 l = d[0]; in BF_ecb_encrypt()
46 l = d[1]; in BF_ecb_encrypt()
48 l = d[0] = d[1] = 0; in BF_ecb_encrypt()
/openssl/crypto/pkcs7/
H A Dpk7_lib.c34 os = p7->d.sign->contents->d.data; in PKCS7_ctrl()
36 p7->d.sign->contents->d.data = NULL; in PKCS7_ctrl()
46 if (p7->d.sign == NULL || p7->d.sign->contents->d.ptr == NULL) in PKCS7_ctrl()
126 p7->d.sign = NULL; in PKCS7_set_type()
184 p7->d.other = other; in PKCS7_set0_type_other()
280 sk = &(p7->d.sign->crl); in PKCS7_add_crl()
418 if (p7->d.ptr == NULL) in STACK_OF()
421 return p7->d.sign->cert; in STACK_OF()
429 if (p7->d.ptr == NULL) in STACK_OF()
718 os = p7->d.data; in PKCS7_stream()
[all …]
/openssl/crypto/rc4/
H A Drc4_skey.c40 register RC4_INT *d; in RC4_set_key() local
43 d = &(key->data[0]); in RC4_set_key()
48 #define SK_LOOP(d,n) { \ in RC4_set_key() argument
49 tmp=d[(n)]; \ in RC4_set_key()
52 d[(n)]=d[id2]; \ in RC4_set_key()
53 d[id2]=tmp; } in RC4_set_key()
56 d[i] = i; in RC4_set_key()
58 SK_LOOP(d, i + 0); in RC4_set_key()
59 SK_LOOP(d, i + 1); in RC4_set_key()
60 SK_LOOP(d, i + 2); in RC4_set_key()
[all …]
/openssl/crypto/md5/
H A Dmd5_local.h59 #define F(b,c,d) ((((c) ^ (d)) & (b)) ^ (d)) argument
60 #define G(b,c,d) ((((b) ^ (c)) & (d)) ^ (c)) argument
61 #define H(b,c,d) ((b) ^ (c) ^ (d)) argument
62 #define I(b,c,d) (((~(d)) | (b)) ^ (c)) argument
64 #define R0(a,b,c,d,k,s,t) { \ argument
65 a+=((k)+(t)+F((b),(c),(d))); \
69 #define R1(a,b,c,d,k,s,t) { \ argument
70 a+=((k)+(t)+G((b),(c),(d))); \
74 #define R2(a,b,c,d,k,s,t) { \ argument
75 a+=((k)+(t)+H((b),(c),(d))); \
[all …]
/openssl/crypto/sha/
H A Dsha256.c225 d = ctx->h[3]; in sha256_block_data_order()
239 e = d + T1; in sha256_block_data_order()
240 d = c; in sha256_block_data_order()
258 e = d + T1; in sha256_block_data_order()
259 d = c; in sha256_block_data_order()
268 ctx->h[3] += d; in sha256_block_data_order()
308 d = ctx->h[3]; in sha256_block_data_order_c()
319 ROUND_00_15(0, a, b, c, d, e, f, g, h); in sha256_block_data_order_c()
321 ROUND_00_15(1, h, a, b, c, d, e, f, g); in sha256_block_data_order_c()
323 ROUND_00_15(2, g, h, a, b, c, d, e, f); in sha256_block_data_order_c()
[all …]
H A Dsha1_one.c23 unsigned char *ossl_sha1(const unsigned char *d, size_t n, unsigned char *md) in ossl_sha1() argument
32 SHA1_Update(&c, d, n); in ossl_sha1()
38 unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md) in SHA1() argument
44 return EVP_Q_digest(NULL, "SHA1", NULL, d, n, md, NULL) ? md : NULL; in SHA1()
47 unsigned char *SHA224(const unsigned char *d, size_t n, unsigned char *md) in SHA224() argument
53 return EVP_Q_digest(NULL, "SHA224", NULL, d, n, md, NULL) ? md : NULL; in SHA224()
56 unsigned char *SHA256(const unsigned char *d, size_t n, unsigned char *md) in SHA256() argument
62 return EVP_Q_digest(NULL, "SHA256", NULL, d, n, md, NULL) ? md : NULL; in SHA256()
65 unsigned char *SHA384(const unsigned char *d, size_t n, unsigned char *md) in SHA384() argument
71 return EVP_Q_digest(NULL, "SHA384", NULL, d, n, md, NULL) ? md : NULL; in SHA384()
[all …]
/openssl/crypto/md4/
H A Dmd4_local.h46 #define F(b,c,d) ((((c) ^ (d)) & (b)) ^ (d)) argument
47 #define G(b,c,d) (((b) & (c)) | ((b) & (d)) | ((c) & (d))) argument
48 #define H(b,c,d) ((b) ^ (c) ^ (d)) argument
50 #define R0(a,b,c,d,k,s,t) { \ argument
51 a+=((k)+(t)+F((b),(c),(d))); \
54 #define R1(a,b,c,d,k,s,t) { \ argument
55 a+=((k)+(t)+G((b),(c),(d))); \
58 #define R2(a,b,c,d,k,s,t) { \ argument
59 a+=((k)+(t)+H((b),(c),(d))); \
/openssl/test/recipes/30-test_evp_pkey_provided/
H A DDSA.pub.txt4 71:69:96:35:17:b2:62:9b:80:0a:95:9d:6a:c0:32:
5 0d:07:5f:19:44:02:f1:bd:ce:df:10:f8:02:5d:7d:
8 7e:66:06:db:61:86:ac:b5:da:3c:7d:73:7e:54:32:
10 d3:ec:08:52:c2:89:2d:9c:1a:cc:91:65:5d:a3:a1:
11 35:31:10:1c:3a:a8:4d:18:d5:06:af:b2:ec:5c:89:
13 6e:0a:1b:73:a0:4b:5f:4d:ab:35:28:fa:da:3a:0c:
24 0b:5b:88:8b:67:f8:68:6d:7c:4d:96:5f:3c:66:ef:
29 11:95:7e:d1:3d:8d:b4:0e:9f:9e:b1:30:03:f0:73:
35 21:d8:51:17:27:0d:90:3d:18:7c:87:15:8e:48:4c:
64 64:46:07:32:8d:70:9c:b3:8a:35:de:62:00:f2:6d:
[all …]
H A DDSA.priv.txt4 d4:db:2d:96:55:89:ff:ef:a8:5f:47:8f:ca:02:8a:
8 71:69:96:35:17:b2:62:9b:80:0a:95:9d:6a:c0:32:
9 0d:07:5f:19:44:02:f1:bd:ce:df:10:f8:02:5d:7d:
12 7e:66:06:db:61:86:ac:b5:da:3c:7d:73:7e:54:32:
14 d3:ec:08:52:c2:89:2d:9c:1a:cc:91:65:5d:a3:a1:
15 35:31:10:1c:3a:a8:4d:18:d5:06:af:b2:ec:5c:89:
28 0b:5b:88:8b:67:f8:68:6d:7c:4d:96:5f:3c:66:ef:
33 11:95:7e:d1:3d:8d:b4:0e:9f:9e:b1:30:03:f0:73:
39 21:d8:51:17:27:0d:90:3d:18:7c:87:15:8e:48:4c:
68 64:46:07:32:8d:70:9c:b3:8a:35:de:62:00:f2:6d:
[all …]
/openssl/crypto/sha/asm/
H A Dsha1-armv8.pl75 bic $t0,$d,$b
78 add $d,$d,$K // future e+=K
82 add $d,$d,@Xw[($i+1)&15] // future e+=X[i]
95 add $d,$d,$K // future e+=K
100 add $d,$d,@Xw[($i+1)&15] // future e+=X[i]
120 add $d,$d,$K // future e+=K
126 add $d,$d,@Xw[($i+1)&15] // future e+=X[i]
144 add $d,$d,$K // future e+=K
150 add $d,$d,@Xw[($i+1)&15] // future e+=X[i]
158 add $d,$d,$K // future e+=K
[all …]
/openssl/crypto/objects/
H A Dobj_dat.pl60 my $d = $2;
61 $d =~ s/^\"//;
62 $d =~ s/\"$//;
64 if (defined $dupsn{$d}) {
67 $dupsn{$d} = 1;
69 $sn{$1} = $d;
72 if (defined $dupln{$d}) {
75 $dupln{$d} = 1;
77 $ln{$1} = $d;
80 $nid{$d} = $1;
[all …]
/openssl/crypto/rc2/
H A Drc2_ecb.c31 unsigned long l, d[2]; in RC2_ecb_encrypt() local
34 d[0] = l; in RC2_ecb_encrypt()
36 d[1] = l; in RC2_ecb_encrypt()
38 RC2_encrypt(d, ks); in RC2_ecb_encrypt()
40 RC2_decrypt(d, ks); in RC2_ecb_encrypt()
41 l = d[0]; in RC2_ecb_encrypt()
43 l = d[1]; in RC2_ecb_encrypt()
45 l = d[0] = d[1] = 0; in RC2_ecb_encrypt()
/openssl/crypto/rc5/
H A Drc5_ecb.c23 unsigned long l, d[2]; in RC5_32_ecb_encrypt() local
26 d[0] = l; in RC5_32_ecb_encrypt()
28 d[1] = l; in RC5_32_ecb_encrypt()
30 RC5_32_encrypt(d, ks); in RC5_32_ecb_encrypt()
32 RC5_32_decrypt(d, ks); in RC5_32_ecb_encrypt()
33 l = d[0]; in RC5_32_ecb_encrypt()
35 l = d[1]; in RC5_32_ecb_encrypt()
37 l = d[0] = d[1] = 0; in RC5_32_ecb_encrypt()
/openssl/crypto/cast/
H A Dc_ecb.c23 CAST_LONG l, d[2]; in CAST_ecb_encrypt() local
26 d[0] = l; in CAST_ecb_encrypt()
28 d[1] = l; in CAST_ecb_encrypt()
30 CAST_encrypt(d, ks); in CAST_ecb_encrypt()
32 CAST_decrypt(d, ks); in CAST_ecb_encrypt()
33 l = d[0]; in CAST_ecb_encrypt()
35 l = d[1]; in CAST_ecb_encrypt()
37 l = d[0] = d[1] = 0; in CAST_ecb_encrypt()
/openssl/crypto/ec/curve448/
H A Dcurve448.c110 gf_add(eu, d->n->b, d->n->a); in pniels_to_pt()
111 gf_sub(e->y, d->n->b, d->n->a); in pniels_to_pt()
131 gf_sub_nr(b, d->y, d->x); /* 3+e */ in add_niels_to_pt()
135 ossl_gf_mul(d->x, e->c, d->t); in add_niels_to_pt()
138 gf_sub_nr(d->y, d->z, d->x); /* 3+e */ in add_niels_to_pt()
140 ossl_gf_mul(d->z, a, d->y); in add_niels_to_pt()
141 ossl_gf_mul(d->x, d->y, b); in add_niels_to_pt()
156 ossl_gf_mul(d->x, e->c, d->t); in sub_niels_from_pt()
159 gf_add_nr(d->y, d->z, d->x); /* 2+e */ in sub_niels_from_pt()
161 ossl_gf_mul(d->z, a, d->y); in sub_niels_from_pt()
[all …]

Completed in 64 milliseconds

12345678910>>...22