/openssl/crypto/bn/asm/ |
H A D | co-586.pl | 33 &comment("mul a[$ai]*b[$bi]"); 67 if ($ai == $bi) 96 if ($ai == $bi) 150 $ai=$as; 168 $na=($ai-1); 185 $ai--; 239 $ai=$as; 247 if (($ai-1) < ($bi+1)) 256 $na=$ai-1; 264 if ($ai == $bi) [all …]
|
H A D | x86_64-mont5.pl | 1341 mov $ai,%rax 1350 mov $ai,%rax 1356 mov $ai,%rax 1369 mov $ai,%rax 1385 mov $ai,%rax 1392 mov $ai,%rax 1401 mov $ai,%rax 1418 mov $ai,%rax 1426 mov $ai,%rax 1467 mov $ai,%rax [all …]
|
H A D | s390x.S | 368 #define mul_add_c(ai,bi,c1,c2,c3) \ argument 369 lg %r7,ai*8(%r3); \ 554 #define sqr_add_c(ai,c1,c2,c3) \ argument 555 lg %r7,ai*8(%r3); \ 561 #define sqr_add_c2(ai,aj,c1,c2,c3) \ argument 562 lg %r7,ai*8(%r3); \
|
/openssl/crypto/x509/ |
H A D | v3_tlsf.c | 66 ASN1_INTEGER *ai; in STACK_OF() local 69 ai = sk_ASN1_INTEGER_value(tls_feature, i); in STACK_OF() 70 tlsextid = ASN1_INTEGER_get(ai); in STACK_OF() 77 X509V3_add_value_int(NULL, ai, &ext_list); in STACK_OF() 92 ASN1_INTEGER *ai = NULL; in v2i_TLS_FEATURE() local 125 if ((ai = ASN1_INTEGER_new()) == NULL in v2i_TLS_FEATURE() 126 || !ASN1_INTEGER_set(ai, tlsextid) in v2i_TLS_FEATURE() 127 || sk_ASN1_INTEGER_push(tlsf, ai) <= 0) { in v2i_TLS_FEATURE() 132 ai = NULL; in v2i_TLS_FEATURE() 138 ASN1_INTEGER_free(ai); in v2i_TLS_FEATURE()
|
H A D | x509_cmp.c | 22 const X509_CINF *ai, *bi; in X509_issuer_and_serial_cmp() local 28 ai = &a->cert_info; in X509_issuer_and_serial_cmp() 30 i = ASN1_INTEGER_cmp(&ai->serialNumber, &bi->serialNumber); in X509_issuer_and_serial_cmp() 33 return X509_NAME_cmp(ai->issuer, bi->issuer); in X509_issuer_and_serial_cmp()
|
/openssl/test/ |
H A D | bio_tfo_test.c | 204 struct addrinfo *ai = NULL; in test_fd_tfo() local 241 if (!TEST_int_eq(getaddrinfo(NULL, "0", &hints, &ai), 0)) in test_fd_tfo() 244 switch (ai->ai_family) { in test_fd_tfo() 246 port = ((struct sockaddr_in *)ai->ai_addr)->sin_port; in test_fd_tfo() 247 addr = &((struct sockaddr_in *)ai->ai_addr)->sin_addr; in test_fd_tfo() 252 port = ((struct sockaddr_in6 *)ai->ai_addr)->sin6_port; in test_fd_tfo() 253 addr = &((struct sockaddr_in6 *)ai->ai_addr)->sin6_addr; in test_fd_tfo() 268 if (!TEST_int_ge(afd = BIO_socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol, 0), 0) in test_fd_tfo() 296 if (!TEST_int_ge(cfd = BIO_socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol, 0), 0)) in test_fd_tfo() 403 if (ai != NULL) in test_fd_tfo() [all …]
|
/openssl/apps/lib/ |
H A D | s_socket.c | 82 const BIO_ADDRINFO *ai = NULL; in init_client() local 108 for (ai = res; ai != NULL; ai = BIO_ADDRINFO_next(ai)) { in init_client() 113 || family == BIO_ADDRINFO_family(ai)) in init_client() 114 && (type == 0 || type == BIO_ADDRINFO_socktype(ai)) in init_client() 116 || protocol == BIO_ADDRINFO_protocol(ai))); in init_client() 120 if (BIO_ADDRINFO_family(bi) == BIO_ADDRINFO_family(ai)) in init_client() 128 *sock = BIO_socket(BIO_ADDRINFO_family(ai), BIO_ADDRINFO_socktype(ai), in init_client() 129 BIO_ADDRINFO_protocol(ai), 0); in init_client() 163 if (BIO_ADDRINFO_protocol(ai) == IPPROTO_TCP) { in init_client() 177 *ba_ret = BIO_ADDR_dup(BIO_ADDRINFO_address(ai)); in init_client() [all …]
|
H A D | apps.c | 1505 ASN1_INTEGER *ai = NULL; in IMPLEMENT_LHASH_HASH_FN() local 1507 ai = ASN1_INTEGER_new(); in IMPLEMENT_LHASH_HASH_FN() 1508 if (ai == NULL) in IMPLEMENT_LHASH_HASH_FN() 1543 *retai = ai; in IMPLEMENT_LHASH_HASH_FN() 1544 ai = NULL; in IMPLEMENT_LHASH_HASH_FN() 1550 ASN1_INTEGER_free(ai); in IMPLEMENT_LHASH_HASH_FN() 1560 ASN1_INTEGER *ai = NULL; in save_serial() local 1594 *retai = ai; in save_serial() 1595 ai = NULL; in save_serial() 1601 ASN1_INTEGER_free(ai); in save_serial() [all …]
|
/openssl/demos/guide/ |
H A D | quic-client-block.c | 34 const BIO_ADDRINFO *ai = NULL; in create_socket_bio() local 48 for (ai = res; ai != NULL; ai = BIO_ADDRINFO_next(ai)) { in create_socket_bio() 56 sock = BIO_socket(BIO_ADDRINFO_family(ai), SOCK_DGRAM, 0, 0); in create_socket_bio() 61 if (!BIO_connect(sock, BIO_ADDRINFO_address(ai), 0)) { in create_socket_bio() 78 *peer_addr = BIO_ADDR_dup(BIO_ADDRINFO_address(ai)); in create_socket_bio()
|
H A D | tls-client-block.c | 33 const BIO_ADDRINFO *ai = NULL; in create_socket_bio() local 47 for (ai = res; ai != NULL; ai = BIO_ADDRINFO_next(ai)) { in create_socket_bio() 55 sock = BIO_socket(BIO_ADDRINFO_family(ai), SOCK_STREAM, 0, 0); in create_socket_bio() 60 if (!BIO_connect(sock, BIO_ADDRINFO_address(ai), BIO_SOCK_NODELAY)) { in create_socket_bio()
|
H A D | quic-client-non-block.c | 35 const BIO_ADDRINFO *ai = NULL; in create_socket_bio() local 49 for (ai = res; ai != NULL; ai = BIO_ADDRINFO_next(ai)) { in create_socket_bio() 57 sock = BIO_socket(BIO_ADDRINFO_family(ai), SOCK_DGRAM, 0, 0); in create_socket_bio() 62 if (!BIO_connect(sock, BIO_ADDRINFO_address(ai), 0)) { in create_socket_bio() 79 *peer_addr = BIO_ADDR_dup(BIO_ADDRINFO_address(ai)); in create_socket_bio()
|
H A D | quic-multi-stream.c | 34 const BIO_ADDRINFO *ai = NULL; in create_socket_bio() local 48 for (ai = res; ai != NULL; ai = BIO_ADDRINFO_next(ai)) { in create_socket_bio() 56 sock = BIO_socket(BIO_ADDRINFO_family(ai), SOCK_DGRAM, 0, 0); in create_socket_bio() 61 if (!BIO_connect(sock, BIO_ADDRINFO_address(ai), 0)) { in create_socket_bio() 78 *peer_addr = BIO_ADDR_dup(BIO_ADDRINFO_address(ai)); in create_socket_bio()
|
H A D | tls-client-non-block.c | 34 const BIO_ADDRINFO *ai = NULL; in create_socket_bio() local 48 for (ai = res; ai != NULL; ai = BIO_ADDRINFO_next(ai)) { in create_socket_bio() 56 sock = BIO_socket(BIO_ADDRINFO_family(ai), SOCK_STREAM, 0, 0); in create_socket_bio() 61 if (!BIO_connect(sock, BIO_ADDRINFO_address(ai), BIO_SOCK_NODELAY)) { in create_socket_bio()
|
H A D | quic-hq-interop.c | 107 const BIO_ADDRINFO *ai = NULL; in create_socket_bio() local 121 for (ai = res; ai != NULL; ai = BIO_ADDRINFO_next(ai)) { in create_socket_bio() 129 sock = BIO_socket(BIO_ADDRINFO_family(ai), SOCK_DGRAM, 0, 0); in create_socket_bio() 134 if (!BIO_connect(sock, BIO_ADDRINFO_address(ai), 0)) { in create_socket_bio() 155 *peer_addr = BIO_ADDR_dup(BIO_ADDRINFO_address(ai)); in create_socket_bio()
|
/openssl/crypto/asn1/ |
H A D | a_int.c | 465 if (ai == NULL) { in bn_to_asn1_string() 468 ret = ai; in bn_to_asn1_string() 498 if (ret != ai) in bn_to_asn1_string() 508 if ((ai->type & ~V_ASN1_NEG) != itype) { in asn1_string_to_bn() 513 ret = BN_bin2bn(ai->data, ai->length, bn); in asn1_string_to_bn() 518 if (ai->type & V_ASN1_NEG) in asn1_string_to_bn() 564 return bn_to_asn1_string(bn, ai, V_ASN1_INTEGER); in BN_to_ASN1_INTEGER() 567 BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn) in ASN1_INTEGER_to_BN() argument 569 return asn1_string_to_bn(ai, bn, V_ASN1_INTEGER); in ASN1_INTEGER_to_BN() 607 return bn_to_asn1_string(bn, ai, V_ASN1_ENUMERATED); in BN_to_ASN1_ENUMERATED() [all …]
|
H A D | asn1_parse.c | 103 ASN1_INTEGER *ai = NULL; in asn1_parse2() local 265 ai = d2i_ASN1_INTEGER(NULL, &opp, len + hl); in asn1_parse2() 266 if (ai != NULL) { in asn1_parse2() 269 if (ai->type == V_ASN1_NEG_INTEGER) in asn1_parse2() 272 for (i = 0; i < ai->length; i++) { in asn1_parse2() 273 if (BIO_printf(bp, "%02X", ai->data[i]) <= 0) in asn1_parse2() 276 if (ai->length == 0) { in asn1_parse2() 285 ASN1_INTEGER_free(ai); in asn1_parse2() 286 ai = NULL; in asn1_parse2() 354 ASN1_INTEGER_free(ai); in asn1_parse2()
|
/openssl/util/ |
H A D | quicserver.c | 72 const BIO_ADDRINFO *ai = NULL; in create_dgram_bio() local 89 for (ai = res; ai != NULL; ai = BIO_ADDRINFO_next(ai)) { in create_dgram_bio() 91 sock = BIO_socket(BIO_ADDRINFO_family(ai), SOCK_DGRAM, 0, 0); in create_dgram_bio() 96 if (!BIO_listen(sock, BIO_ADDRINFO_address(ai), 0)) { in create_dgram_bio() 114 if (ai == NULL) in create_dgram_bio()
|
/openssl/crypto/bn/ |
H A D | bn_mod.c | 57 size_t i, ai, bi, mtop = m->top; in bn_mod_add_fixed_top() local 74 for (i = 0, ai = 0, bi = 0, carry = 0; i < mtop;) { in bn_mod_add_fixed_top() 76 temp = ((ap[ai] & mask) + carry) & BN_MASK2; in bn_mod_add_fixed_top() 84 ai += (i - a->dmax) >> (8 * sizeof(i) - 1); in bn_mod_add_fixed_top() 139 size_t i, ai, bi, mtop = m->top; in bn_mod_sub_fixed_top() local 150 for (i = 0, ai = 0, bi = 0, borrow = 0; i < mtop;) { in bn_mod_sub_fixed_top() 152 ta = ap[ai] & mask; in bn_mod_sub_fixed_top() 161 ai += (i - a->dmax) >> (8 * sizeof(i) - 1); in bn_mod_sub_fixed_top()
|
/openssl/crypto/chacha/asm/ |
H A D | chacha-x86.pl | 73 my ($ai,$bi,$ci,$di,$i)=@_; 104 &mov (&DWP(4*$cp,"esp"),$c_) if ($ai>0 && $ai<3); 108 &mov ($c_,&DWP(4*$cn,"esp")) if ($ai>0 && $ai<3); 116 &mov (&DWP(4*$ai,"esp"),$a); 381 my ($ai,$bi,$ci,$di,$i)=@_; 412 &movdqa(&QWP(16*$cp-128,"ebx"),$xc_) if ($ai>0 && $ai<3); 416 &movdqa($xc_,&QWP(16*$cn-128,"ebx")) if ($ai>0 && $ai<3); 427 &movdqa (&QWP(16*$ai-128,"ebx"),$xa); 795 my ($ai,$bi,$ci,$di,$i)=@_; 826 &vmovdqa (&QWP(16*$cp-128,"ebx"),$xc_) if ($ai>0 && $ai<3); [all …]
|
/openssl/doc/man3/ |
H A D | ASN1_INTEGER_get_int64.pod | 22 ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai); 23 BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn); 31 ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(const BIGNUM *bn, ASN1_ENUMERATED *ai); 32 BIGNUM *ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai, BIGNUM *bn); 62 BN_to_ASN1_INTEGER() converts B<BIGNUM> I<bn> to an B<ASN1_INTEGER>. If I<ai> 63 is NULL a new B<ASN1_INTEGER> structure is returned. If I<ai> is not NULL then 66 ASN1_INTEGER_to_BN() converts ASN1_INTEGER I<ai> into a B<BIGNUM>. If I<bn> is
|
/openssl/demos/certs/apps/ |
H A D | ckey.pem | 14 /bbD519QIdkvayy1QjEf32GV/UjUVmlULMLBcDy0DGjtL3+XpIhLKWDNxN1v1/ai
|
/openssl/apps/ |
H A D | client.pem | 39 /bbD519QIdkvayy1QjEf32GV/UjUVmlULMLBcDy0DGjtL3+XpIhLKWDNxN1v1/ai
|
/openssl/doc/man7/ |
H A D | ossl-guide-quic-client-block.pod | 105 for (ai = res; ai != NULL; ai = BIO_ADDRINFO_next(ai)) { 113 sock = BIO_socket(BIO_ADDRINFO_family(ai), SOCK_DGRAM, 0, 0); 118 if (!BIO_connect(sock, BIO_ADDRINFO_address(ai), 0)) { 135 *peer_addr = BIO_ADDR_dup(BIO_ADDRINFO_address(ai));
|
H A D | ossl-guide-tls-client-block.pod | 172 const BIO_ADDRINFO *ai = NULL; 185 for (ai = res; ai != NULL; ai = BIO_ADDRINFO_next(ai)) { 193 sock = BIO_socket(BIO_ADDRINFO_family(ai), SOCK_STREAM, 0, 0); 198 if (!BIO_connect(sock, BIO_ADDRINFO_address(ai), BIO_SOCK_NODELAY)) {
|
/openssl/test/helpers/ |
H A D | handshake.c | 1324 const BIO_ADDRINFO *ai = NULL; in create_sctp_socks() local 1342 for (ai = res; ai != NULL; ai = BIO_ADDRINFO_next(ai)) { in create_sctp_socks() 1343 family = BIO_ADDRINFO_family(ai); in create_sctp_socks() 1353 || !BIO_listen(lsock, BIO_ADDRINFO_address(ai), in create_sctp_socks()
|