Rev 9987 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9987 | Rev 9990 | ||
---|---|---|---|
Line 107... | Line 107... | ||
107 | include 'sshlib.inc' |
107 | include 'sshlib.inc' |
Line 108... | Line 108... | ||
108 | 108 | ||
109 | include 'sshlib_mcodes.inc' |
109 | include 'sshlib_mcodes.inc' |
110 | include 'sshlib_transport.inc' |
110 | include 'sshlib_transport.inc' |
- | 111 | include 'sshlib_transport_hmac.inc' |
|
111 | include 'sshlib_transport_hmac.inc' |
112 | include 'sshlib_transport_hmac_etm.inc' |
112 | include 'sshlib_transport_polychacha.inc' |
113 | include 'sshlib_transport_polychacha.inc' |
113 | include 'sshlib_connection.inc' |
114 | include 'sshlib_connection.inc' |
114 | include 'sshlib_dh_gex.inc' |
115 | include 'sshlib_dh_gex.inc' |
115 | include 'sshlib_host.inc' |
116 | include 'sshlib_host.inc' |
Line 475... | Line 476... | ||
475 | 476 | ||
476 | 477 | ||
477 | ssh_ident_ha: |
478 | ssh_ident_ha: |
478 | dd_n (ssh_msg_ident.length-2) |
479 | dd_n (ssh_msg_ident.length-2) |
479 | ssh_msg_ident: |
480 | ssh_msg_ident: |
Line 480... | Line 481... | ||
480 | db "SSH-2.0-KolibriOS_SSH_0.10",13,10 |
481 | db "SSH-2.0-KolibriOS_SSH_0.11",13,10 |
481 | .length = $ - ssh_msg_ident |
482 | .length = $ - ssh_msg_ident |
482 | 483 | ||
483 | 484 | ||
484 | ssh_msg_kex: |
485 | ssh_msg_kex: |
485 | db SSH_MSG_KEXINIT |
486 | db SSH_MSG_KEXINIT |
486 | .cookie: |
487 | .cookie: |
487 | rd 4 |
488 | rd 4 |
488 | .kex_algorithms: |
489 | .kex_algorithms: |
489 | str "diffie-hellman-group-exchange-sha256" ; diffie-hellman-group-exchange-sha1 |
490 | str "diffie-hellman-group-exchange-sha256" |
490 | .server_host_key_algorithms: |
491 | .server_host_key_algorithms: |
491 | str "rsa-sha2-512,rsa-sha2-256,ssh-rsa" ;,ssh-dss |
492 | str "rsa-sha2-512,rsa-sha2-256" ;ssh-rsa,ssh-dss |
492 | .encryption_algorithms_client_to_server: |
493 | .encryption_algorithms_client_to_server: |
493 | str "chacha20-poly1305@openssh.com" ;aes256-ctr,aes256-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes192-ctr,aes192-cbc,aes128-ctr,aes128-cbc,blowfish-ctr,blowfish-cbc,3des-ctr,3des-cbc,arcfour256,arcfour128" |
494 | str "aes256-ctr";,aes256-cbc,chacha20-poly1305@openssh.com" ;aes192-ctr,aes192-cbc,aes128-ctr,aes128-cbc ? |
494 | .encryption_algorithms_server_to_client: |
495 | .encryption_algorithms_server_to_client: |
495 | str "chacha20-poly1305@openssh.com" ;aes256-ctr,aes256-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes192-ctr,aes192-cbc,aes128-ctr,aes128-cbc,blowfish-ctr,blowfish-cbc,3des-ctr,3des-cbc,arcfour256,arcfour128" |
496 | str "aes256-ctr";,aes256-cbc,chacha20-poly1305@openssh.com" ;aes192-ctr,aes192-cbc,aes128-ctr,aes128-cbc ? |
496 | .mac_algorithms_client_to_server: |
497 | .mac_algorithms_client_to_server: |
497 | str "hmac-sha2-256" ;,hmac-sha1,hmac-sha1-96,hmac-md5" |
498 | str "hmac-sha2-256-etm@openssh.com";,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512" |
498 | .mac_algorithms_server_to_client: |
499 | .mac_algorithms_server_to_client: |
499 | str "hmac-sha2-256" ;,hmac-sha1,hmac-sha1-96,hmac-md5" |
500 | str "hmac-sha2-256-etm@openssh.com";,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512" |
500 | .compression_algorithms_client_to_server: |
501 | .compression_algorithms_client_to_server: |
501 | str "none" ;,zlib" |
502 | str "none" ;zlib ? |
502 | .compression_algorithms_server_to_client: |
503 | .compression_algorithms_server_to_client: |
503 | str "none" ;,zlib" |
504 | str "none" ;zlib ? |
504 | .languages_client_to_server: |
505 | .languages_client_to_server: |
Line 609... | Line 610... | ||
609 | con_get_flags, 'con_get_flags', \ |
610 | con_get_flags, 'con_get_flags', \ |
610 | con_set_title, 'con_set_title', \ |
611 | con_set_title, 'con_set_title', \ |
611 | con_get_input, 'con_get_input' |
612 | con_get_input, 'con_get_input' |
Line 612... | Line 613... | ||
612 | 613 | ||
- | 614 | import libcrash, \ |
|
- | 615 | crash.init, "lib_init", \ |
|
- | 616 | crash.hash, "crash_hash", \ |
|
- | 617 | crash.mac, "crash_mac", \ |
|
- | 618 | crash.crypt, "crash_crypt", \ |
|
- | 619 | crash.hash_oneshot, "crash_hash_oneshot", \ |
|
- | 620 | crash.mac_oneshot, "crash_mac_oneshot", \ |
|
- | 621 | crash.crypt_oneshot, "crash_crypt_oneshot", \ |
|
- | 622 | \ |
|
- | 623 | crc32.init, "crc32_init", \ |
|
- | 624 | crc32.update, "crc32_update", \ |
|
- | 625 | crc32.finish, "crc32_finish", \ |
|
- | 626 | crc32.oneshot, "crc32_oneshot", \ |
|
- | 627 | md5.init, "md5_init", \ |
|
- | 628 | md5.update, "md5_update", \ |
|
- | 629 | md5.finish, "md5_finish", \ |
|
- | 630 | md5.oneshot, "md5_oneshot", \ |
|
- | 631 | sha1.init, "sha1_init", \ |
|
- | 632 | sha1.update, "sha1_update", \ |
|
- | 633 | sha1.finish, "sha1_finish", \ |
|
- | 634 | sha1.oneshot, "sha1_oneshot", \ |
|
- | 635 | sha2_224.init, "sha2_224_init", \ |
|
- | 636 | sha2_224.update, "sha2_224_update", \ |
|
- | 637 | sha2_224.finish, "sha2_224_finish", \ |
|
- | 638 | sha2_224.oneshot, "sha2_224_oneshot", \ |
|
- | 639 | sha2_256.init, "sha2_256_init", \ |
|
- | 640 | sha2_256.update, "sha2_256_update", \ |
|
- | 641 | sha2_256.finish, "sha2_256_finish", \ |
|
- | 642 | sha2_256.oneshot, "sha2_256_oneshot", \ |
|
- | 643 | sha2_384.init, "sha2_384_init", \ |
|
- | 644 | sha2_384.update, "sha2_384_update", \ |
|
- | 645 | sha2_384.finish, "sha2_384_finish", \ |
|
613 | import libcrash, \ |
646 | sha2_384.oneshot, "sha2_384_oneshot", \ |
614 | sha2_512_init, 'sha2_512_init', \ |
647 | sha2_512.init, "sha2_512_init", \ |
615 | sha2_512_update, 'sha2_512_update', \ |
648 | sha2_512.update, "sha2_512_update", \ |
- | 649 | sha2_512.finish, "sha2_512_finish", \ |
|
- | 650 | sha2_512.oneshot, "sha2_512_oneshot", \ |
|
- | 651 | sha3_224.init, "sha3_224_init", \ |
|
- | 652 | sha3_224.update, "sha3_224_update", \ |
|
- | 653 | sha3_224.finish, "sha3_224_finish", \ |
|
616 | sha2_512_finish, 'sha2_512_finish',\ |
654 | sha3_224.oneshot, "sha3_224_oneshot", \ |
617 | sha2_256_init, 'sha2_256_init', \ |
655 | sha3_256.init, "sha3_256_init", \ |
618 | sha2_256_update, 'sha2_256_update', \ |
656 | sha3_256.update, "sha3_256_update", \ |
- | 657 | sha3_256.finish, "sha3_256_finish", \ |
|
619 | sha2_256_finish, 'sha2_256_finish',\ |
658 | sha3_256.oneshot, "sha3_256_oneshot", \ |
620 | sha1_init, 'sha1_init', \ |
659 | sha3_384.init, "sha3_384_init", \ |
621 | sha1_update, 'sha1_update', \ |
660 | sha3_384.update, "sha3_384_update", \ |
- | 661 | sha3_384.finish, "sha3_384_finish", \ |
|
622 | sha1_finish, 'sha1_finish', \ |
662 | sha3_384.oneshot, "sha3_384_oneshot", \ |
623 | chacha20_init, 'chacha20_init' , \ |
663 | sha3_512.init, "sha3_512_init", \ |
- | 664 | sha3_512.update, "sha3_512_update", \ |
|
624 | chacha20_update, 'chacha20_update', \ |
665 | sha3_512.finish, "sha3_512_finish", \ |
- | 666 | sha3_512.oneshot, "sha3_512_oneshot", \ |
|
625 | chacha20_oneshot, 'chacha20_oneshot', \ |
667 | \ |
626 | poly1305_init, 'poly1305_init', \ |
668 | poly1305.init, "poly1305_init", \ |
627 | poly1305_update, 'poly1305_update', \ |
669 | poly1305.update, "poly1305_update", \ |
628 | poly1305_finish, 'poly1305_finish', \ |
670 | poly1305.finish, "poly1305_finish", \ |
- | 671 | poly1305.oneshot, "poly1305_oneshot", \ |
|
- | 672 | hmac_sha2_256.init, "hmac_sha2_256_init", \ |
|
- | 673 | hmac_sha2_256.update, "hmac_sha2_256_update", \ |
|
- | 674 | hmac_sha2_256.finish, "hmac_sha2_256_finish", \ |
|
- | 675 | hmac_sha2_256.oneshot, "hmac_sha2_256_oneshot", \ |
|
- | 676 | hmac_sha2_512.init, "hmac_sha2_512_init", \ |
|
- | 677 | hmac_sha2_512.update, "hmac_sha2_512_update", \ |
|
- | 678 | hmac_sha2_512.finish, "hmac_sha2_512_finish", \ |
|
- | 679 | hmac_sha2_512.oneshot, "hmac_sha2_512_oneshot", \ |
|
- | 680 | \ |
|
- | 681 | chacha20.init, "chacha20_init", \ |
|
- | 682 | chacha20.update, "chacha20_update", \ |
|
- | 683 | chacha20.finish, "chacha20_finish", \ |
|
629 | poly1305_oneshot, 'poly1305_oneshot', \ |
684 | chacha20.oneshot, "chacha20_oneshot", \ |
630 | aes256ctr.init, "aes256ctr_init", \ |
685 | aes256ctr.init, "aes256ctr_init", \ |
631 | aes256ctr.update, "aes256ctr_update", \ |
686 | aes256ctr.update, "aes256ctr_update", \ |
632 | aes256ctr.finish, "aes256ctr_finish", \ |
687 | aes256ctr.finish, "aes256ctr_finish", \ |
633 | aes256ctr.oneshot, "aes256ctr_oneshot", \ |
688 | aes256ctr.oneshot, "aes256ctr_oneshot", \ |
634 | hmac_sha2_256.init_, "hmac_sha2_256_init", \ |
689 | aes256cbc.init, "aes256cbc_init", \ |
635 | hmac_sha2_256.update_, "hmac_sha2_256_update", \ |
690 | aes256cbc.update, "aes256cbc_update", \ |
636 | hmac_sha2_256.finish_, "hmac_sha2_256_finish", \ |
691 | aes256cbc.finish, "aes256cbc_finish", \ |
Line 637... | Line 692... | ||
637 | hmac_sha2_256.oneshot, "hmac_sha2_256_oneshot" |
692 | aes256cbc.oneshot, "aes256cbc_oneshot" |
638 | 693 | ||
639 | import libini, \ |
694 | import libini, \ |