/openssl/crypto/chacha/asm/ |
H A D | chacha-loongarch64.pl | 114 add.w @x[$a0],@x[$a0],@x[$b0] 115 xor @x[$d0],@x[$d0],@x[$a0] 118 xor @x[$d1],@x[$d1],@x[$a1] 122 xor @x[$b0],@x[$b0],@x[$c0] 125 xor @x[$b1],@x[$b1],@x[$c1] 129 xor @x[$d0],@x[$d0],@x[$a0] 132 xor @x[$d1],@x[$d1],@x[$a1] 136 xor @x[$b0],@x[$b0],@x[$c0] 139 xor @x[$b1],@x[$b1],@x[$c1] 591 @x = (@x[0],@x[4],@x[8],@x[12],@x[1],@x[5],@x[9],@x[13], [all …]
|
H A D | chacha-armv8.pl | 264 eor @x[0],@x[0],@x[1] 265 eor @x[2],@x[2],@x[3] 266 eor @x[4],@x[4],@x[5] 267 eor @x[6],@x[6],@x[7] 268 eor @x[8],@x[8],@x[9] 269 eor @x[10],@x[10],@x[11] 638 eor @x[0],@x[0],@x[1] 640 eor @x[2],@x[2],@x[3] 642 eor @x[4],@x[4],@x[5] 644 eor @x[6],@x[6],@x[7] [all …]
|
H A D | chacha-ia64.pl | 108 add @x[$a1]=@x[$a1],@x[$b1] 109 add @x[$a2]=@x[$a2],@x[$b2] };; 111 xor @x[$d0]=@x[$d0],@x[$a0] 114 xor @x[$d3]=@x[$d3],@x[$a3] 122 xor @x[$b0]=@x[$b0],@x[$c0] 128 add @x[$c3]=@x[$c3],@x[$d3] 131 xor @x[$b3]=@x[$b3],@x[$c3] 146 add @x[$a3]=@x[$a3],@x[$b3] 155 xor @x[$d2]=@x[$d2],@x[$a2] 167 add @x[$c2]=@x[$c2],@x[$d2] [all …]
|
H A D | chacha-armv4.pl | 99 "&add (@x[$a0],@x[$a0],@x[$b0])", 101 "&add (@x[$a1],@x[$a1],@x[$b1])", 113 "&add (@x[$a0],@x[$a0],@x[$b0])", 115 "&add (@x[$a1],@x[$a1],@x[$b1])", 140 "&add (@x[$a2],@x[$a2],@x[$b2])", 144 "&add (@x[$a3],@x[$a3],@x[$b3])", 156 "&add (@x[$a2],@x[$a2],@x[$b2])", 158 "&add (@x[$a3],@x[$a3],@x[$b3])", 326 rev @x[0],@x[0] 327 rev @x[1],@x[1] [all …]
|
H A D | chacha-ppc.pl | 101 "&add (@x[$a0],@x[$a0],@x[$b0])", 102 "&add (@x[$a1],@x[$a1],@x[$b1])", 105 "&xor (@x[$d0],@x[$d0],@x[$a0])", 106 "&xor (@x[$d1],@x[$d1],@x[$a1])", 114 "&add (@x[$c0],@x[$c0],@x[$d0])", 115 "&add (@x[$c1],@x[$c1],@x[$d1])", 118 "&xor (@x[$b0],@x[$b0],@x[$c0])", 127 "&add (@x[$a0],@x[$a0],@x[$b0])", 131 "&xor (@x[$d0],@x[$d0],@x[$a0])", 140 "&add (@x[$c0],@x[$c0],@x[$d0])", [all …]
|
H A D | chachap10-ppc.pl | 117 "&vxor (@x[$d0],@x[$d0],@x[$a0])", 118 "&vxor (@x[$d1],@x[$d1],@x[$a1])", 119 "&vxor (@x[$d2],@x[$d2],@x[$a2])", 120 "&vxor (@x[$d3],@x[$d3],@x[$a3])", 130 "&vxor (@x[$b0],@x[$b0],@x[$c0])", 131 "&vxor (@x[$b1],@x[$b1],@x[$c1])", 132 "&vxor (@x[$b2],@x[$b2],@x[$c2])", 143 "&vxor (@x[$d0],@x[$d0],@x[$a0])", 144 "&vxor (@x[$d1],@x[$d1],@x[$a1])", 145 "&vxor (@x[$d2],@x[$d2],@x[$a2])", [all …]
|
H A D | chacha-s390x.pl | 161 vx (@x[$d0],@x[$d0],@x[$a0]); 164 vx (@x[$d1],@x[$d1],@x[$a1]); 167 vx (@x[$d2],@x[$d2],@x[$a2]); 170 vx (@x[$d3],@x[$d3],@x[$a3]); 174 vx (@x[$b0],@x[$b0],@x[$c0]); 177 vx (@x[$b1],@x[$b1],@x[$c1]); 180 vx (@x[$b2],@x[$b2],@x[$c2]); 183 vx (@x[$b3],@x[$b3],@x[$c3]); 187 vx (@x[$d0],@x[$d0],@x[$a0]); 190 vx (@x[$d1],@x[$d1],@x[$a1]); [all …]
|
H A D | chacha-x86_64.pl | 1392 "&vpxor (@x[$d0],@x[$a0],@x[$d0])", 1393 "&vpxor (@x[$d1],@x[$a1],@x[$d1])", 1401 "&vpaddd (@x[$c0],@x[$c0],@x[$d0])", 1405 "&vpxor (@x[$b0],@x[$c0],@x[$b0])", 1406 "&vpxor (@x[$b1],@x[$c1],@x[$b1])", 1418 "&vpxor (@x[$d0],@x[$a0],@x[$d0])", 1419 "&vpxor (@x[$d1],@x[$a1],@x[$d1])", 1427 "&vpaddd (@x[$c0],@x[$c0],@x[$d0])", 1431 "&vpxor (@x[$b0],@x[$c0],@x[$b0])", 1432 "&vpxor (@x[$b1],@x[$c1],@x[$b1])", [all …]
|
/openssl/crypto/x509/ |
H A D | v3_purp.c | 356 x->crldp = X509_get_ext_d2i(x, NID_crl_distribution_points, &i, NULL); in setup_crldp() 361 int res = setup_dp(x, sk_DIST_POINT_value(x->crldp, i)); in setup_crldp() 426 if (!X509_digest(x, EVP_sha1(), x->sha1_hash, NULL)) in ossl_x509v3_cache_extensions() 493 x->ex_xkusage = 0; in ossl_x509v3_cache_extensions() 549 x->skid = X509_get_ext_d2i(x, NID_subject_key_identifier, &i, NULL); in ossl_x509v3_cache_extensions() 568 x->altname = X509_get_ext_d2i(x, NID_subject_alt_name, &i, NULL); in ossl_x509v3_cache_extensions() 571 x->nc = X509_get_ext_d2i(x, NID_name_constraints, &i, NULL); in ossl_x509v3_cache_extensions() 1068 return x->skid; in X509_get0_subject_key_id() 1076 return (x->akid != NULL ? x->akid->keyid : NULL); in X509_get0_authority_key_id() 1084 return (x->akid != NULL ? x->akid->issuer : NULL); in X509_get0_authority_issuer() [all …]
|
H A D | x509_ext.c | 19 int X509_CRL_get_ext_count(const X509_CRL *x) in X509_CRL_get_ext_count() argument 21 return X509v3_get_ext_count(x->crl.extensions); in X509_CRL_get_ext_count() 42 return X509v3_get_ext(x->crl.extensions, loc); in X509_CRL_get_ext() 47 return X509v3_delete_ext(x->crl.extensions, loc); in X509_CRL_delete_ext() 66 int X509_get_ext_count(const X509 *x) in X509_get_ext_count() argument 87 X509_EXTENSION *X509_get_ext(const X509 *x, int loc) in X509_get_ext() argument 92 X509_EXTENSION *X509_delete_ext(X509 *x, int loc) in X509_delete_ext() argument 114 int X509_REVOKED_get_ext_count(const X509_REVOKED *x) in X509_REVOKED_get_ext_count() argument 116 return X509v3_get_ext_count(x->extensions); in X509_REVOKED_get_ext_count() 137 return X509v3_get_ext(x->extensions, loc); in X509_REVOKED_get_ext() [all …]
|
H A D | x_x509a.c | 43 if (x == NULL) in aux_get() 45 if (x->aux == NULL && (x->aux = X509_CERT_AUX_new()) == NULL) in aux_get() 47 return x->aux; in aux_get() 54 if (!x || !x->aux || !x->aux->alias) in X509_alias_set1() 71 if (!x || !x->aux || !x->aux->keyid) in X509_keyid_set1() 87 if (!x->aux || !x->aux->alias) in X509_alias_get0() 96 if (!x->aux || !x->aux->keyid) in X509_keyid_get0() 148 if (x->aux) { in X509_trust_clear() 156 if (x->aux) { in X509_reject_clear() 164 if (x->aux != NULL) in STACK_OF() [all …]
|
H A D | x509_set.c | 24 if (x == NULL) in X509_set_version() 48 if (x == NULL) in X509_set_serialNumber() 59 if (x == NULL || !X509_NAME_set(&x->cert_info.issuer, name)) in X509_set_issuer_name() 67 if (x == NULL || !X509_NAME_set(&x->cert_info.subject, name)) in X509_set_subject_name() 91 if (x == NULL || tm == NULL) in X509_set1_notBefore() 99 if (x == NULL || tm == NULL) in X509_set1_notAfter() 107 if (x == NULL) in X509_set_pubkey() 115 int X509_up_ref(X509 *x) in X509_up_ref() argument 122 REF_PRINT_COUNT("X509", x); in X509_up_ref() 159 return x->cert_info.key; in X509_get_X509_PUBKEY() [all …]
|
H A D | x509_acert.c | 131 *psig = &x->signature; in X509_ACERT_get0_signature() 133 *palg = &x->sig_alg; in X509_ACERT_get0_signature() 138 return OBJ_obj2nid(x->sig_alg.algorithm); in X509_ACERT_get_signature_nid() 143 return x->acinfo->holder.entityName; in X509_ACERT_get0_holder_entityName() 153 return x->acinfo->holder.objectDigestInfo; in X509_ACERT_get0_holder_digest() 159 || x->acinfo->issuer.u.v2Form == NULL) in X509_ACERT_get0_issuerName() 167 return x->acinfo->issuerUID; in X509_ACERT_get0_issuerUID() 172 return &x->acinfo->signature; in X509_ACERT_get0_info_sigalg() 177 return &x->acinfo->serialNumber; in X509_ACERT_get0_serialNumber() 187 return x->acinfo->validityPeriod.notAfter; in X509_ACERT_get0_notAfter() [all …]
|
H A D | x509cset.c | 21 if (x == NULL) in X509_CRL_set_version() 29 x->crl.enc.modified = 1; in X509_CRL_set_version() 35 if (x == NULL) in X509_CRL_set_issuer_name() 39 x->crl.enc.modified = 1; in X509_CRL_set_issuer_name() 47 return ossl_x509_set1_time(&x->crl.enc.modified, &x->crl.lastUpdate, tm); in X509_CRL_set1_lastUpdate() 52 if (x == NULL) in X509_CRL_set1_nextUpdate() 54 return ossl_x509_set1_time(&x->crl.enc.modified, &x->crl.nextUpdate, tm); in X509_CRL_set1_nextUpdate() 144 return x->revocationDate; in X509_REVOKED_get0_revocationDate() 156 return &x->serialNumber; in X509_REVOKED_get0_serialNumber() 163 if (x == NULL) in X509_REVOKED_set_serialNumber() [all …]
|
H A D | x509_att.c | 58 if (x == NULL) { in X509at_get_attr() 71 if (x == NULL) { in X509at_delete_attr() 93 if (*x == NULL) { in STACK_OF() 99 sk = *x; in STACK_OF() 108 if (*x == NULL) in STACK_OF() 109 *x = sk; in STACK_OF() 113 if (*x == NULL) in STACK_OF() 125 if (*x != NULL && X509at_get_attr_by_OBJ(*x, attr->object, -1) != -1) { in STACK_OF() 161 if (*x != NULL && X509at_get_attr_by_OBJ(*x, obj, -1) != -1) { in STACK_OF() 191 if (x == NULL) { in STACK_OF() [all …]
|
/openssl/crypto/cast/ |
H A D | c_skey.c | 53 X[0] = ((x[0] << 24) | (x[1] << 16) | (x[2] << 8) | x[3]) & 0xffffffffL; in CAST_set_key() 60 l = X[0] ^ S4[x[13]] ^ S5[x[15]] ^ S6[x[12]] ^ S7[x[14]] ^ S6[x[8]]; in CAST_set_key() 83 K[4] = S4[x[3]] ^ S5[x[2]] ^ S6[x[12]] ^ S7[x[13]] ^ S4[x[8]]; in CAST_set_key() 84 K[5] = S4[x[1]] ^ S5[x[0]] ^ S6[x[14]] ^ S7[x[15]] ^ S5[x[13]]; in CAST_set_key() 85 K[6] = S4[x[7]] ^ S5[x[6]] ^ S6[x[8]] ^ S7[x[9]] ^ S6[x[3]]; in CAST_set_key() 86 K[7] = S4[x[5]] ^ S5[x[4]] ^ S6[x[10]] ^ S7[x[11]] ^ S7[x[7]]; in CAST_set_key() 88 l = X[0] ^ S4[x[13]] ^ S5[x[15]] ^ S6[x[12]] ^ S7[x[14]] ^ S6[x[8]]; in CAST_set_key() 111 K[12] = S4[x[8]] ^ S5[x[9]] ^ S6[x[7]] ^ S7[x[6]] ^ S4[x[3]]; in CAST_set_key() 112 K[13] = S4[x[10]] ^ S5[x[11]] ^ S6[x[5]] ^ S7[x[4]] ^ S5[x[7]]; in CAST_set_key() 113 K[14] = S4[x[12]] ^ S5[x[13]] ^ S6[x[3]] ^ S7[x[2]] ^ S6[x[8]]; in CAST_set_key() [all …]
|
/openssl/crypto/md5/asm/ |
H A D | md5-aarch64.pl | 49 eor x17, x12, x13 // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z) 59 eor x14, x16, x13 // End aux function round 1 F(x,y,z)=(((y^z)&x)^z) 66 eor x5, x11, x12 // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z) 69 eor x17, x8, x12 // End aux function round 1 F(x,y,z)=(((y^z)&x)^z) 76 eor x6, x4, x11 // Begin aux function round 1 F(x,y,z)=(((y^z)&x)^z) 79 eor x9, x8, x11 // End aux function round 1 F(x,y,z)=(((y^z)&x)^z) 89 eor x16, x7, x4 // End aux function round 1 F(x,y,z)=(((y^z)&x)^z) 107 eor x6, x16, x5 // End aux function round 1 F(x,y,z)=(((y^z)&x)^z) 117 eor x6, x16, x8 // End aux function round 1 F(x,y,z)=(((y^z)&x)^z) 127 eor x5, x6, x9 // End aux function round 1 F(x,y,z)=(((y^z)&x)^z) [all …]
|
/openssl/ssl/ |
H A D | ssl_txt.c | 28 ret = SSL_SESSION_print(b, x); in SSL_SESSION_print_fp() 40 if (x == NULL) in SSL_SESSION_print() 49 if (x->cipher == NULL) { in SSL_SESSION_print() 89 if (BIO_printf(bp, "%s", x->psk_identity ? x->psk_identity : "None") <= 0) in SSL_SESSION_print() 94 (bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") <= 0) in SSL_SESSION_print() 100 if (BIO_printf(bp, "%s", x->srp_username ? x->srp_username : "None") <= 0) in SSL_SESSION_print() 109 if (x->ext.tick) { in SSL_SESSION_print() 113 (bp, (const char *)x->ext.tick, (int)x->ext.ticklen, 4) in SSL_SESSION_print() 118 if (x->compress_meth != 0) { in SSL_SESSION_print() 175 if (x == NULL) in SSL_SESSION_print_keylog() [all …]
|
/openssl/providers/implementations/kdfs/ |
H A D | scrypt.c | 331 x[4] ^= R(x[0] + x[12], 7); in salsa208_word_specification() 332 x[8] ^= R(x[4] + x[0], 9); in salsa208_word_specification() 335 x[9] ^= R(x[5] + x[1], 7); in salsa208_word_specification() 336 x[13] ^= R(x[9] + x[5], 9); in salsa208_word_specification() 344 x[7] ^= R(x[3] + x[15], 9); in salsa208_word_specification() 347 x[1] ^= R(x[0] + x[3], 7); in salsa208_word_specification() 348 x[2] ^= R(x[1] + x[0], 9); in salsa208_word_specification() 349 x[3] ^= R(x[2] + x[1], 13); in salsa208_word_specification() 350 x[0] ^= R(x[3] + x[2], 18); in salsa208_word_specification() 351 x[6] ^= R(x[5] + x[4], 7); in salsa208_word_specification() [all …]
|
/openssl/crypto/ocsp/ |
H A D | ocsp_ext.c | 23 int OCSP_REQUEST_get_ext_count(OCSP_REQUEST *x) in OCSP_REQUEST_get_ext_count() argument 77 int OCSP_ONEREQ_get_ext_count(OCSP_ONEREQ *x) in OCSP_ONEREQ_get_ext_count() argument 128 int OCSP_BASICRESP_get_ext_count(OCSP_BASICRESP *x) in OCSP_BASICRESP_get_ext_count() argument 362 X509_EXTENSION *x = NULL; in OCSP_crlID_new() local 388 return x; in OCSP_crlID_new() 397 X509_EXTENSION *x = NULL; in OCSP_accept_responses_new() local 409 return x; in OCSP_accept_responses_new() 415 X509_EXTENSION *x = NULL; in OCSP_archive_cutoff_new() local 425 return x; in OCSP_archive_cutoff_new() 435 X509_EXTENSION *x = NULL; in OCSP_url_svcloc_new() local [all …]
|
/openssl/crypto/aes/asm/ |
H A D | bsaes-armv7.pl | 421 vext.8 @x[1], @x[1], @x[1], #8 430 vext.8 @x[4], @x[3], @x[3], #8 432 vext.8 @x[5], @x[7], @x[7], #8 434 vext.8 @x[3], @x[6], @x[6], #8 436 vext.8 @x[6], @x[2], @x[2], #8 467 veor @x[2], @x[2], @x[5] @ 2 5 468 veor @x[7], @x[7], @x[5] @ 7 5 472 veor @x[0], @x[0], @x[1] @ 0 1 474 veor @x[1], @x[1], @x[2] @ 1 25 479 veor @x[3], @x[3], @x[7] @ 3 75 [all …]
|
/openssl/ssl/quic/ |
H A D | uint_set.c | 69 for (x = ossl_list_uint_set_head(s); x != NULL; x = xnext) { in ossl_uint_set_destroy() 93 return x < y ? x : y; in u64_min() 98 return x > y ? x : y; in u64_max() 116 if (x == NULL) in create_set_item() 122 return x; in create_set_item() 136 if (x == NULL) in ossl_uint_set_insert() 157 if (x == NULL) in ossl_uint_set_insert() 174 for (x = ossl_list_uint_set_next(x); x != NULL; x = xnext) { in ossl_uint_set_insert() 320 UINT_SET_ITEM *x; in ossl_uint_set_query() local 325 for (x = ossl_list_uint_set_tail(s); x != NULL; x = ossl_list_uint_set_prev(x)) in ossl_uint_set_query() [all …]
|
/openssl/crypto/pem/ |
H A D | pem_pkey.c | 89 if (x != NULL) { in pem_read_bio_key_decoder() 91 *x = pkey; in pem_read_bio_key_decoder() 143 *x = ret; in pem_read_bio_key_legacy() 171 *x = ret; in pem_read_bio_key_legacy() 198 if (x) { in pem_read_bio_key_legacy() 200 *x = ret; in pem_read_bio_key_legacy() 323 if (x != NULL && (x->ameth == NULL || x->ameth->priv_encode != NULL)) in PEM_write_cb_ex_fnsig() 348 if (x == NULL) in PEM_write_bio_PrivateKey_traditional() 354 x = copy; in PEM_write_bio_PrivateKey_traditional() 356 if (x->ameth == NULL || x->ameth->old_priv_encode == NULL) { in PEM_write_bio_PrivateKey_traditional() [all …]
|
/openssl/crypto/aria/ |
H A D | aria.c | 1023 y->c[ 0] = x->c[ 3] ^ x->c[ 4] ^ x->c[ 6] ^ x->c[ 8] ^ in a() 1025 y->c[ 1] = x->c[ 2] ^ x->c[ 5] ^ x->c[ 7] ^ x->c[ 8] ^ in a() 1027 y->c[ 2] = x->c[ 1] ^ x->c[ 4] ^ x->c[ 6] ^ x->c[10] ^ in a() 1029 y->c[ 3] = x->c[ 0] ^ x->c[ 5] ^ x->c[ 7] ^ x->c[10] ^ in a() 1031 y->c[ 4] = x->c[ 0] ^ x->c[ 2] ^ x->c[ 5] ^ x->c[ 8] ^ in a() 1033 y->c[ 5] = x->c[ 1] ^ x->c[ 3] ^ x->c[ 4] ^ x->c[ 9] ^ in a() 1035 y->c[ 6] = x->c[ 0] ^ x->c[ 2] ^ x->c[ 7] ^ x->c[ 9] ^ in a() 1037 y->c[ 7] = x->c[ 1] ^ x->c[ 3] ^ x->c[ 6] ^ x->c[ 8] ^ in a() 1039 y->c[ 8] = x->c[ 0] ^ x->c[ 1] ^ x->c[ 4] ^ x->c[ 7] ^ in a() 1041 y->c[ 9] = x->c[ 0] ^ x->c[ 1] ^ x->c[ 5] ^ x->c[ 6] ^ in a() [all …]
|
/openssl/crypto/chacha/ |
H A D | chacha_enc.c | 33 # define ROTATE(x, n) ({ u32 ret; \ argument 36 : "r"(x), "i"(32 - (n))); ret;}) 40 # define ROTATE(x, n) ({ u32 ret; \ argument 43 : "r"(x), "i"(32 - (n))); ret;}) 58 x[a] += x[b], x[d] = ROTATE((x[d] ^ x[a]),16), \ 59 x[c] += x[d], x[b] = ROTATE((x[b] ^ x[c]),12), \ 60 x[a] += x[b], x[d] = ROTATE((x[d] ^ x[a]), 8), \ 61 x[c] += x[d], x[b] = ROTATE((x[b] ^ x[c]), 7) ) 67 u32 x[16]; in chacha20_core() local 71 memcpy(x, input, sizeof(x)); in chacha20_core() [all …]
|