hidnplayr
199ad2d9a4
Small speedup in modular exponentation routine (still not side channel resiliant)
...
git-svn-id: svn://kolibrios.org@9985 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-03-05 19:57:16 +00:00
553742f877
libcrash: sync with upstream.
...
* Implement new algorithms:
- MACs: Poly1305, HMAC (SHA2_256, SHA2_512),
- ciphers: ChaCha20, AES256CTR, AES256CBC.
* Remove MD4 hash.
* Change API (it happens).
* Update crashtest example.
git-svn-id: svn://kolibrios.org@9216 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-15 00:52:46 +00:00
hidnplayr
760d64a3cd
CP866->UTF8 input recode
...
git-svn-id: svn://kolibrios.org@9132 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-11 20:59:10 +00:00
hidnplayr
fa01917d38
Variable RSA key length
...
git-svn-id: svn://kolibrios.org@9126 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-08 14:03:26 +00:00
hidnplayr
9a1e9333b3
Add support for RSA host authentication with SHA2-512 algorithm.
...
git-svn-id: svn://kolibrios.org@9114 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-04 10:40:43 +00:00
hidnplayr
2b094111e9
Add support for RSA host authentication with SHA2-256 algorithm.
...
git-svn-id: svn://kolibrios.org@9113 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-04 10:12:48 +00:00
hidnplayr
33d98adcfa
Implemented local storage and checking of remote host keys. (only ssh-rsa for now)
...
Known public keys will be stored in /sys/settings/known_hosts.ini
git-svn-id: svn://kolibrios.org@9112 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-04 08:41:16 +00:00
hidnplayr
67b03ef814
Big refactor: separate backend from frontend. Prepare for dynamically negotiated algorithms etc.
...
New: RSA host authentication, use new con_get_input from console.lib to get escape codes from special keys, UTF8 to CP866 decoder, ..
Bugfix: CTR counters.
git-svn-id: svn://kolibrios.org@9106 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-02 18:40:01 +00:00
hidnplayr
ffdfe97ebd
MPINT: Less fiddling with bits and bytes, more performance.
...
git-svn-id: svn://kolibrios.org@9090 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-26 09:44:08 +00:00
hidnplayr
4f24fcab0f
Pad with 0 bytes before encryption is set, as not to leak any entropy of RNG.
...
Little improved RNG seeding.
Fixed bug in MAC counter for SSH transport.
git-svn-id: svn://kolibrios.org@9071 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-21 10:53:13 +00:00
hidnplayr
66f0a0e45d
SSH: Added user authentication. Fixed padding. Other bugfixes.
...
Changed hardcoded encryption mode from AES256-CBC to AES256-CTR.
Added blowfish encryption algorithm code.
MPINT: Improved multi precision math routines. Variable length MPINTS, leading zeroes allowed but not nescessary. Other bugfixes.
Added tests vectors for MPINT routines.
git-svn-id: svn://kolibrios.org@9070 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-20 20:14:53 +00:00
b51d135d5c
libcrash: Sync with upstream.
...
* Add oneshot wrappers.
* Move tables to data section.
* Add/rename macros and fix their use in ssh.
git-svn-id: svn://kolibrios.org@7698 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-10-21 22:33:41 +00:00
hidnplayr
40a8f693e4
SSH: revised Multi Precision Integer routines, additional HMAC types.
...
git-svn-id: svn://kolibrios.org@6922 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-06-11 11:06:56 +00:00
hidnplayr
a70850fad6
Working encryption and HMAC for transport, use libcrash for sha256 (and more to come), placed connection variables in separate struct, fixed bug in aes256_cbc_decode where IV was wrong when in- and output buffer were the same.
...
git-svn-id: svn://kolibrios.org@6469 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-10 16:20:49 +00:00
pathoswithin
97bb3982a6
small speedup
...
git-svn-id: svn://kolibrios.org@6423 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-05-10 19:33:26 +00:00
hidnplayr
f119560b2d
SSH client part 1: Diffie hellman group exchange.
...
git-svn-id: svn://kolibrios.org@6419 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-05-07 10:42:31 +00:00