Home
last modified time | relevance | path

Searched refs:a (Results 26 – 50 of 1851) sorted by relevance

12345678910>>...75

/openssl/test/
H A Dtime_test.c15 OSSL_TIME a; in test_time_to_timeval() local
18 a = ossl_time_zero(); in test_time_to_timeval()
20 tv = ossl_time_to_timeval(a); in test_time_to_timeval()
29 a = ossl_ticks2time(1); in test_time_to_timeval()
30 tv = ossl_time_to_timeval(a); in test_time_to_timeval()
33 a = ossl_ticks2time(999); in test_time_to_timeval()
34 tv = ossl_time_to_timeval(a); in test_time_to_timeval()
37 a = ossl_ticks2time(1000); in test_time_to_timeval()
38 tv = ossl_time_to_timeval(a); in test_time_to_timeval()
41 a = ossl_ticks2time(1001); in test_time_to_timeval()
[all …]
H A Dbntest.c176 BN_swap(a, a); in test_swap()
188 BN_consttime_swap(cond, a, a, top); in test_swap()
200 BN_consttime_swap(cond, a, a, top); in test_swap()
232 BN_free(a); in test_swap()
270 BN_free(a); in test_sub()
294 && TEST_true(BN_lshift(a, a, i)) in test_div_recip()
356 if (TEST_true(BN_div(a, b, a, b, ctx)) in test_signed_mod_replace_ab()
379 if (TEST_true(BN_div(b, a, a, b, ctx)) in test_signed_mod_replace_ba()
1341 || !TEST_true(BN_add(ret, a, a)) in file_lshift1()
1447 || !TEST_true(BN_mul(ret, a, a, ctx)) in file_square()
[all …]
H A Dquic_multistream_test.c2126 OP_S_EXPECT_FIN (a)
2128 OP_S_CONCLUDE (a)
2239 OP_C_ATTACH (a)
2243 OP_C_DETACH (a)
2244 OP_C_CONCLUDE (a)
2245 OP_S_EXPECT_FIN (a)
2263 OP_C_ACCEPT_STREAM_WAIT (a)
2266 OP_C_ATTACH (a)
2306 OP_C_ACCEPT_STREAM_WAIT (a)
2307 OP_C_FREE_STREAM (a)
[all …]
/openssl/crypto/asn1/
H A Da_int.c209 return i2c_ibuf(a->data, a->length, a->type & V_ASN1_NEG, pp); in ossl_i2c_ASN1_INTEGER()
298 if ((a == NULL) || ((*a) == NULL)) { in ossl_c2i_ASN1_INTEGER()
304 ret = *a; in ossl_c2i_ASN1_INTEGER()
319 if (a != NULL) in ossl_c2i_ASN1_INTEGER()
323 if (a == NULL || *a != ret) in ossl_c2i_ASN1_INTEGER()
338 return asn1_get_int64(pr, a->data, a->length, a->type & V_ASN1_NEG); in asn1_string_get_int64()
377 return asn1_get_uint64(pr, a->data, a->length); in asn1_string_get_uint64()
406 if ((a == NULL) || ((*a) == NULL)) { in d2i_ASN1_UINTEGER()
447 if (a != NULL) in d2i_ASN1_UINTEGER()
454 if ((a == NULL) || (*a != ret)) in d2i_ASN1_UINTEGER()
[all …]
H A Da_object.c26 if ((a == NULL) || (a->data == NULL)) in i2d_ASN1_OBJECT()
41 memcpy(p, a->data, a->length); in i2d_ASN1_OBJECT()
187 if ((a == NULL) || (a->data == NULL)) in i2a_ASN1_OBJECT()
202 i += BIO_dump(bp, (const char *)a->data, a->length); in i2a_ASN1_OBJECT()
275 if (a) { in ossl_c2i_ASN1_OBJECT()
289 if ((a == NULL) || ((*a) == NULL) || in ossl_c2i_ASN1_OBJECT()
294 ret = (*a); in ossl_c2i_ASN1_OBJECT()
325 if (a != NULL) in ossl_c2i_ASN1_OBJECT()
331 if ((a == NULL) || (*a != ret)) in ossl_c2i_ASN1_OBJECT()
349 if (a == NULL) in ASN1_OBJECT_free()
[all …]
H A Da_type.c16 int ASN1_TYPE_get(const ASN1_TYPE *a) in ASN1_TYPE_get() argument
18 if (a->type == V_ASN1_BOOLEAN in ASN1_TYPE_get()
20 || a->value.ptr != NULL) in ASN1_TYPE_get()
21 return a->type; in ASN1_TYPE_get()
28 if (a->type != V_ASN1_BOOLEAN in ASN1_TYPE_set()
31 ASN1_TYPE **tmp_a = &a; in ASN1_TYPE_set()
34 a->type = type; in ASN1_TYPE_set()
38 a->value.ptr = value; in ASN1_TYPE_set()
45 ASN1_TYPE_set(a, type, p); in ASN1_TYPE_set1()
67 if (!a || !b || a->type != b->type) in ASN1_TYPE_cmp()
[all …]
H A Dd2i_pr.c65 if (a != NULL && (bak_a = *a) != NULL) in d2i_PrivateKey_decoder()
66 ppkey = a; in d2i_PrivateKey_decoder()
69 if (a != NULL) in d2i_PrivateKey_decoder()
70 *a = bak_a; in d2i_PrivateKey_decoder()
79 if (a != NULL) in d2i_PrivateKey_decoder()
85 if (ppkey != a) in d2i_PrivateKey_decoder()
97 if (a == NULL || *a == NULL) { in ossl_d2i_PrivateKey_legacy()
103 ret = *a; in ossl_d2i_PrivateKey_legacy()
147 if (a != NULL) in ossl_d2i_PrivateKey_legacy()
148 *a = ret; in ossl_d2i_PrivateKey_legacy()
[all …]
/openssl/crypto/bn/
H A Dbn_shift.c20 bn_check_top(a); in BN_lshift1()
22 if (r != a) { in BN_lshift1()
23 r->neg = a->neg; in BN_lshift1()
31 ap = a->d; in BN_lshift1()
51 bn_check_top(a); in BN_rshift1()
57 i = a->top; in BN_rshift1()
58 ap = a->d; in BN_rshift1()
59 if (a != r) { in BN_rshift1()
114 bn_check_top(a); in bn_lshift_fixed_top()
143 r->neg = a->neg; in bn_lshift_fixed_top()
[all …]
H A Dbn_add.c18 bn_check_top(a); in BN_add()
22 r_neg = a->neg; in BN_add()
49 bn_check_top(a); in BN_sub()
82 bn_check_top(a); in BN_uadd()
88 tmp = a; in BN_uadd()
89 a = b; in BN_uadd()
92 max = a->top; in BN_uadd()
101 ap = a->d; in BN_uadd()
131 bn_check_top(a); in BN_usub()
134 max = a->top; in BN_usub()
[all …]
H A Dbn_mpi.c37 if (a->neg) in BN_bn2mpi()
46 BIGNUM *a = NULL; in BN_mpi2bn() local
62 a = ain; in BN_mpi2bn()
64 if (a == NULL) in BN_mpi2bn()
68 a->neg = 0; in BN_mpi2bn()
69 a->top = 0; in BN_mpi2bn()
70 return a; in BN_mpi2bn()
80 a->neg = neg; in BN_mpi2bn()
82 BN_clear_bit(a, BN_num_bits(a) - 1); in BN_mpi2bn()
84 bn_check_top(a); in BN_mpi2bn()
[all …]
H A Dbn_sqr.c33 bn_check_top(a); in bn_sqr_fixed_top()
35 al = a->top; in bn_sqr_fixed_top()
57 bn_sqr_comba4(rr->d, a->d); in bn_sqr_fixed_top()
64 bn_sqr_comba8(rr->d, a->d); in bn_sqr_fixed_top()
116 ap = a; in bn_sqr_normal()
139 bn_sqr_words(tmp, a, n); in bn_sqr_normal()
166 bn_sqr_comba4(r, a); in bn_sqr_recursive()
173 bn_sqr_comba8(r, a); in bn_sqr_recursive()
182 c1 = bn_cmp_words(a, &(a[n]), n); in bn_sqr_recursive()
185 bn_sub_words(t, a, &(a[n]), n); in bn_sqr_recursive()
[all …]
H A Dbn_intern.c139 return a->top; in bn_get_top()
144 return a->dmax; in bn_get_dmax()
151 for (i = a->top; i < a->dmax; i++) in bn_set_all_zero()
152 a->d[i] = 0; in bn_set_all_zero()
168 return a->d; in bn_get_words()
177 a->d = (BN_ULONG *)words; in bn_set_static_words()
178 a->dmax = a->top = size; in bn_set_static_words()
179 a->neg = 0; in bn_set_static_words()
181 bn_correct_top(a); in bn_set_static_words()
192 a->top = num_words; in bn_set_words()
[all …]
/openssl/crypto/md5/asm/
H A Dmd5-sparcv9.pl76 add $t2,$a,$a
81 add $t1,$a,$a
88 add $t3,$a,$a
94 add $t2,$a,$a
97 add $t1,$a,$a
104 add $t3,$a,$a
116 add $t2,$a,$a
119 add $t1,$a,$a
126 add $t3,$a,$a
141 add $t2,$a,$a
[all …]
/openssl/test/recipes/30-test_evp_pkey_provided/
H A DDSA.priv.txt8 71:69:96:35:17:b2:62:9b:80:0a:95:9d:6a:c0:32:
10 98:8a:73:89:00:b6:24:d6:33:e7:cf:8b:49:2a:af:
11 13:1c:b2:52:15:fd:9b:d5:40:4a:1a:da:29:4c:92:
17 6e:0a:1b:73:a0:4b:5f:4d:ab:35:28:fa:da:3a:0c:
23 3d:e8:65:09:7b:b7:12:64:d2:0a:53:60:48:d1:8a:
30 ea:e7:4e:c8:34:4c:58:59:0a:c2:4a:e4:b4:64:20:
31 f4:f6:0a:cf:86:01:6c:7f:23:4a:51:07:99:42:28:
32 7a:ff:18:67:52:64:f2:9a:62:30:c3:00:de:23:e9:
36 de:4a:67:ec:c7:de:76:21:1a:55:7f:86:c3:97:98:
43 6a:05
[all …]
H A DDSA.pub.txt4 71:69:96:35:17:b2:62:9b:80:0a:95:9d:6a:c0:32:
6 98:8a:73:89:00:b6:24:d6:33:e7:cf:8b:49:2a:af:
7 13:1c:b2:52:15:fd:9b:d5:40:4a:1a:da:29:4c:92:
13 6e:0a:1b:73:a0:4b:5f:4d:ab:35:28:fa:da:3a:0c:
19 3d:e8:65:09:7b:b7:12:64:d2:0a:53:60:48:d1:8a:
26 ea:e7:4e:c8:34:4c:58:59:0a:c2:4a:e4:b4:64:20:
27 f4:f6:0a:cf:86:01:6c:7f:23:4a:51:07:99:42:28:
28 7a:ff:18:67:52:64:f2:9a:62:30:c3:00:de:23:e9:
32 de:4a:67:ec:c7:de:76:21:1a:55:7f:86:c3:97:98:
39 6a:05
[all …]
/openssl/crypto/bn/asm/
H A Dsparcv8plus.S686 bcs,a %xcc,.+8
691 bcs,a %xcc,.+8
700 bcs,a %xcc,.+8
705 bcs,a %xcc,.+8
728 bcs,a %xcc,.+8
733 bcs,a %xcc,.+8
742 bcs,a %xcc,.+8
746 bcs,a %xcc,.+8
750 bcs,a %xcc,.+8
755 bcs,a %xcc,.+8
[all …]
/openssl/crypto/ts/
H A Dts_asn1.c56 TS_REQ *d2i_TS_REQ_bio(BIO *bp, TS_REQ **a)
61 int i2d_TS_REQ_bio(BIO *bp, const TS_REQ *a) in i2d_TS_REQ_bio() argument
66 TS_REQ *d2i_TS_REQ_fp(FILE *fp, TS_REQ **a) in d2i_TS_REQ_fp() argument
71 int i2d_TS_REQ_fp(FILE *fp, const TS_REQ *a) in i2d_TS_REQ_fp() argument
104 a);
115 a); in d2i_TS_TST_INFO_fp()
133 static int ts_resp_set_tst_info(TS_RESP *a)
139 if (a->token) {
144 TS_TST_INFO_free(a->tst_info);
145 a->tst_info = PKCS7_to_TS_TST_INFO(a->token);
[all …]
/openssl/providers/implementations/kdfs/
H A Dbuild.info4 $TLS1_PRF_GOAL=../../libdefault.a ../../libfips.a
5 $HKDF_GOAL=../../libdefault.a ../../libfips.a
6 $KBKDF_GOAL=../../libdefault.a ../../libfips.a
7 $KRB5KDF_GOAL=../../libdefault.a
8 $PBKDF1_GOAL=../../liblegacy.a
9 $PBKDF2_GOAL=../../libdefault.a ../../libfips.a
10 $PVKKDF_GOAL=../../liblegacy.a
12 $SSKDF_GOAL=../../libdefault.a ../../libfips.a
13 $SCRYPT_GOAL=../../libdefault.a
14 $SSHKDF_GOAL=../../libdefault.a ../../libfips.a
[all …]
/openssl/crypto/x509/
H A Dx_ietfatt.c86 if (a)
87 *a = NULL;
100 if (a->values == NULL) in OSSL_IETF_ATTR_SYNTAX_get_value_num()
103 return sk_OSSL_IETF_ATTR_SYNTAX_VALUE_num(a->values); in OSSL_IETF_ATTR_SYNTAX_get_value_num()
109 return a->policyAuthority; in OSSL_IETF_ATTR_SYNTAX_get0_policyAuthority()
115 GENERAL_NAMES_free(a->policyAuthority); in OSSL_IETF_ATTR_SYNTAX_set0_policyAuthority()
116 a->policyAuthority = names; in OSSL_IETF_ATTR_SYNTAX_set0_policyAuthority()
151 if (a->values == NULL) { in OSSL_IETF_ATTR_SYNTAX_add1_value()
154 a->type = type; in OSSL_IETF_ATTR_SYNTAX_add1_value()
157 if (type != a->type) { in OSSL_IETF_ATTR_SYNTAX_add1_value()
[all …]
H A Dx_pubkey.c289 if (!x509_pubkey_set0_libctx(pubkey, a->libctx, a->propq)) { in X509_PUBKEY_dup()
564 if (a->ameth->pub_encode != NULL && a->ameth->pub_encode(xpk, a)) { in i2d_PUBKEY()
622 *a = key; in d2i_RSA_PUBKEY()
631 if (!a) in i2d_RSA_PUBKEY()
664 *a = key; in ossl_d2i_DH_PUBKEY()
673 if (!a) in ossl_i2d_DH_PUBKEY()
705 *a = key; in ossl_d2i_DHx_PUBKEY()
714 if (!a) in ossl_i2d_DHx_PUBKEY()
747 *a = key; in d2i_DSA_PUBKEY()
780 if (!a) in i2d_DSA_PUBKEY()
[all …]
/openssl/crypto/md5/
H A Dmd5_local.h64 #define R0(a,b,c,d,k,s,t) { \ argument
66 a=ROTATE(a,s); \
67 a+=b; };
69 #define R1(a,b,c,d,k,s,t) { \ argument
71 a=ROTATE(a,s); \
72 a+=b; };
74 #define R2(a,b,c,d,k,s,t) { \ argument
76 a=ROTATE(a,s); \
77 a+=b; };
81 a=ROTATE(a,s); \
[all …]
/openssl/doc/man3/
H A DBN_add.pod50 BN_add() adds I<a> and I<b> and places the result in I<r> (C<r=a+b>).
51 I<r> may be the same B<BIGNUM> as I<a> or I<b>.
53 BN_sub() subtracts I<b> from I<a> and places the result in I<r> (C<r=a-b>).
54 I<r> may be the same B<BIGNUM> as I<a> or I<b>.
56 BN_mul() multiplies I<a> and I<b> and places the result in I<r> (C<r=a*b>).
61 (C<r=a^2>). I<r> and I<a> may be the same B<BIGNUM>.
62 This function is faster than BN_mul(r,a,a).
65 remainder in I<rem> (C<dv=a/d, rem=a%d>). Either of I<dv> and I<rem> may
93 C<in^2 = a (mod p)>. The modulus I<p> must be a
102 BN_mod_exp() computes I<a> to the I<p>-th power modulo I<m> (C<r=a^p %
[all …]
/openssl/crypto/objects/
H A Dobj_dat.pl21 my @a = split(/\s+/, $v);
22 my $ret = pack("C*", $a[0] * 40 + $a[1]);
23 shift @a;
24 shift @a;
28 foreach (@a) {
101 my @a = sort { $a <=> $b } keys %nid;
102 my $n = $a[$#a] + 1;
186 foreach (sort { $sn{$nid{$a}} cmp $sn{$nid{$b}} } @a) {
197 foreach (sort { $ln{$nid{$a}} cmp $ln{$nid{$b}} } @a) {
218 $A = $obj_der{$obj{$nid{$a}}};
[all …]
/openssl/providers/implementations/digests/
H A Dbuild.info4 $COMMON_GOAL=../../libcommon.a
6 $SHA1_GOAL=../../libdefault.a ../../libfips.a
7 $SHA2_GOAL=../../libdefault.a ../../libfips.a
8 $SHA3_GOAL=../../libdefault.a ../../libfips.a
10 $SM3_GOAL=../../libdefault.a
11 $MD5_GOAL=../../libdefault.a
12 $NULL_GOAL=../../libdefault.a
14 $MD2_GOAL=../../liblegacy.a
15 $MD4_GOAL=../../liblegacy.a
16 $MDC2_GOAL=../../liblegacy.a
[all …]
/openssl/crypto/ec/curve448/arch_32/
H A Df_impl.h18 # define FIELD_LITERAL(a, b, c, d, e, f, g, h) \ argument
23 void gf_add_RAW(gf out, const gf a, const gf b) in gf_add_RAW() argument
28 out->limb[i] = a->limb[i] + b->limb[i]; in gf_add_RAW()
31 void gf_sub_RAW(gf out, const gf a, const gf b) in gf_sub_RAW() argument
36 out->limb[i] = a->limb[i] - b->limb[i]; in gf_sub_RAW()
39 void gf_bias(gf a, int amt) in gf_bias() argument
48 void gf_weak_reduce(gf a) in gf_weak_reduce() argument
51 uint32_t tmp = a->limb[NLIMBS - 1] >> 28; in gf_weak_reduce()
54 a->limb[NLIMBS / 2] += tmp; in gf_weak_reduce()
56 a->limb[i] = (a->limb[i] & mask) + (a->limb[i - 1] >> 28); in gf_weak_reduce()
[all …]

Completed in 99 milliseconds

12345678910>>...75