Home
last modified time | relevance | path

Searched refs:s3 (Results 1 – 25 of 62) sorted by relevance

123

/openssl/crypto/camellia/
H A Dcamellia.c288 register u32 s0, s1, s2, s3; in Camellia_Ekeygen() local
293 k[3] = s3 = GETU32(rawKey + 12); in Camellia_Ekeygen()
300 k[11] = s3 = ~s1; in Camellia_Ekeygen()
338 k[26] = s2, k[27] = s3; in Camellia_Ekeygen()
407 register u32 s0, s1, s2, s3; in Camellia_EncryptBlock_Rounds() local
413 s3 = GETU32(plaintext + 12) ^ k[3]; in Camellia_EncryptBlock_Rounds()
435 s2 ^= s3 | k[3]; in Camellia_EncryptBlock_Rounds()
444 PUTU32(ciphertext + 4, s3); in Camellia_EncryptBlock_Rounds()
460 u32 s0, s1, s2, s3; in Camellia_DecryptBlock_Rounds() local
488 s2 ^= s3 | k[1]; in Camellia_DecryptBlock_Rounds()
[all …]
/openssl/crypto/ec/asm/
H A Decp_sm2p256-armv8.pl41 adcs $s3,$s3,$s7
66 csel $s3,$s3,$t3,cc
87 sbcs $s3,$s3,$s7
134 lsr $s3,$s3,#1
152 adc $s3,$s3,$s7
194 lsr $s3,$s3,#1
219 sbc $s3,$s3,$s7
266 adcs $s3,$s3,$s3
281 sbcs $s3,$s3,$s7
296 adcs $s3,$s3,$s7
[all …]
/openssl/crypto/aes/asm/
H A Daes-armv4.pl254 rev $s3,$s3
265 rev $s3,$s3
320 eor $s3,$s3,$i1
383 eor $s3,$s3,$t3
442 eor $s3,$s3,$t3
535 rev $s3,$s3
1030 rev $s3,$s3
1041 rev $s3,$s3
1096 eor $s3,$s3,$i1
1159 eor $s3,$s3,$t3
[all …]
H A Daes-s390x.pl1166 rll $s3,$s3,24
1911 alcgr $s3,$s3
1914 lrvgr $s3,$s3
1920 llgfr $s3,$s3
1962 alcgr $s3,$s3
1965 lrvgr $s3,$s3
1971 llgfr $s3,$s3
2154 alcgr $s3,$s3
2157 lrvgr $s3,$s3
2163 llgfr $s3,$s3
[all …]
H A Daes-ppc.pl547 xor $s3,$s3,$t3
667 or $s3,$s3,$acc15
671 xor $s3,$s3,$t3
697 xor $s3,$s3,$t3
747 or $s3,$s3,$acc15
816 xor $s3,$s3,$t3
1025 xor $s3,$s3,$t3
1149 xor $s3,$s3,$t3
1181 xor $s3,$s3,$t3
1401 rotrwi $s3,$s3,8
[all …]
H A Daes-586.pl210 $s3="edx";
347 &mov ($v0,$s3);
361 &mov ($s3,&DWP(0,$te,$s3,8)); # 12
2090 &sub ($s3,$s1);
2094 &sub ($s3,$s0);
2096 &add ($s3,384);
2111 &mov ($s3,&DWP(20,$s3)); # load enc flag
2150 &cmp ($s3,0);
2363 &mov ($s3,&DWP(20,$s3)); # load enc flag
2374 &cmp ($s3,0);
[all …]
H A Daes-parisc.pl125 vshd $s3,$t1,$s3
211 xor $t3,$s3,$s3
351 xor $acc13,$s3,$s3
354 xor $acc14,$s3,$s3
356 xor $acc15,$s3,$s3
445 xor $acc15,$s3,$s3
594 vshd $s3,$t1,$s3
680 xor $t3,$s3,$s3
820 xor $acc13,$s3,$s3
822 xor $acc14,$s3,$s3
[all …]
H A Daes-mips.pl146 xor $s3,$t3
158 ext $i1,$s3,8,8
165 ext $i0,$s3,0,8
225 xor $s3,$t3
249 ext $t5,$s3,8,8
429 xor $s3,$t3
631 xor $s3,$t3
750 xor $s3,$t3
829 xor $s3,$t3
1033 xor $s3,$t3
[all …]
H A Daes-x86_64.pl61 $s3="%edx";
123 shr \$16,$s3
156 xor $t3,$s3
187 shr \$16,$s3
246 xor $t3,$s3
444 xor $t3,$s3
520 lea ($s3,$s3),$r21
532 mov $s3,$t3
549 xor $t3,$s3
553 xor $t3,$s3
[all …]
H A Daes-sparcv9.pl218 xor $t3,$s3,$s3
402 xor $acc13,$s3,$s3
405 xor $acc14,$s3,$s3
406 xor $acc15,$s3,$s3
515 xor $acc13,$s3,$s3
516 xor $acc14,$s3,$s3
517 xor $acc15,$s3,$s3
764 xor $t3,$s3,$s3
948 xor $acc13,$s3,$s3
951 xor $acc14,$s3,$s3
[all …]
/openssl/ssl/
H A Ds3_enc.c103 ciph = s->s3.tmp.new_sym_enc; in ssl3_change_cipher_state()
104 md = s->s3.tmp.new_hash; in ssl3_change_cipher_state()
114 p = s->s3.tmp.key_block; in ssl3_change_cipher_state()
181 s->s3.tmp.new_sym_enc = c; in ssl3_setup_key_block()
183 s->s3.tmp.new_hash = hash; in ssl3_setup_key_block()
205 s->s3.tmp.key_block = p; in ssl3_setup_key_block()
215 OPENSSL_clear_free(s->s3.tmp.key_block, s->s3.tmp.key_block_length); in ssl3_cleanup_key_block()
216 s->s3.tmp.key_block = NULL; in ssl3_cleanup_key_block()
229 s->s3.handshake_buffer = buf; in ssl3_init_finished_mac()
242 s->s3.handshake_buffer = NULL; in ssl3_free_digest_list()
[all …]
H A Dt1_enc.c133 c = s->s3.tmp.new_sym_enc; in tls1_change_cipher_state()
134 m = s->s3.tmp.new_hash; in tls1_change_cipher_state()
137 comp = s->s3.tmp.new_compression; in tls1_change_cipher_state()
140 p = s->s3.tmp.key_block; in tls1_change_cipher_state()
169 if (n > s->s3.tmp.key_block_length) { in tls1_change_cipher_state()
266 if (s->s3.tmp.key_block_length != 0) in tls1_setup_key_block()
278 s->s3.tmp.new_sym_enc = c; in tls1_setup_key_block()
279 ssl_evp_md_free(s->s3.tmp.new_hash); in tls1_setup_key_block()
280 s->s3.tmp.new_hash = hash; in tls1_setup_key_block()
298 s->s3.tmp.key_block_length = num; in tls1_setup_key_block()
[all …]
H A Ds3_msg.c22 if (s->s3.tmp.key_block == NULL) { in ssl3_do_change_cipher_spec()
29 s->session->cipher = s->s3.tmp.new_cipher; in ssl3_do_change_cipher_spec()
64 s->s3.alert_dispatch = SSL_ALERT_DISPATCH_PENDING; in ssl3_send_alert()
65 s->s3.send_alert[0] = level; in ssl3_send_alert()
66 s->s3.send_alert[1] = desc; in ssl3_send_alert()
90 sc->s3.alert_dispatch = SSL_ALERT_DISPATCH_NONE; in ssl3_dispatch_alert()
103 templ.buf = &sc->s3.send_alert[0]; in ssl3_dispatch_alert()
124 sc->s3.alert_dispatch = SSL_ALERT_DISPATCH_NONE; in ssl3_dispatch_alert()
132 sc->s3.alert_dispatch = SSL_ALERT_DISPATCH_RETRY; in ssl3_dispatch_alert()
142 sc->s3.alert_dispatch = SSL_ALERT_DISPATCH_NONE; in ssl3_dispatch_alert()
[all …]
H A Dd1_msg.c51 s->s3.alert_dispatch = SSL_ALERT_DISPATCH_NONE; in dtls1_dispatch_alert()
54 *ptr++ = s->s3.send_alert[0]; in dtls1_dispatch_alert()
55 *ptr++ = s->s3.send_alert[1]; in dtls1_dispatch_alert()
59 s->s3.alert_dispatch = 1; in dtls1_dispatch_alert()
65 s->msg_callback(1, s->version, SSL3_RT_ALERT, s->s3.send_alert, in dtls1_dispatch_alert()
74 j = (s->s3.send_alert[0] << 8) | s->s3.send_alert[1]; in dtls1_dispatch_alert()
H A Ds3_lib.c3413 sc->s3.peer_tmp = NULL; in ssl3_free()
3415 sc->s3.tmp.pkey = NULL; in ssl3_free()
3423 OPENSSL_clear_free(sc->s3.tmp.pms, sc->s3.tmp.pmslen); in ssl3_free()
3438 memset(&sc->s3, 0, sizeof(sc->s3)); in ssl3_free()
3453 OPENSSL_clear_free(sc->s3.tmp.pms, sc->s3.tmp.pmslen); in ssl3_clear()
3471 memset(&sc->s3, 0, sizeof(sc->s3)); in ssl3_clear()
3472 sc->s3.flags |= flags; in ssl3_clear()
4564 if (sc->s3.renegotiate) in ssl3_write()
4581 if (sc->s3.renegotiate) in ssl3_read_internal()
4626 sc->s3.renegotiate = 1; in ssl3_renegotiate()
[all …]
H A Dt1_lib.c1884 s->s3.tmp.peer_sigalg = lu; in tls1_set_peer_legacy_sigalg()
2135 s->s3.tmp.peer_sigalg = lu; in tls12_check_peer_sigalg()
2159 if (sc->s3.tmp.sigalg == NULL) in SSL_get_signature_type_nid()
2177 s->s3.tmp.mask_a = 0; in ssl_set_client_disabled()
2178 s->s3.tmp.mask_k = 0; in ssl_set_client_disabled()
2217 if (s->s3.tmp.max_ver == 0) in ssl_cipher_disabled()
2264 if (s->s3.tmp.valid_flags) in tls1_set_server_sigalgs()
3902 s->s3.tmp.cert = NULL; in tls_choose_sigalg()
3903 s->s3.tmp.sigalg = NULL; in tls_choose_sigalg()
4033 s->cert->key = s->s3.tmp.cert; in tls_choose_sigalg()
[all …]
/openssl/crypto/sm3/asm/
H A Dsm3-armv8.pl37 my $s3 = shift;
48 sm3partw1 $s4.4s, $s0.4s, $s3.4s
92 my $s3 = shift;
154 rev32 $s3.16b, $s3.16b
160 $s0,$s1,$s2,$s3,$s4);
162 $s1,$s2,$s3,$s4,$s0);
164 $s2,$s3,$s4,$s0,$s1);
166 $s3,$s4,$s0,$s1,$s2);
173 $s4,$s0,$s1,$s2,$s3);
175 $s0,$s1,$s2,$s3,$s4);
[all …]
/openssl/crypto/aes/
H A Daes_x86core.c661 u32 s0, s1, s2, s3, t[4]; in AES_encrypt() local
720 Te3[(s3 >> 24) ] ^ in AES_encrypt()
724 Te2[(s3 >> 16) & 0xff] ^ in AES_encrypt()
728 Te1[(s3 >> 8) & 0xff] ^ in AES_encrypt()
875 u32 s0, s1, s2, s3, t[4]; in AES_decrypt() local
943 Td1[(s3 >> 8) & 0xff] ^ in AES_decrypt()
949 Td2[(s3 >> 16) & 0xff] ^ in AES_decrypt()
955 Td3[(s3 >> 24) ] ^ in AES_decrypt()
1020 Td1[(s3 >> 8) & 0xff] ^ in AES_decrypt()
1026 Td2[(s3 >> 16) & 0xff] ^ in AES_decrypt()
[all …]
H A Daes_core.c1452 s3 = GETU32(in + 12) ^ rk[3]; in AES_encrypt()
1534 Te3[(s3 ) & 0xff] ^ in AES_encrypt()
1539 Te2[(s3 >> 8) & 0xff] ^ in AES_encrypt()
1544 Te1[(s3 >> 16) & 0xff] ^ in AES_encrypt()
1578 s3 = in AES_encrypt()
1611 s3 = in AES_encrypt()
1617 PUTU32(out + 12, s3); in AES_encrypt()
1644 s3 = GETU32(in + 12) ^ rk[3]; in AES_decrypt()
1770 s3 = in AES_decrypt()
1803 s3 = in AES_decrypt()
[all …]
/openssl/ssl/statem/
H A Dextensions_srvr.c432 s->s3.npn_seen = 1; in tls_parse_ctos_npn()
467 s->s3.alpn_proposed = NULL; in tls_parse_ctos_alpn()
468 s->s3.alpn_proposed_len = 0; in tls_parse_ctos_alpn()
470 &s->s3.alpn_proposed, &s->s3.alpn_proposed_len)) { in tls_parse_ctos_alpn()
673 if (s->s3.group_id != 0 in tls_parse_ctos_key_share()
1391 if (s->s3.group_id == 0) in tls_construct_stoc_supported_groups()
1510 s->s3.npn_seen = 0; in tls_construct_stoc_next_proto_neg()
1522 s->s3.npn_seen = 1; in tls_construct_stoc_next_proto_neg()
1725 s->s3.tmp.pkey = skey; in tls_construct_stoc_key_share()
1763 if (ssl_gensecret(s, s->s3.tmp.pms, s->s3.tmp.pmslen) == 0) { in tls_construct_stoc_key_share()
[all …]
H A Dstatem_clnt.c2627 if (!PACKET_memdup(&ctypes, &s->s3.tmp.ctype, &s->s3.tmp.ctype_len)) { in tls_process_certificate_request()
3137 s->s3.tmp.pms = pms; in tls_construct_cke_rsa()
3350 s->s3.tmp.pms = pms; in tls_construct_cke_gost()
3486 s->s3.tmp.pms = pms; in tls_construct_cke_gost18()
3567 OPENSSL_clear_free(s->s3.tmp.pms, s->s3.tmp.pmslen); in tls_construct_client_key_exchange()
3568 s->s3.tmp.pms = NULL; in tls_construct_client_key_exchange()
3569 s->s3.tmp.pmslen = 0; in tls_construct_client_key_exchange()
3571 OPENSSL_clear_free(s->s3.tmp.psk, s->s3.tmp.psklen); in tls_construct_client_key_exchange()
3572 s->s3.tmp.psk = NULL; in tls_construct_client_key_exchange()
3573 s->s3.tmp.psklen = 0; in tls_construct_client_key_exchange()
[all …]
H A Dstatem_srvr.c289 if (s->s3.npn_seen) { in ossl_statem_server_read_transition()
394 if (sc->s3.tmp.cert == NULL) in get_compressed_certificate_alg()
2944 s->s3.tmp.psklen = 0; in tls_process_cke_psk_preamble()
2949 s->s3.tmp.psklen = psklen; in tls_process_cke_psk_preamble()
3068 skey = s->s3.tmp.pkey; in tls_process_cke_dhe()
3101 s->s3.tmp.pkey = NULL; in tls_process_cke_dhe()
3156 s->s3.tmp.pkey = NULL; in tls_process_cke_ecdhe()
3445 OPENSSL_clear_free(s->s3.tmp.psk, s->s3.tmp.psklen); in tls_process_client_key_exchange()
3446 s->s3.tmp.psk = NULL; in tls_process_client_key_exchange()
3447 s->s3.tmp.psklen = 0; in tls_process_client_key_exchange()
[all …]
H A Dstatem_lib.c236 memset(s->s3.client_random, 0, sizeof(s->s3.client_random)); in tls_setup_handshake()
239 s->s3.tmp.cert_req = 0; in tls_setup_handshake()
601 s->s3.handshake_buffer = NULL; in tls_process_cert_verify()
679 memcpy(s->s3.previous_client_finished, s->s3.tmp.finish_md, in tls_construct_finished()
683 memcpy(s->s3.previous_server_finished, s->s3.tmp.finish_md, in tls_construct_finished()
765 s->s3.tmp.peer_finish_md_len = in ssl3_take_mac()
809 s->s3.change_cipher_spec = 1; in tls_process_change_cipher_spec()
874 s->s3.change_cipher_spec = 0; in tls_process_finished()
905 memcpy(s->s3.previous_client_finished, s->s3.tmp.peer_finish_md, in tls_process_finished()
909 memcpy(s->s3.previous_server_finished, s->s3.tmp.peer_finish_md, in tls_process_finished()
[all …]
H A Dextensions_clnt.c442 s->s3.alpn_sent = 0; in tls_construct_ctos_alpn()
456 s->s3.alpn_sent = 1; in tls_construct_ctos_alpn()
673 s->s3.group_id = curve_id; in add_key_share()
678 if (s->s3.tmp.pkey == NULL) in add_key_share()
710 if (s->s3.group_id != 0) { in tls_construct_ctos_key_share()
1622 s->s3.npn_seen = 1; in tls_parse_stoc_npn()
1636 if (!s->s3.alpn_sent) { in tls_parse_stoc_alpn()
1704 OPENSSL_memdup(s->s3.alpn_selected, s->s3.alpn_selected_len); in tls_parse_stoc_alpn()
1885 s->s3.tmp.pkey = NULL; in tls_parse_stoc_key_share()
1953 s->s3.peer_tmp = skey; in tls_parse_stoc_key_share()
[all …]
/openssl/crypto/camellia/asm/
H A Dcmll-x86.pl892 &shl ($s3,6);
893 &lea ($s3,&DWP(0,$s0,$s3));
894 &mov ($_end,$s3);
914 &bswap ($s3);
925 &bswap ($s3);
986 &shl ($s3,6);
987 &lea ($s3,&DWP(0,$s0,$s3));
1006 &bswap ($s3);
1017 &bswap ($s3);
1083 &bswap ($s3);
[all …]

Completed in 460 milliseconds

123